Re: Bug#146071: quantlib-ruby_0.3.0-1(hppa/unstable): need -ffunction-sections on hppa

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Bug#146071: quantlib-ruby_0.3.0-1(hppa/unstable): need -ffunction-sections on hppa

Dirk Eddelbuettel
Ok, now that I got ql-ruby built, here is the first failure report on
non-i386.

Dirk

----- Forwarded message from [hidden email] -----

Envelope-to: [hidden email]
Delivery-date: Mon, 06 May 2002 22:03:15 -0500
Subject: Bug#146071: quantlib-ruby_0.3.0-1(hppa/unstable): need -ffunction-sections on hppa
Reply-To: [hidden email], [hidden email]
From: [hidden email]
To: [hidden email]

Package: quantlib-ruby
Version: 0.3.0-1
Severity: important

There was an error while trying to autobuild your package:

> Automatic build of quantlib-ruby_0.3.0-1 on sarti by sbuild/hppa 1.169
> Build started at 20020507-0347

[...]

> ** Using build dependencies supplied by package:
> Build-Depends: debhelper (>= 3.0.0), ruby (>= 1.6.7), ruby-dev (>= 1.6.7), libquantlib0-dev (>= 0.3.0), g++ [!ia64], g++-3.0 [ia64], gcc [!ia64], gcc-3.0 [ia64]

[...]

> g++ -shared  -L/usr/lib  -o QuantLibc.so quantlib_wrap.o -L. -lruby -lc -lQuantLib
> /usr/bin/ld: quantlib_wrap.o(.text+0x3ef08): cannot reach 0000002e__ZN8QuantLib17FiniteDifferences23firstDerivativeAtCenterERKNS_5ArrayES3_+0, recompile with -ffunction-sections

[...]

> /usr/bin/ld: final link failed: Bad value
> collect2: ld returned 1 exit status
> make[1]: *** [QuantLibc.so] Error 1
> make[1]: Leaving directory `/build/buildd/quantlib-ruby-0.3.0'
> ./QuantLibc.so -> debian/quantlib-ruby/usr/lib/ruby/1.6/hppa-linux/QuantLibc.so
> /usr/lib/ruby/1.6/ftools.rb:13:in `size': No such file or directory - "./QuantLibc.so" (Errno::ENOENT)
> from /usr/lib/ruby/1.6/ftools.rb:13:in `syscopy'
> from /usr/lib/ruby/1.6/ftools.rb:46:in `copy'
> from /usr/lib/ruby/1.6/ftools.rb:147:in `install'
> from setup.rb:222
> from setup.rb:203:in `call'
> from setup.rb:96:in `execute'
> from setup.rb:237
> Installing QuantLib-Ruby...
> make: *** [install-stamp] Error 1

A full build log can be found at:
http://buildd.debian.org/build.php?arch=hppa&pkg=quantlib-ruby&ver=0.3.0-1



----- End forwarded message -----

--
Good judgement comes from experience; experience comes from bad judgement.
                                                            -- Fred Brooks


Reply | Threaded
Open this post in threaded view
|

Re: Re: Bug#146071: quantlib-ruby_0.3.0-1(hppa/unstable): need -ffunction-sections on hppa

Luigi Ballabio-4
At 10:53 PM 5/6/02 -0500, Dirk Eddelbuettel wrote:
>Ok, now that I got ql-ruby built, here is the first failure report on
>non-i386.

Dirk,
         does the main QuantLib package run "make check" after building?
If it did, I suspect we would have failures from it as well...

Bye,
         Luigi



Reply | Threaded
Open this post in threaded view
|

Re: Re: Bug#146071: quantlib-ruby_0.3.0-1(hppa/unstable): need -ffunction-sections on hppa

Dirk Eddelbuettel
On Tue, May 07, 2002 at 12:53:53PM +0100, Luigi Ballabio wrote:
> At 10:53 PM 5/6/02 -0500, Dirk Eddelbuettel wrote:
> >Ok, now that I got ql-ruby built, here is the first failure report on
> >non-i386.
>
> Dirk,
>         does the main QuantLib package run "make check" after building?
> If it did, I suspect we would have failures from it as well...

Yes, but errors are ignored by my choice:

test-stamp: build-stamp
        -$(MAKE) check
    touch test-stamp
                     
The '-' makes make roll over errors and continue.

Dirk

--
Good judgement comes from experience; experience comes from bad judgement.
                                                            -- Fred Brooks