Bug#615700: cba: ftbfs with gold or ld --no-add-needed
Matthias Klose
doko at debian.org
Mon Feb 28 00:52:15 UTC 2011
Package: cba
Version: 0.3.6-3
Severity: important
Tags: sid
User: peter.fritzsche at gmx.de
Usertags: no-add-needed
The package fails to build in a test rebuild on at least amd64 with
ld --no-add-needed. For details, please see:
http://lists.debian.org/debian-devel-announce/2011/02/msg00011.html
http://wiki.debian.org/ToolChain/DSOLinking
Ubuntu might have a patch for this issue, but unfortunately it was
not forwarded to Debian. Please have a look at
http://packages.qa.debian.org/cba to see if an Ubuntu version for
this package exists, and if a fix is included in the Ubuntu diff.
[...]
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_bitmaps.h:369:1: warning: deprecated conversion from string constant to 'char*'
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI.cpp: In member function 'void MainFrame::OnOpenFile(wxCommandEvent&)':
/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI.cpp:435:28: warning: suggest explicit braces to avoid ambiguous 'else'
gcc /build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbeam_class.o /build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_drawings.o /build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_dialogs.o /build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI.o `wx-config --libs` -s -lstdc++ -o cba-gtk
/usr/bin/ld: /build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui/cbaGUI_dialogs.o: undefined reference to symbol 'pow@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pow@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [cba-gtk] Error 1
make[2]: Leaving directory `/build/user-cba_0.3.6-3-amd64-E6dJrS/cba-0.3.6/src/gui'
make[1]: *** [all] Error 2
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
More information about the debian-science-maintainers
mailing list