Bug#871343: dummydroid: FTBFS

2018-09-16 Thread Hans Joachim Desserud

Control: tags -1 patch

I am unable to reproduce the original FTBFS issue and error message 
here.

The current version of maven-assembly-plugin in Unstable has since been
updated to 3.1.0 so that might have changed something. There's also the
fact that a new version of dummydroid has been uploaded to Unstable, so
either (or both) of these might have resolved it.

However, dummydroid currently fails to build due to a different issue.
It seems to be missing a build dependency on junit (see attached patch)
With this in place, I was able to successfully build dummydroid in a
pbuilder environment.

So while the original issue is no longer reproducible, the package
still suffers from FTBFS without the attached patch. Presumably
this issue could be closed when the patch is added and the package
builds successfully again? :)

--
mvh / best regards
Hans Joachim Desserud
http://desserud.orgdiff --git a/debian/control b/debian/control
index a89aff6..5c5c06a 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends: cdbs,
debhelper (>= 9),
default-jdk,
javahelper,
+   junit,
libmaven-assembly-plugin-java,
libprotobuf-java,
maven-debian-helper (>= 1.5~)


Bug#871343: dummydroid: FTBFS: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single (make-assembly) on project dummydroid: [1;31

2017-08-07 Thread Lucas Nussbaum
Source: dummydroid
Version: 1.1-1
Severity: serious
Tags: buster sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20170807 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> /usr/share/maven-debian-helper/copy-repo.sh /<>/debian
> mh_patchpoms -pdummydroid --debian-build --keep-pom-version 
> --maven-repo=/<>/debian/maven-repo  --build-no-docs
> touch debian/stamp-poms-patched
> jh_linkjars
> jh_build -J   
> touch debian/jh_build_stamp
> # before-build target may be used to unpatch the pom files, so we need to 
> check if
> # patching the pom files is needed here, normally not
> if [ ! -f pom.xml.save ]; then \
>   /usr/bin/make -f debian/rules patch-poms; \
> fi
> cd . && /usr/lib/jvm/default-java/bin/java -noverify -cp 
> /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.jar
>   -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dmaven.home=/usr/share/maven 
> -Dmaven.multiModuleProjectDirectory=/<> 
> org.codehaus.plexus.classworlds.launcher.Launcher 
> -s/etc/maven/settings-debian.xml 
> -Dmaven.repo.local=/<>/debian/maven-repo  package -DskipTests
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] 
> 
> [INFO] Building DummyDroid 1.1
> [INFO] 
> 
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.2:resources 
> (default-resources) @ dummydroid ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile 
> (default-compile) @ dummydroid ---
> [WARNING] The POM for 
> org.codehaus.plexus:plexus-compiler-api:jar:2.x is invalid, transitive 
> dependencies (if any) will not be available, enable debug logging for more 
> details
> [WARNING] The POM for 
> org.codehaus.plexus:plexus-compiler-javac:jar:2.x is invalid, transitive 
> dependencies (if any) will not be available, enable debug logging for more 
> details
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 34 source files to /<>/target/classes
> Use of target 1.5 is no longer supported, switching to 1.7
> Use of source 1.5 is no longer supported, switching to 1.7
> [INFO] 
> /<>/src/main/java/com/akdeniz/googleplaycrawler/GooglePlayAPI.java:
>  Some input files use or override a deprecated API.
> [INFO] 
> /<>/src/main/java/com/akdeniz/googleplaycrawler/GooglePlayAPI.java:
>  Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.2:testResources 
> (default-testResources) @ dummydroid ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory 
> /<>/src/test/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile 
> (default-testCompile) @ dummydroid ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 1 source file to 
> /<>/target/test-classes
> Use of target 1.5 is no longer supported, switching to 1.7
> Use of source 1.5 is no longer supported, switching to 1.7
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.19.1:test 
> (default-test) @ dummydroid ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar 
> (default-jar) @ dummydroid ---
> [INFO] Building jar: /<>/target/DummyDroid-1.1.jar
> [INFO] 
> [INFO] --- maven-assembly-plugin:3.0.0:single 
> (make-assembly) @ dummydroid ---
> [WARNING] Artifact: de.onyxbits:dummydroid:jar:1.1 references the 
> same file as the assembly destination file. Moving it to a temporary location 
> for inclusion.
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 5.913 s
> [INFO] Finished at: 2017-08-07T12:58:52Z
> [INFO] Final Memory: 29M/1012M
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single 
>