Your message dated Thu, 24 Aug 2017 18:14:33 +0100
with message-id <20170824171433.ga30...@alice.nomadium.lan>
and subject line Re: jnr-unixsocket: FTBFS: find: 
'/usr/share/maven-repo/org/codehaus/plexus/plexus-containers/*/*.jar': No such 
file or directory
has caused the Debian Bug report #869006,
regarding jnr-unixsocket: FTBFS: 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
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
869006: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869006
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: jnr-unixsocket
Version: 0.18-2
Severity: serious
Tags: buster sid
User: debian...@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.

--- End Message ---
--- Begin Message ---
On Thu, Jul 20, 2017 at 07:39:41AM +0200, Lucas Nussbaum wrote:
> Source: jnr-unixsocket
> Version: 0.18-2
> Severity: serious
> Tags: buster sid
> User: debian...@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.
> 

The root cause of this bug was that several Maven plugins were
still depending on libplexus-utils-java and were pulling an incompatible
jar file during build time.

I updated the following packages (migrating their dependency on
libplexus-utils-java to libplexus-utils2-java) so jnr-unixsocket/0.18-2
can build again in sid:

maven-assembly-plugin/3.0.0-2
maven-bundle-plugin/2.5.4-5
maven-source-plugin/3.0.1-2

This issue should be fixed now.

-- 
Miguel Landaeta, nomadium at debian.org
secure email with PGP 0x6E608B637D8967E9 available at http://miguel.cc/key.
"Faith means not wanting to know what is true." -- Nietzsche

Attachment: signature.asc
Description: Digital signature


--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to