Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 586840

Summary: dev-games/simgear-2016.2.1[-dns]: undefined reference to `simgear::DNS::Client::~Client()'
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: Current packagesAssignee: Maciej Mrozowski <reavertm>
Status: IN_PROGRESS ---    
Severity: normal CC: games, silvio.gerli
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceforge.net/p/flightgear/codetickets/1878/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to simgear/scene/tsync/terrasync.cxx

Description Chris Mayo 2016-06-23 18:57:48 UTC
Created attachment 438590 [details, diff]
patch to simgear/scene/tsync/terrasync.cxx

Without net-libs/udns installed:

../libSimGearCore.so.2016.2.1: undefined reference to `simgear::DNS::Client::~Client()'
../libSimGearCore.so.2016.2.1: undefined reference to `simgear::DNS::Client::Client()'
../libSimGearCore.so.2016.2.1: undefined reference to `simgear::DNS::NAPTRRequest::NAPTRRequest(std::string const&)'
../libSimGearCore.so.2016.2.1: undefined reference to `simgear::DNS::Client::makeRequest(SGSharedPtr<simgear::DNS::Request> const&)'
../libSimGearCore.so.2016.2.1: undefined reference to `simgear::DNS::Client::update(int)'
../libSimGearCore.so.2016.2.1: undefined reference to `simgear::DNS::Request::isTimeout() const'
collect2: error: ld returned 1 exit status
simgear/package/CMakeFiles/sg_pkgutil.dir/build.make:113: recipe for target 'simgear/package/sg_pkgutil' failed
make[2]: *** [simgear/package/sg_pkgutil] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-games/simgear-2016.2.1/work/simgear-2016.2.1_build'
CMakeFiles/Makefile2:601: recipe for target 'simgear/package/CMakeFiles/sg_pkgutil.dir/all' failed
make[1]: *** [simgear/package/CMakeFiles/sg_pkgutil.dir/all] Error 2


Patch attached that allows it emerge. Do not know if it causes runtime problems.

Reported upstream:
https://sourceforge.net/p/flightgear/codetickets/1878/
Comment 1 Maciej Mrozowski gentoo-dev 2016-10-01 07:19:52 UTC
Enforced via profile for now, let's keep the bug open.