Package: undertaker Version: 1.0-1 Severity: serious Justification: fails to build from source
Per http://lists.debian.org/debian-devel-announce/2011/02/msg00011.html, gcc now normally invokes ld with an option that directs it to consider only libraries that explicitly appear on the command line. This change affects undertaker as currently packaged, as it uses Boost.System symbols without directly linking against it. Previously, undertaker's use of Boost.Filesystem sufficed to bring libboost_system to the linker's attention as a potential library of interest, but now that arrangement merely informs the resulting error message: g++ -Wall -Wextra -O2 -I../ziz undertaker.cpp ../ziz/libziz.a libparser.a -lboost_regex -lboost_filesystem libparser.a ../ziz/libziz.a -lpicosat -lboost_wave-mt -o undertaker undertaker.cpp: In function 'int main(int, char**)': undertaker.cpp:346:49: warning: comparison is always false due to limited range of data type undertaker.cpp:346:72: warning: comparison is always false due to limited range of data type /usr/bin/ld: /tmp/ccoMdcY2.o: undefined reference to symbol 'boost::system::get_system_category()' /usr/bin/ld: note: 'boost::system::get_system_category()' is defined in DSO //usr/lib64/libboost_system.so.1.42.0 so try adding it to the linker command line //usr/lib64/libboost_system.so.1.42.0: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[2]: *** [undertaker] Error 1 [Taken from https://buildd.debian.org/fetch.cgi?pkg=undertaker&arch=amd64&ver=1.0-1&stamp=1300877857&file=log&as=raw , hence the (gratuitous but ultimately harmless) use of /usr/lib64.] Could you please link undertaker directly against libboost_system and double check that you won't need to list any other libraries? Thanks! -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org