Bug#869007: libslf4j-java: 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:40:01 UTC 2017
Source: libslf4j-java
Version: 1.7.25-1
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
> dh_testdir
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure
> 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 -plibslf4j-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
> 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 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
> [[1;34mINFO[m] Scanning for projects...
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.slf4j:slf4j-api:jar:1.7.25
> [[1;33mWARNING[m] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.slf4j:slf4j-simple:jar:1.7.25
> [[1;33mWARNING[m] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.slf4j:slf4j-nop:jar:1.7.25
> [[1;33mWARNING[m] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.slf4j:slf4j-jdk14:jar:1.7.25
> [[1;33mWARNING[m] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.slf4j:slf4j-log4j12:jar:1.7.25
> [[1;33mWARNING[m] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.slf4j:slf4j-jcl:jar:1.7.25
> [[1;33mWARNING[m] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.slf4j:jcl-over-slf4j:jar:1.7.25
> [[1;33mWARNING[m] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.slf4j:log4j-over-slf4j:jar:1.7.25
> [[1;33mWARNING[m] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.slf4j:jul-to-slf4j:jar:1.7.25
> [[1;33mWARNING[m] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.slf4j:slf4j-migrator:jar:1.7.25
> [[1;33mWARNING[m] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] Some problems were encountered while building the effective model for org.slf4j:slf4j-parent:pom:1.7.25
> [[1;33mWARNING[m] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter. @ line 180, column 20
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] It is highly recommended to fix these problems because they threaten the stability of your build.
> [[1;33mWARNING[m]
> [[1;33mWARNING[m] For this reason, future Maven versions might no longer support building such malformed projects.
> [[1;33mWARNING[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mReactor Build Order:[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] SLF4J
> [[1;34mINFO[m] SLF4J API Module
> [[1;34mINFO[m] SLF4J Simple Binding
> [[1;34mINFO[m] SLF4J NOP Binding
> [[1;34mINFO[m] SLF4J JDK14 Binding
> [[1;34mINFO[m] SLF4J LOG4J-12 Binding
> [[1;34mINFO[m] SLF4J JCL Binding
> [[1;34mINFO[m] JCL 1.2 implemented over SLF4J
> [[1;34mINFO[m] Log4j Implemented Over SLF4J
> [[1;34mINFO[m] JUL to SLF4J bridge
> [[1;34mINFO[m] SLF4J Migrator
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding SLF4J 1.7.25[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mbuild-helper-maven-plugin:1.8:parse-version[m [1m(parse-version)[m @ [36mslf4j-parent[0;1m ---[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding SLF4J API Module 1.7.25[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mbuild-helper-maven-plugin:1.8:parse-version[m [1m(parse-version)[m @ [36mslf4j-api[0;1m ---[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:resources[m [1m(default-resources)[m @ [36mslf4j-api[0;1m ---[m
> [[1;34mINFO[m] Using 'UTF-8' encoding to copy filtered resources.
> [[1;34mINFO[m] Copying 1 resource
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m @ [36mslf4j-api[0;1m ---[m
> [[1;33mWARNING[m] 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
> [[1;33mWARNING[m] 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
> [[1;34mINFO[m] Changes detected - recompiling the module!
> [[1;34mINFO[m] Compiling 32 source files to /<<PKGBUILDDIR>>/slf4j-api/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
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java: /<<PKGBUILDDIR>>/slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java uses or overrides a deprecated API.
> [[1;34mINFO[m] /<<PKGBUILDDIR>>/slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java: Recompile with -Xlint:deprecation for details.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-antrun-plugin:1.8:run[m [1m(default)[m @ [36mslf4j-api[0;1m ---[m
> [[1;33mWARNING[m] Parameter tasks is deprecated, use target instead
> [[1;34mINFO[m] Executing tasks
>
> main:
> [echo] Removing slf4j-api's dummy StaticLoggerBinder and StaticMarkerBinder
> [delete] Deleting directory /<<PKGBUILDDIR>>/slf4j-api/target/classes/org/slf4j/impl
> [[1;34mINFO[m] Executed tasks
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:3.0.0:testResources[m [1m(default-testResources)[m @ [36mslf4j-api[0;1m ---[m
> [[1;34mINFO[m] Using 'UTF-8' encoding to copy filtered resources.
> [[1;34mINFO[m] skip non existing resourceDirectory /<<PKGBUILDDIR>>/slf4j-api/src/test/resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:testCompile[m [1m(default-testCompile)[m @ [36mslf4j-api[0;1m ---[m
> [[1;34mINFO[m] Changes detected - recompiling the module!
> [[1;34mINFO[m] Compiling 15 source files to /<<PKGBUILDDIR>>/slf4j-api/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
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-surefire-plugin:2.17:test[m [1m(default-test)[m @ [36mslf4j-api[0;1m ---[m
> [[1;34mINFO[m] Tests are skipped.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-jar-plugin:3.0.2:jar[m [1m(default-jar)[m @ [36mslf4j-api[0;1m ---[m
> [[1;34mINFO[m] Building jar: /<<PKGBUILDDIR>>/slf4j-api/target/slf4j-api-1.7.25.jar
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-jar-plugin:3.0.2:jar[m [1m(bundle-test-jar)[m @ [36mslf4j-api[0;1m ---[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mReactor Summary:[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] SLF4J .............................................. [1;32mSUCCESS[m [ 0.155 s]
> [[1;34mINFO[m] SLF4J API Module ................................... [1;31mFAILURE[m [ 1.587 s]
> [[1;34mINFO[m] SLF4J Simple Binding ............................... [1;33mSKIPPED[m
> [[1;34mINFO[m] SLF4J NOP Binding .................................. [1;33mSKIPPED[m
> [[1;34mINFO[m] SLF4J JDK14 Binding ................................ [1;33mSKIPPED[m
> [[1;34mINFO[m] SLF4J LOG4J-12 Binding ............................. [1;33mSKIPPED[m
> [[1;34mINFO[m] SLF4J JCL Binding .................................. [1;33mSKIPPED[m
> [[1;34mINFO[m] JCL 1.2 implemented over SLF4J ..................... [1;33mSKIPPED[m
> [[1;34mINFO[m] Log4j Implemented Over SLF4J ....................... [1;33mSKIPPED[m
> [[1;34mINFO[m] JUL to SLF4J bridge ................................ [1;33mSKIPPED[m
> [[1;34mINFO[m] SLF4J Migrator ..................................... [1;33mSKIPPED[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1;31mBUILD FAILURE[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] Total time: 1.943 s
> [[1;34mINFO[m] Finished at: 2017-07-19T12:00:40Z
> [[1;34mINFO[m] Final Memory: 22M/787M
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-jar-plugin:3.0.2:jar[m [1m(bundle-test-jar)[m on project [36mslf4j-api[m: [1;31mYou have to use a classifier to attach supplemental artifacts to the project instead of replacing them.[m -> [1m[Help 1][m
> [[1;31mERROR[m]
> [[1;31mERROR[m] To see the full stack trace of the errors, re-run Maven with the [1m-e[m switch.
> [[1;31mERROR[m] Re-run Maven using the [1m-X[m switch to enable full debug logging.
> [[1;31mERROR[m]
> [[1;31mERROR[m] For more information about the errors and possible solutions, please read the following articles:
> [[1;31mERROR[m] [1m[Help 1][m http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [[1;31mERROR[m]
> [[1;31mERROR[m] After correcting the problems, you can resume the build with the command
> [[1;31mERROR[m] [1mmvn <goals> -rf :slf4j-api[m
> 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 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:4: recipe for target 'build' failed
> make: *** [build] Error 2
The full build log is available from:
http://aws-logs.debian.net/2017/07/19/libslf4j-java_1.7.25-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 pkg-java-maintainers
mailing list