Bug#897664: ruby-rjb: FTBFS: make[2]: javah: Command not found

2018-05-07 Thread Chris Lamb
forwarded 897664 https://github.com/arton/rjb/pull/63
thanks

I've forwarded this upstream here:

  https://github.com/arton/rjb/pull/63


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#897664: ruby-rjb: FTBFS: make[2]: javah: Command not found

2018-05-03 Thread Chris Lamb
Source: ruby-rjb
Version: 1.5.5-2
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Dear Maintainer,

ruby-rjb fails to build from source in unstable/amd64:

  […]

   dpkg-buildpackage -rfakeroot -us -uc -ui -b
  dpkg-buildpackage: info: source package ruby-rjb
  dpkg-buildpackage: info: source version 1.5.5-2
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Chris Lamb 
   dpkg-source --before-build ruby-rjb-1.5.5
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean --buildsystem=ruby --with ruby
 dh_auto_clean -O--buildsystem=ruby
dh_ruby --clean
 dh_ruby --clean
 debian/rules override_dh_clean
  make[1]: Entering directory '«BUILDDIR»'
  dh_clean -O--buildsystem=ruby
  rm -rf test/jp test/jartest test/jartest2
  rm -f rjb-global.rake rjb.gemspec
  make[1]: Leaving directory '«BUILDDIR»'
   debian/rules build
  dh build --buildsystem=ruby --with ruby
 dh_update_autotools_config -O--buildsystem=ruby
 dh_autoreconf -O--buildsystem=ruby
 dh_auto_configure -O--buildsystem=ruby
dh_ruby --configure
 debian/rules override_dh_auto_build
  make[1]: Entering directory '«BUILDDIR»'
  mkdir -p $(dirname test/jp/co/infoseek/hp/arton/rjb/Test.class)
  LC_ALL=C.UTF-8 javac -classpath test -d test test/Test.java
  Note: test/Test.java uses or overrides a deprecated API.
  Note: Recompile with -Xlint:deprecation for details.
  mkdir -p $(dirname test/jp/co/infoseek/hp/arton/rjb/IBase.class)
  LC_ALL=C.UTF-8 javac -classpath test -d test test/IBase.java
  mkdir -p $(dirname test/jp/co/infoseek/hp/arton/rjb/Base.class)
  LC_ALL=C.UTF-8 javac -classpath test -d test test/Base.java
  mkdir -p $(dirname test/jp/co/infoseek/hp/arton/rjb/ExtBase.class)
  LC_ALL=C.UTF-8 javac -classpath test -d test test/ExtBase.java
  mkdir -p $(dirname test/jp/co/infoseek/hp/arton/rjb/Two.class)
  LC_ALL=C.UTF-8 javac -classpath test -d test test/Two.java
  mkdir -p $(dirname test/jp/co/infoseek/hp/arton/rjb/TwoCaller.class)
  LC_ALL=C.UTF-8 javac -classpath test -d test test/TwoCaller.java
  mkdir -p $(dirname test/jp/co/infoseek/hp/arton/rjb/CallbackTest.class)
  LC_ALL=C.UTF-8 javac -classpath test -d test test/CallbackTest.java
  mkdir -p test/jartest
  LC_ALL=C.UTF-8 javac -d test/jartest test/JarTest.java
  jar -cvf test/jartest.jar -C test/jartest 
jp/co/infoseek/hp/arton/rjb/JarTest.class
  added manifest
  adding: jp/co/infoseek/hp/arton/rjb/JarTest.class(in = 734) (out= 
414)(deflated 43%)
  mkdir -p test/jartest2
  LC_ALL=C.UTF-8 javac -classpath test/jartest -d test/jartest2 
test/JarTest2.java
  jar -cvf test/jartest2.jar -C test/jartest2 
jp/co/infoseek/hp/arton/rjb/JarTest2.class
  added manifest
  adding: jp/co/infoseek/hp/arton/rjb/JarTest2.class(in = 818) (out= 
439)(deflated 46%)
  dh_auto_build -O--buildsystem=ruby
dh_ruby --build
 dh_ruby --build
  make[1]: Leaving directory '«BUILDDIR»'
 dh_auto_test -O--buildsystem=ruby
dh_ruby --test
 create-stamp debian/debhelper-build-stamp
   fakeroot debian/rules binary
  dh binary --buildsystem=ruby --with ruby
 dh_testroot -O--buildsystem=ruby
 dh_prep -O--buildsystem=ruby
 debian/rules override_dh_auto_install
  make[1]: Entering directory '«BUILDDIR»'
  sed -e '$i $spec = spec' rjb.rake > rjb-global.rake
  ruby -e 'load "rjb-global.rake"; File.open("rjb.gemspec", "w") { |f| f.write 
$spec.to_ruby };'
  LC_ALL=C.UTF-8 dh_auto_install -O--buildsystem=ruby
dh_ruby --install «BUILDDIR»/debian/ruby-rjb
 dh_ruby --install
  
  
┌──┐
  │ Install files   
 │
  
└──┘
  
  install -d «BUILDDIR»/debian/ruby-rjb/usr/lib/ruby/vendor_ruby
  install -D -m644 «BUILDDIR»/lib/rjbextension.rb 
/home/lamby/temp/cdt.20180503160321.dQzXzHsOjv.db.ruby-rjb/ruby-rjb-1.5.5/debian/ruby-rjb/usr/lib/ruby/vendor_ruby/rjbextension.rb
  install -D -m644 «BUILDDIR»/lib/rjb.rb 
/home/lamby/temp/cdt.20180503160321.dQzXzHsOjv.db.ruby-rjb/ruby-rjb-1.5.5/debian/ruby-rjb/usr/lib/ruby/vendor_ruby/rjb.rb
  install -D -m644 «BUILDDIR»/lib/rjb/extension.rb 
/home/lamby/temp/cdt.20180503160321.dQzXzHsOjv.db.ruby-rjb/ruby-rjb-1.5.5/debian/ruby-rjb/usr/lib/ruby/vendor_ruby/rjb/extension.rb
  install -D -m644 «BUILDDIR»/lib/rjb/version.rb 
/home/lamby/temp/cdt.20180503160321.dQzXzHsOjv.db.ruby-rjb/ruby-rjb-1.5.5/debian/ruby-rjb/usr/lib/ruby/vendor_ruby/rjb/version.rb
  install -D -m644 «BUILDDIR»/lib/rjb/list.rb 
/home/lamby/temp/cdt.20180503160321.dQzXzHsOjv.db.ruby-rjb/ruby-rjb-1.5.5/debian/ruby-rjb/usr/lib/ruby/vendor_ruby/rjb/list.rb