[DRE-maint] Bug#679649: FTBFS: cannot find -lstdc++
Cédric Boutillier
cedric.boutillier at gmail.com
Sat Jun 30 13:24:55 UTC 2012
Source: ruby-image-science
Version: 1.2.2-1
Severity: serious
Justification: FTBFS on amd64
Hi,
Attempts to build the package from source yield an error message and the
build fails.
Here is the relevant part of the build:
Rewriting shebang line of /tmp/buildd/ruby-image-science-1.2.2/debian/ruby-image-science/usr/bin/image_science_thumb
/usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
/usr/lib/ruby/vendor_ruby/inline.rb:612:in `build': error executing "gcc-4.6 -shared -I/usr/local/include -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -fno-strict-aliasing -g -g -O2 -fPIC -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -I /usr/lib/ruby/1.8/x86_64-linux -I /usr/include -L/usr/lib -o \"/tmp/d20120630-23794-1rth2c/.ruby_inline/ruby-1.8/Inline_ImageScience_cdabbf6be1583cf10d50065dbe0df70a.so\" \"/tmp/d20120630-23794-1rth2c/.ruby_inline/ruby-1.8/Inline_ImageScience_cdabbf6be1583cf10d50065dbe0df70a.c\" -L/usr/local/lib -lfreeimage -lfreeimage -lstdc++ ": 256 (CompilationError)
Renamed /tmp/d20120630-23794-1rth2c/.ruby_inline/ruby-1.8/Inline_ImageScience_cdabbf6be1583cf10d50065dbe0df70a.c to /tmp/d20120630-23794-1rth2c/.ruby_inline/ruby-1.8/Inline_ImageScience_cdabbf6be1583cf10d50065dbe0df70a.c.bad
from /usr/lib/ruby/vendor_ruby/inline.rb:843:in `inline'
from ./debian/ruby-image-science//usr/lib/ruby/vendor_ruby/image_science.rb:87
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from ./test/test_image_science.rb:18
from -e:1:in `require'
from -e:1
from -e:1:in `each'
from -e:1
ERROR: Test "ruby1.8" failed. Exiting.
dh_auto_install: dh_ruby --install /tmp/buildd/ruby-image-science-1.2.2/debian/tmp returned exit code 1
Thanks!
Cédric
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the Pkg-ruby-extras-maintainers
mailing list