[Android-tools-devel] Bug#871343: dummydroid: FTBFS: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single ?=(make-assembly)=?UTF-8?Q? on project dummydroid: Execution make-assembly of goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single failed: A required class was missing while executing org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single: org/codehaus/plexus/util/MatchPatterns

Lucas Nussbaum lucas at debian.org
Mon Aug 7 15:48:27 UTC 2017


Source: dummydroid
Version: 1.1-1
Severity: serious
Tags: buster sid
User: debian-qa at 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 /<<PKGBUILDDIR>>/debian
> mh_patchpoms -pdummydroid --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/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=/<<PKGBUILDDIR>> org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Dmaven.repo.local=/<<PKGBUILDDIR>>/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 /<<PKGBUILDDIR>>/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] /<<PKGBUILDDIR>>/src/main/java/com/akdeniz/googleplaycrawler/GooglePlayAPI.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/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 /<<PKGBUILDDIR>>/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 /<<PKGBUILDDIR>>/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: /<<PKGBUILDDIR>>/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 (make-assembly) on project dummydroid: Execution make-assembly of goal org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single failed: A required class was missing while executing org.apache.maven.plugins:maven-assembly-plugin:3.0.0:single: org/codehaus/plexus/util/MatchPatterns
> Cleaning up unclosed ZipFile for archive /<<PKGBUILDDIR>>/debian/maven-repo/com/google/protobuf/protobuf-java/3.0.0/protobuf-java-3.0.0.jar
> [ERROR] -----------------------------------------------------
> [ERROR] realm =    plugin>org.apache.maven.plugins:maven-assembly-plugin:3.0.0
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/apache/maven/plugins/maven-assembly-plugin/3.0.0/maven-assembly-plugin-3.0.0.jar
> [ERROR] urls[1] = file:/<<PKGBUILDDIR>>/debian/maven-repo/javax/enterprise/cdi-api/debian/cdi-api-debian.jar
> [ERROR] urls[2] = file:/<<PKGBUILDDIR>>/debian/maven-repo/javax/el/javax.el-api/3.0/javax.el-api-3.0.jar
> [ERROR] urls[3] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/apache/geronimo/specs/geronimo-interceptor_3.0_spec/debian/geronimo-interceptor_3.0_spec-debian.jar
> [ERROR] urls[4] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/eclipse/sisu/org.eclipse.sisu.inject/debian/org.eclipse.sisu.inject-debian.jar
> [ERROR] urls[5] = file:/<<PKGBUILDDIR>>/debian/maven-repo/com/google/inject/guice/debian/guice-debian.jar
> [ERROR] urls[6] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/apache/maven/maven-builder-support/3.x/maven-builder-support-3.x.jar
> [ERROR] urls[7] = file:/<<PKGBUILDDIR>>/debian/maven-repo/com/google/guava/guava/debian/guava-debian.jar
> [ERROR] urls[8] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/apache/maven/resolver/maven-resolver-util/debian/maven-resolver-util-debian.jar
> [ERROR] urls[9] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/apache/maven/shared/maven-shared-utils/debian/maven-shared-utils-debian.jar
> [ERROR] urls[10] = file:/<<PKGBUILDDIR>>/debian/maven-repo/com/google/inject/guice/debian/guice-debian-no_aop.jar
> [ERROR] urls[11] = file:/<<PKGBUILDDIR>>/debian/maven-repo/aopalliance/aopalliance/debian/aopalliance-debian.jar
> [ERROR] urls[12] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
> [ERROR] urls[13] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/sonatype/plexus/plexus-sec-dispatcher/debian/plexus-sec-dispatcher-debian.jar
> [ERROR] urls[14] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/sonatype/plexus/plexus-cipher/debian/plexus-cipher-debian.jar
> [ERROR] urls[15] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/apache/commons/commons-lang3/debian/commons-lang3-debian.jar
> [ERROR] urls[16] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/apache/maven/shared/maven-common-artifact-filters/debian/maven-common-artifact-filters-debian.jar
> [ERROR] urls[17] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar
> [ERROR] urls[18] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/sonatype/sisu/inject/guice-bean-scanners/debian/guice-bean-scanners-debian.jar
> [ERROR] urls[19] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/sonatype/sisu/inject/guice-bean-reflect/debian/guice-bean-reflect-debian.jar
> [ERROR] urls[20] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/sonatype/sisu/sisu-guice/debian/sisu-guice-debian.jar
> [ERROR] urls[21] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/apache/maven/shared/maven-artifact-transfer/debian/maven-artifact-transfer-debian.jar
> [ERROR] urls[22] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/eclipse/aether/aether-util/debian/aether-util-debian.jar
> [ERROR] urls[23] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/apache/maven/plugin-tools/maven-plugin-annotations/debian/maven-plugin-annotations-debian.jar
> [ERROR] urls[24] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/codehaus/plexus/plexus-interpolation/debian/plexus-interpolation-debian.jar
> [ERROR] urls[25] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/codehaus/plexus/plexus-archiver/debian/plexus-archiver-debian.jar
> [ERROR] urls[26] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/apache/commons/commons-compress/debian/commons-compress-debian.jar
> [ERROR] urls[27] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/xerial/snappy/snappy-java/debian/snappy-java-debian.jar
> [ERROR] urls[28] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/tukaani/xz/debian/xz-debian.jar
> [ERROR] urls[29] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/apache/maven/shared/file-management/debian/file-management-debian.jar
> [ERROR] urls[30] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/apache/maven/shared/maven-shared-io/debian/maven-shared-io-debian.jar
> [ERROR] urls[31] = file:/<<PKGBUILDDIR>>/debian/maven-repo/commons-io/commons-io/debian/commons-io-debian.jar
> [ERROR] urls[32] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/apache/maven/shared/maven-filtering/debian/maven-filtering-debian.jar
> [ERROR] urls[33] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/sonatype/plexus/plexus-build-api/debian/plexus-build-api-debian.jar
> [ERROR] urls[34] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/codehaus/plexus/plexus-io/debian/plexus-io-debian.jar
> [ERROR] urls[35] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/apache/maven/maven-archiver/debian/maven-archiver-debian.jar
> [ERROR] urls[36] = file:/<<PKGBUILDDIR>>/debian/maven-repo/org/codehaus/plexus/plexus-utils/debian/plexus-utils-debian.jar
> [ERROR] urls[37] = file:/<<PKGBUILDDIR>>/debian/maven-repo/commons-codec/commons-codec/debian/commons-codec-debian.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
> [ERROR] 
> [ERROR] -----------------------------------------------------
> [ERROR] : org.codehaus.plexus.util.MatchPatterns
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
> /usr/share/cdbs/1/class/maven.mk:92: recipe for target 'mvn-build' failed
> make: *** [mvn-build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/08/07/dummydroid_1.1-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Android-tools-devel mailing list