Bug#869013: sisu-guice: FTBFS: find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No such file or directory

Lucas Nussbaum lucas at debian.org
Thu Jul 20 05:42:50 UTC 2017


Source: sisu-guice
Version: 3.2.6-3
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170719 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
> dh build --buildsystem=maven
>    dh_testdir -O--buildsystem=maven
>    dh_update_autotools_config -O--buildsystem=maven
>    dh_auto_configure -O--buildsystem=maven
> find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compiler/*/*.jar': No such file or directory
> find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-compilers/*/*.jar': No such file or directory
> find: '/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No such file or directory
> 	mh_patchpoms -plibsisu-guice-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
>    dh_auto_build -O--buildsystem=maven
> 	/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 -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.sonatype.sisu.inject:guice-testlib:jar:3.2.6
> [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ org.sonatype.sisu.inject:guice-testlib:[unknown-version], /<<PKGBUILDDIR>>/extensions/testlib/pom.xml, line 18, column 15
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
> [WARNING] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] Sisu Guice
> [INFO] Sisu Guice - Bill of Materials
> [INFO] Sisu Guice - Core Library
> [INFO] Sisu Guice - Extensions
> [INFO] Sisu Guice - Extensions - AssistedInject
> [INFO] Sisu Guice - Extensions - TestLib
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Sisu Guice 3.2.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Sisu Guice - Bill of Materials 3.2.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Sisu Guice - Core Library 3.2.6
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ sisu-guice ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ sisu-guice ---
> [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 193 source files to /<<PKGBUILDDIR>>/core/target/classes
> [INFO] /<<PKGBUILDDIR>>/core/src/com/google/inject/internal/Errors.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/core/src/com/google/inject/internal/Errors.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/core/src/com/google/inject/internal/ProvisionListenerStackCallback.java: Some input files use unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/core/src/com/google/inject/internal/ProvisionListenerStackCallback.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ sisu-guice ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ sisu-guice ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ sisu-guice ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (default) @ sisu-guice ---
> [INFO] maven-bundle-plugin 2.3.5 compatibility enabled
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ sisu-guice ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/core/target/sisu-guice-3.2.6.jar
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:test-jar (default) @ sisu-guice ---
> [INFO] Skipping packaging of the test-jar
> [INFO] 
> [INFO] --- jarjar-maven-plugin:1.9:jarjar (jarjar) @ sisu-guice ---
> [INFO] Processing: /<<PKGBUILDDIR>>/core/target/sisu-guice-3.2.6.jar
> [INFO] Building zip: /<<PKGBUILDDIR>>/core/target/jarjar/uber-sisu-guice-3.2.6.jar
> [INFO] JarJar'ing to: /<<PKGBUILDDIR>>/core/target/sisu-guice-3.2.6.jar
> Error reading module-info.class: RemappingClassAdapter is deprecated, use ClassRemapper instead
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] Sisu Guice ......................................... SUCCESS [  0.001 s]
> [INFO] Sisu Guice - Bill of Materials ..................... SUCCESS [  0.000 s]
> [INFO] Sisu Guice - Core Library .......................... FAILURE [  3.585 s]
> [INFO] Sisu Guice - Extensions ............................ SKIPPED
> [INFO] Sisu Guice - Extensions - AssistedInject ........... SKIPPED
> [INFO] Sisu Guice - Extensions - TestLib .................. SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3.702 s
> [INFO] Finished at: 2017-07-19T11:37:40Z
> [INFO] Final Memory: 25M/783M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.sonatype.plugins:jarjar-maven-plugin:1.9:jarjar (jarjar) on project sisu-guice: Unable to JarJar: /<<PKGBUILDDIR>>/core/target/sisu-guice-3.2.6.jar cause: RemappingClassAdapter is deprecated, use ClassRemapper instead -> [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/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :sisu-guice
> dh_auto_build: /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 -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> debian/rules:8: recipe for target 'build' failed
> make: *** [build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/07/19/sisu-guice_3.2.6-3_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 pkg-java-maintainers mailing list