Bug#869006: jnr-unixsocket: 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:39:41 UTC 2017


Source: jnr-unixsocket
Version: 0.18-2
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 --with javahelper
>    dh_testdir -O--buildsystem=maven
>    dh_update_autotools_config -O--buildsystem=maven
>    dh_autoreconf -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 -plibjnr-unixsocket-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
>    jh_linkjars -O--buildsystem=maven
>    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 org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo package javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building jnr-unixsocket 0.18
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:resources (default-resources) @ jnr-unixsocket ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:compile (default-compile) @ jnr-unixsocket ---
> [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!
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 17 source files to /<<PKGBUILDDIR>>/target/classes
> [INFO] /<<PKGBUILDDIR>>/src/main/java/jnr/unixsocket/Common.java: /<<PKGBUILDDIR>>/src/main/java/jnr/unixsocket/Common.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/src/main/java/jnr/unixsocket/Common.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-bundle-plugin:2.5.4:manifest (bundle-manifest) @ jnr-unixsocket ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.0.0:testResources (default-testResources) @ jnr-unixsocket ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.6.1:testCompile (default-testCompile) @ jnr-unixsocket ---
> [INFO] Changes detected - recompiling the module!
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 10 source files to /<<PKGBUILDDIR>>/target/test-classes
> [INFO] /<<PKGBUILDDIR>>/src/test/java/jnr/unixsocket/UnixDatagramChannelTest.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/src/test/java/jnr/unixsocket/UnixDatagramChannelTest.java: Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ jnr-unixsocket ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ jnr-unixsocket ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/target/jnr-unixsocket-0.18.jar
> [INFO] 
> [INFO] --- maven-jar-plugin:3.0.2:jar (default) @ jnr-unixsocket ---
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Skipping jnr-unixsocket
> [INFO] This project has been banned from the build due to previous failures.
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.111 s
> [INFO] Finished at: 2017-07-19T11:57:19Z
> [INFO] Final Memory: 26M/791M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar (default) on project jnr-unixsocket: 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
> 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 javadoc:jar javadoc:aggregate -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> debian/rules:7: recipe for target 'build' failed
> make: *** [build] Error 2

The full build log is available from:
   http://aws-logs.debian.net/2017/07/19/jnr-unixsocket_0.18-2_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