Your message dated Tue, 7 Jul 2009 05:37:36 -0500
with message-id <19027.9584.792244.139...@ron.nulle.part>
and subject line Re: Bug#533122: ruby1.8-dev: FTBFS with newer ruby ?
has caused the Debian Bug report #533122,
regarding ruby1.8-dev: FTBFS with newer ruby ?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
533122: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533122
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.



--- End Message ---
--- Begin Message ---
On 7 July 2009 at 15:59, akira yamada wrote:
| Hi,
| 
| > Thanks for the follow-up.  Quantlib (upstream) and I figured out a 
workaround.
| > In previous versions we had gotten by without the configure step -- and 
hence
| > no Makefile was created and present. That did not seem to upset earlier
| > versions but it set up the current versions.  Switching to running configure
| > fixed it.
| 
| Oops, I had looked at older version... sorry.
| Can I close this bug?

Yes!  In fact, I am doing so now.

The bug really was at my end, it just so happened that earlier versions
didn't expose it so I got by for  all that time...

Thanks again for the quick follow-up!

Dirk

-- 
Three out of two people have difficulties with fractions.


--- End Message ---

Reply via email to