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
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ruby1.8-dev depends on:
ii libc6-dev 2.9-12 GNU C Library: Development Librari
ii libruby1.8 1.8.7.72-3.1 Libraries necessary to run Ruby 1.
Versions of packages ruby1.8-dev recommends:
ii ruby1.8 1.8.7.72-3.1 Interpreter of object-oriented scr
ruby1.8-dev suggests no packages.
-- no debconf information
--
Three out of two people have difficulties with fractions.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]