On 22 June 2009 at 14:29, Lucas Nussbaum wrote: | On 14/06/09 at 18:41 -0500, Dirk Eddelbuettel wrote: | > | > Package: ruby1.8-dev | > Version: 1.8.7.72-3.1 | > Severity: serious | > | > Hi, I maintain a package with Swig-generated interfaces for which I also | > provide ruby builds. I had just done a release a few days ago, it worked | > fine: | > | > dh_installdirs -pquantlib-ruby usr/share/quantlib-ruby | > (cd Ruby && \ | > CXX="g++" \ | > CFLAGS="-O2 -Wall -Wno-strict-aliasing" \ | > CXXFLAGS="-O2 -Wall -Wno-strict-aliasing" \ | > ruby setup.rb install \ | > --prefix=/tmp/buildd/quantlib-swig-0.9.7/debian/quantlib-ruby/usr --debian ) | > creating Makefile | > make[1]: Entering directory `/tmp/buildd/quantlib-swig-0.9.7/Ruby' | > make[1]: Nothing to be done for `all'. | > make[1]: Leaving directory `/tmp/buildd/quantlib-swig-0.9.7/Ruby' | > ./QuantLibc.so -> /tmp/buildd/quantlib-swig-0.9.7/debian/quantlib-ruby/usr/lib/ruby/1.8/i486-linux/QuantLibc.so | > chmod 0555 /tmp/buildd/quantlib-swig-0.9.7/debian/quantlib-ruby/usr/lib/ruby/1.8/i486-linux/QuantLibc.so | > ./QuantLib.rb -> /tmp/buildd/quantlib-swig-0.9.7/debian/quantlib-ruby/usr/lib/ruby/1.8/QuantLib.rb | > chmod 0555 /tmp/buildd/quantlib-swig-0.9.7/debian/quantlib-ruby/usr/lib/ruby/1.8/QuantLib.rb | > chmod 644 debian/quantlib-ruby/usr/lib/ruby/1.8/QuantLib.rb | > | > That was using the versions | > | > Get:33 http://ftp.us.debian.org unstable/main libruby1.8 1.8.7.72-3.1 [1672kB] | > Get:34 http://ftp.us.debian.org unstable/main ruby1.8 1.8.7.72-3.1 [283kB] | > Get:35 http://ftp.us.debian.org unstable/main ruby 4.2 [20.6kB] | > Get:36 http://ftp.us.debian.org unstable/main ruby1.8-dev 1.8.7.72-3.1 [826kB] | > | > | > Now, however, using what is in unstable, ie | > | > Get:33 http://ftp.us.debian.org unstable/main libruby1.8 1.8.7.173-1 [1679kB] | > Get:34 http://ftp.us.debian.org unstable/main ruby1.8 1.8.7.173-1 [290kB] | > Get:35 http://ftp.us.debian.org unstable/main ruby 4.2 [20.6kB] | > Get:36 http://ftp.us.debian.org unstable/main ruby1.8-dev 1.8.7.173-1 [835kB] | > | > I end up with | > | > | > (cd Ruby && ruby setup.rb test ) | > creating Makefile | > make[1]: Entering directory `/tmp/buildd/quantlib-swig-0.9.7/Ruby' | > make[1]: *** No rule to make target `Makefile', needed by `QuantLibc.so'. Stop. | > make[1]: Leaving directory `/tmp/buildd/quantlib-swig-0.9.7/Ruby' | > /tmp/buildd/quantlib-swig-0.9.7/Ruby/QuantLib.rb:18:in `require': no such file to load -- QuantLibc (LoadError) | > from /tmp/buildd/quantlib-swig-0.9.7/Ruby/QuantLib.rb:18 | > from ./dates.rb:18:in `require' | > from ./dates.rb:18 | > from ./QuantLibTestSuite.rb:23:in `require' | > from ./QuantLibTestSuite.rb:23 | > from setup.rb:134:in `load' | > from setup.rb:134 | > from setup.rb:70:in `call' | > from setup.rb:70:in `execute' | > from setup.rb:173 | > Testing QuantLib-Ruby 0.9.7... | > make: *** [test-stamp] Error 1 | > | > Same for the install target. | > | > Or is this something that requires upstream changes in setup.rb ? | > | > Thanks in advance for your help, Dirk | | Hi Dirk, | | If you have time, could you please try again with the ruby1.8 packages | now in unstable (1.8.7.174-1) ? .173 had several regressions, so it | might be fixed now.
I did on Friday, and as it still failed. So I decided to disable Ruby support and I uploaded a new quantlib-swing -- producing only a python package -- the same day: quantlib-swig (0.9.7-3) unstable; urgency=low * debian/rules: Apply patch to support --install-layout=deb switch for the Python 2.6 transition (Closes: #533107) * debian/rules: No longer build the ruby variant as the builds is broken with newer packages (see bug report #533122). * debian/control: Remove quantlib-ruby section, adjust Build-Depends: -- Dirk Eddelbuettel <e...@debian.org> Fri, 19 Jun 2009 17:19:03 -0500 If Ruby is broken and the maintainer doesn't care I simply won't use. If and when this changes I can revert. Thanks for catching this and the follow-up. Dirk -- Three out of two people have difficulties with fractions. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org