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
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-api:jar:1.7.25
> [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-simple:jar:1.7.25
> [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-nop:jar:1.7.25
> [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-jdk14:jar:1.7.25
> [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-log4j12:jar:1.7.25
> [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-jcl:jar:1.7.25
> [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.slf4j:jcl-over-slf4j:jar:1.7.25
> [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.slf4j:log4j-over-slf4j:jar:1.7.25
> [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.slf4j:jul-to-slf4j:jar:1.7.25
> [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-migrator:jar:1.7.25
> [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter.
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective model for org.slf4j:slf4j-parent:pom:1.7.25
> [WARNING] Reporting configuration should be done in <reporting> section, not in maven-site-plugin <configuration> as reportPlugins parameter. @ line 180, column 20
> [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] SLF4J
> [INFO] SLF4J API Module
> [INFO] SLF4J Simple Binding
> [INFO] SLF4J NOP Binding
> [INFO] SLF4J JDK14 Binding
> [INFO] SLF4J LOG4J-12 Binding
> [INFO] SLF4J JCL Binding
> [INFO] JCL 1.2 implemented over SLF4J
> [INFO] Log4j Implemented Over SLF4J
> [INFO] JUL to SLF4J bridge
> [INFO] SLF4J Migrator
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building SLF4J 1.7.25
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ slf4j-parent ---
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building SLF4J API Module 1.7.25
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- build-helper-maven-plugin:1.8:parse-version (parse-version) @ slf4j-api ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ slf4j-api ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ slf4j-api ---
> [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 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
> [INFO] /<<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.
> [INFO] /<<PKGBUILDDIR>>/slf4j-api/src/main/java/org/slf4j/helpers/BasicMarker.java: Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-antrun-plugin:1.8:run (default) @ slf4j-api ---
> [WARNING] Parameter tasks is deprecated, use target instead
> [INFO] Executing tasks
> 
> main:
>      [echo] Removing slf4j-api's dummy StaticLoggerBinder and StaticMarkerBinder
>    [delete] Deleting directory /<<PKGBUILDDIR>>/slf4j-api/target/classes/org/slf4j/impl
> [INFO] Executed tasks
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ slf4j-api ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/slf4j-api/src/test/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ slf4j-api ---
> [INFO] Changes detected - recompiling the module!
> [INFO] 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
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ slf4j-api ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ slf4j-api ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/slf4j-api/target/slf4j-api-1.7.25.jar
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (bundle-test-jar) @ slf4j-api ---
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] SLF4J .............................................. SUCCESS [  0.155 s]
> [INFO] SLF4J API Module ................................... FAILURE [  1.587 s]
> [INFO] SLF4J Simple Binding ............................... SKIPPED
> [INFO] SLF4J NOP Binding .................................. SKIPPED
> [INFO] SLF4J JDK14 Binding ................................ SKIPPED
> [INFO] SLF4J LOG4J-12 Binding ............................. SKIPPED
> [INFO] SLF4J JCL Binding .................................. SKIPPED
> [INFO] JCL 1.2 implemented over SLF4J ..................... SKIPPED
> [INFO] Log4j Implemented Over SLF4J ....................... SKIPPED
> [INFO] JUL to SLF4J bridge ................................ SKIPPED
> [INFO] SLF4J Migrator ..................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1.943 s
> [INFO] Finished at: 2017-07-19T12:00:40Z
> [INFO] Final Memory: 22M/787M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar (bundle-test-jar) on project slf4j-api: You have to use a classifier to attach supplemental artifacts to the project instead of replacing them. -> [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 :slf4j-api
> 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