Re: 0.3.9 tarballs

Posted by Dirk Eddelbuettel on
URL: http://quantlib.414.s1.nabble.com/0-3-9-tarballs-tp10774p10777.html

So I had a go at rolling the Debian packages of QL forward (to the rc of
2005-05-12, taken yesterday).  New packages have been uploaded, autobuilders
are busy.  

But Ruby failed to built -- it croaks after the tests from setup.rb. From the
build log:

[...]
dpkg-source: building quantlib-ruby using existing quantlib-ruby_0.3.8.rc.20050407.orig.tar.gz
dpkg-source: building quantlib-ruby in quantlib-ruby_0.3.8.rc.20050407-1.diff.gz
dpkg-source: building quantlib-ruby in quantlib-ruby_0.3.8.rc.20050407-1.dsc
 debian/rules build
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
dh_testdir
touch quantlib_wrap.cpp
CXX="g++" \
CFLAGS="-O2 " \
CXXFLAGS="-O2 " ruby setup.rb build  
Building extension...
creating Makefile
make[1]: Entering directory `/tmp/buildd/quantlib-ruby-0.3.8.rc.20050407'
g++ -fPIC -Wall -g -O2  -fPIC -O2    -I. -I/usr/lib/ruby/1.8/i386-linux -I/usr/lib/ruby/1.8/i386-linux -I.   -I/usr/include -Wno-uninitialized -Wno-unused -O2  -DBOOST_DISABLE_THREADS -c quantlib_wrap.cpp
g++ -shared  -L"/usr/lib" -o QuantLibc.so quantlib_wrap.o  -lruby1.8  -L/usr/lib -lQuantLib-0.3.9 -lpthread -ldl -lcrypt -lm   -lc
make[1]: Leaving directory `/tmp/buildd/quantlib-ruby-0.3.8.rc.20050407'
touch build-stamp
 debian/rules binary
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; using uid of process (0)
ruby setup.rb test
Building extension...
creating Makefile
make[1]: Entering directory `/tmp/buildd/quantlib-ruby-0.3.8.rc.20050407'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/buildd/quantlib-ruby-0.3.8.rc.20050407'
Testing QuantLib-Ruby...
Loaded suite QuantLib test suite
Started
Testing date ranges: .
Testing observability of stocks: .
Testing observability of market elements: .
Testing observability of market element handles: .
Testing segment integral: .
Testing 1-D solvers: .
Testing observability of forward-spreaded term structure: .
Testing observability of implied term structure: .
Testing observability of zero-spreaded term structure: .

Finished in 4.872506 seconds.

9 tests, 0 assertions, 0 failures, 0 errors
setup.rb:229: [BUG] Segmentation fault
ruby 1.8.2 (2005-04-11) [i386-linux]

make: *** [test-stamp] Aborted (core dumped)
pbuilder: Failed autobuilding of package
 -> Aborting with an error
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env
    -> removing directory /var/local/cache/pbuilder/build//13139 and its subdirectories

This is on Debian unstable in a fresh chroot with the QL rc 2005-04-12.  

Luigi -- any idea?  Python builds and tests fine (once TermStructureTest is
comemnted out, as has been required for a while).

Thanks, Dirk

--
Better to have an approximate answer to the right question than a precise
answer to the wrong question.  --  John Tukey as quoted by John Chambers