[DebianGIS-dev] [peter.fritzsche at gmx.de: Bug#555586: FTBFS with binutils-gold]

Dominic Hargreaves dom at earth.li
Tue Nov 10 12:09:18 UTC 2009


Forwarding since the BTS still thinks I'm the package owner.

----- Forwarded message from Peter Fritzsche <peter.fritzsche at gmx.de> -----

X-Spam-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,
	RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.5
Subject: Bug#555586: FTBFS with binutils-gold
Reply-To: Peter Fritzsche <peter.fritzsche at gmx.de>,
	555586-maintonly at bugs.debian.org
Resent-From: Peter Fritzsche <peter.fritzsche at gmx.de>
Resent-To: Dominic Hargreaves <dom at earth.li>
Resent-Date: Tue, 10 Nov 2009 11:52:21 +0000
From: Peter Fritzsche <peter.fritzsche at gmx.de>
To: maintonly at bugs.debian.org
Date: Tue, 10 Nov 2009 10:58:58 +0100
User-Agent: KMail/1.12.2 (Linux/2.6.31-1-amd64; KDE/4.3.2; x86_64; ; )
Resent-Date: Tue, 10 Nov 2009 11:52:24 +0000
X-Urchin-Spam-Score-Int: -30
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.1.7

Source: mapnik
Version: 0.6.1-1
Severity: minor
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.

More informations can be found at
 http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

g++ -o utils/shapeindex/shapeindex utils/shapeindex/shapeindex.o src/envelope.o plugins/input/shape/shapefile.o -Lsrc -L/usr/lib -lboost_program_options -lboost_iostreams -lboost_filesystem
/usr/bin/ld: utils/shapeindex/shapeindex.o: in function global constructors keyed to main:shapeindex.cpp(.text+0x23): error: undefined reference to 'boost::system::get_system_category()'
/usr/bin/ld: utils/shapeindex/shapeindex.o: in function global constructors keyed to main:shapeindex.cpp(.text+0x2f): error: undefined reference to 'boost::system::get_generic_category()'
/usr/bin/ld: utils/shapeindex/shapeindex.o: in function global constructors keyed to main:shapeindex.cpp(.text+0x3b): error: undefined reference to 'boost::system::get_generic_category()'
/usr/bin/ld: utils/shapeindex/shapeindex.o: in function global constructors keyed to main:shapeindex.cpp(.text+0x47): error: undefined reference to 'boost::system::get_generic_category()'
/usr/bin/ld: utils/shapeindex/shapeindex.o: in function global constructors keyed to main:shapeindex.cpp(.text+0x53): error: undefined reference to 'boost::system::get_system_category()'
/usr/bin/ld: utils/shapeindex/shapeindex.o: in function boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&):shapeindex.cpp(.text._ZN5boost10filesystem6existsINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_+0x30): error: undefined reference to 'boost::system::get_system_category()'
collect2: ld returned 1 exit status
scons: *** [utils/shapeindex/shapeindex] Error 1



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

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)



More information about the Pkg-grass-devel mailing list