Bug#849217: jruby: FTBFS (sbuild hangs)

Santiago Vila sanvila at unex.es
Fri Dec 23 17:49:41 UTC 2016


Package: src:jruby
Version: 1.7.26-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=maven
   dh_testdir -i -O--buildsystem=maven
   dh_update_autotools_config -i -O--buildsystem=maven
   dh_auto_configure -i -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 -pjruby --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
[ERROR] Cannot find parent dependency org.jruby:jruby-artifacts:pom:1.7.26, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency org.jruby:jruby-artifacts:pom:1.7.26, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency org.jruby:jruby-ext:pom:1.7.26, use --no-parent option to resolve this issue or install the parent POM in the Maven repository
[ERROR] Cannot find parent dependency org.jruby:jruby-artifacts:pom:1.7.26, use --no-parent option to resolve this issue or install the parent POM in the Maven repository

[... snipped ...]

[INFO] JRuby .............................................. SUCCESS [  0.002 s]
[INFO] JRuby Core ......................................... SUCCESS [02:37 min]
[INFO] JRuby Ext .......................................... SUCCESS [  0.001 s]
[INFO] JRuby Readline ..................................... SUCCESS [  0.514 s]
[INFO] JRuby Ripper ....................................... SUCCESS [  0.107 s]
[INFO] JRuby Lib Setup .................................... SUCCESS [  0.000 s]
[INFO] JRuby Integration Tests ............................ SUCCESS [  2.547 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:41 min
[INFO] Finished at: 2016-12-17T19:33:45+01:00
[INFO] Final Memory: 17M/90M
[INFO] ------------------------------------------------------------------------
./bin/jruby spec/mspec/bin/mspec ci
jruby 1.7.26 (1.9.3p551) 2016-11-12 fffffff on OpenJDK 64-Bit Server VM 1.8.0_111-8u111-b14-3-b14 +jit [linux-amd64]
......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
 .........................................................................................................................................................................................................................................................................................................NoMethodError: undefined method `daemon' for Process:Module
  daemon_at_exit at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:55
             run at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:11
          (root) at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:111
NoMethodError: undefined method `daemon' for Process:Module
  keep_stdio_open_false_stdout at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:64
                           run at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:11
                        (root) at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:111
NoMethodError: undefined method `daemon' for Process:Module
  keep_stdio_open_false_stderr at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:69
                           run at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:11
                        (root) at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:111
NoMethodError: undefined method `daemon' for Process:Module
  keep_stdio_open_false_stdout at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:64
                           run at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:11
                        (root) at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:111
NoMethodError: undefined method `daemon' for Process:Module
  keep_stdio_open_false_stderr at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:69
                           run at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:11
                        (root) at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:111
NoMethodError: undefined method `daemon' for Process:Module
  keep_stdio_open_false_stdout at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:64
                           run at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:11
                        (root) at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:111
NoMethodError: undefined method `daemon' for Process:Module
  keep_stdio_open_false_stderr at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:69
                           run at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:11
                        (root) at /<<PKGBUILDDIR>>/spec/ruby/core/process/fixtures/daemon.rb:111
.....................................................................................................................................................................The signal EXIT is in use by the JVM and will not work correctly on this platform
..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
E: Build killed with signal TERM after 60 minutes of inactivity
--------------------------------------------------------------------------------

In this case, sbuild aborted the build because it detected too much
time without log activity, which is what happens when the build hangs.

If you need a full build log, just say so and I will include it,
but the build also hangs in the reproducible builds autobuilders:

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

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.

Thanks.



More information about the pkg-java-maintainers mailing list