Hi Lunar, Chris West: > 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'
FWIW I see exactly the same error ("Constants DL and Fiddle is not defined") when trying to run the Tails test suite (that uses rjb) on current sid. This package is marked for autoremoval from testing on 31 March due to that bug. In an up-to-date sid chroot it seems that the build now fails much earlier: dh build --buildsystem=ruby --with ruby dh_update_autotools_config -O--buildsystem=ruby dh_auto_configure -O--buildsystem=ruby dh_ruby --configure debian/rules override_dh_auto_build make[1]: Entering directory '/build/ruby-rjb-1.5.5' mkdir -p $(dirname test/jp/co/infoseek/hp/arton/rjb/Test.class) mkdir -p $(dirname test/jp/co/infoseek/hp/arton/rjb/IBase.class) mkdir -p $(dirname test/jp/co/infoseek/hp/arton/rjb/Base.class) mkdir -p $(dirname test/jp/co/infoseek/hp/arton/rjb/ExtBase.class) LC_ALL=C.UTF-8 javac -classpath test -d test test/Test.java LC_ALL=C.UTF-8 javac -classpath test -d test test/IBase.java LC_ALL=C.UTF-8 javac -classpath test -d test test/ExtBase.java LC_ALL=C.UTF-8 javac -classpath test -d test test/Base.java test/ExtBase.java:5: error: cannot find symbol public class ExtBase extends Base { ^ symbol: class Base 1 error make[1]: *** [debian/rules:24: test/jp/co/infoseek/hp/arton/rjb/ExtBase.class] Error 1 make[1]: *** Waiting for unfinished jobs.... test/Base.java:23: error: cannot find symbol System.out.println(intf(IBase.class)); ^ symbol: class IBase location: class Base 1 error make[1]: *** [debian/rules:23: test/jp/co/infoseek/hp/arton/rjb/Base.class] Error 1 Note: test/Test.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. make[1]: Leaving directory '/build/ruby-rjb-1.5.5' make: *** [debian/rules:8: build] Error 2 But re-running dpkg-buildpackage allows the build of the extension to complete (I guess something's wrong in dependency ordering in debian/rules, or something). And then the same error as Chris reported happens again. That failure happens when our replacement for the load method calls the original one: https://salsa.debian.org/ruby-team/ruby-rjb/blob/master/debian/patches/0005-Fill-JAVA_HOME-with-a-sensible-value-if-not-set-when.patch But dropping that patch does not change anything. Cheers, -- intrigeri