Bug#890592: jruby FTBFS: Could not resolve dependencies for project org.jruby:jruby-core:jar:9.1.13.0

Adrian Bunk bunk at debian.org
Fri Feb 16 12:36:19 UTC 2018


Source: jruby
Version: 9.1.13.0-1
Severity: serious
Control: affects -1 src:jruby-openssl src:mustache-java src:yecht

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/jruby.html

...
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/1st/jruby-9.1.13.0'
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=/build/1st/jruby-9.1.13.0 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/jruby-9.1.13.0/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/jruby-9.1.13.0/debian -Dmaven.repo.local=/build/1st/jruby-9.1.13.0/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] JRuby
[INFO] JRuby Core
[INFO] JRuby Lib Setup
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building JRuby 9.1.13.0
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building JRuby Core 9.1.13.0
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for net.java.dev.jna:jna:jar:debian is missing, no dependency information available
[WARNING] The POM for net.java.dev.jna:jna-platform:jar:debian is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] JRuby .............................................. SUCCESS [  0.232 s]
[INFO] JRuby Core ......................................... FAILURE [  4.201 s]
[INFO] JRuby Lib Setup .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.695 s
[INFO] Finished at: 2018-02-11T21:03:57-12:00
[INFO] Final Memory: 17M/724M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project jruby-core: Could not resolve dependencies for project org.jruby:jruby-core:jar:9.1.13.0: The following artifacts could not be resolved: net.java.dev.jna:jna:jar:debian, net.java.dev.jna:jna-platform:jar:debian: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact net.java.dev.jna:jna:jar:debian has not been downloaded from it before. -> [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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :jruby-core
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=/build/1st/jruby-9.1.13.0 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/build/1st/jruby-9.1.13.0/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/build/1st/jruby-9.1.13.0/debian -Dmaven.repo.local=/build/1st/jruby-9.1.13.0/debian/maven-repo --batch-mode package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
debian/rules:37: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 1


There are similar FTBFS in some b-rdeps.

This is a recent regression, I'd suspect some changes related to ruby 2.3 -> 2.5.



More information about the pkg-java-maintainers mailing list