Source: ruby-rjb Version: 1.5.5 Severity: normal User: debian-j...@lists.debian.org Usertags: default-java9
This package fails to build with default-jdk pointing to openjdk-9-jdk. Please fix it, so that we can start the transition to Java 9. The wiki has some common problems and their solutions: https://wiki.debian.org/Java/Java9Pitfalls I can't see anything wrong in the build log, but it's obviously totally broken, as every test fails with: Build log: make[2]: Leaving directory '/build/ruby-rjb-1.5.5/ext' current directory: /build/ruby-rjb-1.5.5/ext make V=1 "DESTDIR=" make[2]: Entering directory '/build/ruby-rjb-1.5.5/ext' mkdir -p ../data/rjb/jp/co/infoseek/hp/arton/rjb javac -d ../data/rjb RBridge.java javah -classpath ../data/rjb jp.co.infoseek.hp.arton.rjb.RBridge Warning: The javah tool is planned to be removed in the next major JDK release. The tool has been superseded by the '-h' option added to javac in JDK 8. Users are recommended to migrate to using the javac '-h' option; see the javac man page for more information. gcc -I. -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I"/usr/lib/jvm/default-java/include" -I"/usr/lib/jvm/default-java/include/linux" -DRUBY_EXTCONF_H=\"extconf.h\" -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -g -O2 -fdebug-prefix-map=/build/ruby2.3-8Td9HM/ruby2.3-2.3.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I"/usr/lib/jvm/default-java/include" -I"/usr/lib/jvm/default-java/include/linux" -o load.o -c load.c gcc -I. -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I"/usr/lib/jvm/default-java/include" -I"/usr/lib/jvm/default-java/include/linux" -DRUBY_EXTCONF_H=\"extconf.h\" -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -g -O2 -fdebug-prefix-map=/build/ruby2.3-8Td9HM/ruby2.3-2.3.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I"/usr/lib/jvm/default-java/include" -I"/usr/lib/jvm/default-java/include/linux" -o riconv.o -c riconv.c gcc -I. -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I"/usr/lib/jvm/default-java/include" -I"/usr/lib/jvm/default-java/include/linux" -DRUBY_EXTCONF_H=\"extconf.h\" -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -g -O2 -fdebug-prefix-map=/build/ruby2.3-8Td9HM/ruby2.3-2.3.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I"/usr/lib/jvm/default-java/include" -I"/usr/lib/jvm/default-java/include/linux" -o rjb.o -c rjb.c gcc -I. -I/usr/include/x86_64-linux-gnu/ruby-2.3.0 -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -I"/usr/lib/jvm/default-java/include" -I"/usr/lib/jvm/default-java/include/linux" -DRUBY_EXTCONF_H=\"extconf.h\" -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -g -O2 -fdebug-prefix-map=/build/ruby2.3-8Td9HM/ruby2.3-2.3.3=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I"/usr/lib/jvm/default-java/include" -I"/usr/lib/jvm/default-java/include/linux" -o rjbexception.o -c rjbexception.c rm -f rjbcore.so gcc -shared -o rjbcore.so load.o riconv.o rjb.o rjbexception.o -L. -L/usr/lib/x86_64-linux-gnu -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm -lc make[2]: Leaving directory '/build/ruby-rjb-1.5.5/ext' current directory: /build/ruby-rjb-1.5.5/ext make V=1 "DESTDIR=" install make[2]: Entering directory '/build/ruby-rjb-1.5.5/ext' /bin/mkdir -p . ./.gem.20170830-1886-13oh83z exit > .RUBYARCHDIR.time /usr/bin/install -c -m 0755 rjbcore.so ./.gem.20170830-1886-13oh83z make[2]: Leaving directory '/build/ruby-rjb-1.5.5/ext' To see why this extension failed to compile, please check the mkmf.log which can be found here: /build/ruby-rjb-1.5.5/debian/ruby-rjb/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.3.0/mkmf.log rm -f /build/ruby-rjb-1.5.5/debian/ruby-rjb/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.3.0/mkmf.log ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ └──────────────────────────────────────────────────────────────────────────────┘ generating gemspec at /build/ruby-rjb-1.5.5/debian/ruby-rjb/usr/share/rubygems-integration/2.3.0/specifications/rjb-1.5.5.gemspec /usr/bin/ruby2.3 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.3 from debian/ruby-tests.rb │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-rjb-1.5.5/debian/ruby-rjb/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/2.3.0:/build/ruby-rjb-1.5.5/debian/ruby-rjb/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-rjb/usr/share/rubygems-integration/2.3.0:/root/.gem/ruby/2.3.0:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 debian/ruby-tests.rb start RJB(1.5.5) test Loaded suite debian/ruby-tests Started E =============================================================================== Error: test_64fixnum(TestRjb): RuntimeError: Constants DL and Fiddle is not defined. /build/ruby-rjb-1.5.5/debian/ruby-rjb/usr/lib/ruby/vendor_ruby/rjb.rb:79:in `load' /build/ruby-rjb-1.5.5/debian/ruby-rjb/usr/lib/ruby/vendor_ruby/rjb.rb:79:in `load' /build/ruby-rjb-1.5.5/test/test.rb:21:in `setup' =============================================================================== E Cheers, Chris.