Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586840 - dev-games/simgear-2016.2.1[-dns]: undefined reference to `simgear::DNS::Client::~Client()'
Summary: dev-games/simgear-2016.2.1[-dns]: undefined reference to `simgear::DNS::Clien...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
Keywords: PATCH
Depends on:
Reported: 2016-06-23 18:57 UTC by Chris Mayo
Modified: 2019-10-12 09:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

patch to simgear/scene/tsync/terrasync.cxx (simgear-2016.2.1-no-dns.patch,1.16 KB, patch)
2016-06-23 18:57 UTC, Chris Mayo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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:

../ undefined reference to `simgear::DNS::Client::~Client()'
../ undefined reference to `simgear::DNS::Client::Client()'
../ undefined reference to `simgear::DNS::NAPTRRequest::NAPTRRequest(std::string const&)'
../ undefined reference to `simgear::DNS::Client::makeRequest(SGSharedPtr<simgear::DNS::Request> const&)'
../ undefined reference to `simgear::DNS::Client::update(int)'
../ 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:
Comment 1 Maciej Mrozowski gentoo-dev 2016-10-01 07:19:52 UTC
Enforced via profile for now, let's keep the bug open.