/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/mumble/CMakeFiles/mumble.dir/PluginManifest.cpp.o: in function `PluginManifest::parse_v1_0_0(Poco::AutoPtr<Poco::XML::Document>)': PluginManifest.cpp:(.text+0x132c): undefined reference to `Poco::XML::Document::documentElement() const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x1380): undefined reference to `Poco::XML::Element::getChildElement(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x13eb): undefined reference to `Poco::XML::Element::getElementsByTagName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x18b4): undefined reference to `typeinfo for Poco::XML::Element' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x18bb): undefined reference to `typeinfo for Poco::XML::Node' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x191f): undefined reference to `Poco::XML::Element::getAttribute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x19a0): undefined reference to `Poco::XML::Element::getAttribute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x1bc5): undefined reference to `Poco::XML::Document::documentElement() const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x1bf9): undefined reference to `Poco::XML::Element::getChildElement(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x1c3c): undefined reference to `Poco::XML::Document::documentElement() const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x1c85): undefined reference to `Poco::XML::Element::getChildElement(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/mumble/CMakeFiles/mumble.dir/PluginManifest.cpp.o: in function `PluginManifest::parse(std::istream&)': PluginManifest.cpp:(.text+0x22bd): undefined reference to `Poco::XML::InputSource::InputSource(std::istream&)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x22c7): undefined reference to `Poco::XML::DOMParser::DOMParser(Poco::XML::NamePool*)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x22d2): undefined reference to `Poco::XML::DOMParser::parse(Poco::XML::InputSource*)' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x22e6): undefined reference to `Poco::XML::Document::documentElement() const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x2360): undefined reference to `Poco::XML::Element::hasAttribute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x23d6): undefined reference to `Poco::XML::Element::getAttribute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x2488): undefined reference to `Poco::XML::DOMParser::~DOMParser()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text+0x2490): undefined reference to `Poco::XML::InputSource::~InputSource()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/mumble/CMakeFiles/mumble.dir/PluginManifest.cpp.o: in function `PluginManifest::parse(std::istream&) [clone .cold]': PluginManifest.cpp:(.text.unlikely+0xa3f): undefined reference to `Poco::XML::DOMParser::~DOMParser()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: PluginManifest.cpp:(.text.unlikely+0xa47): undefined reference to `Poco::XML::InputSource::~InputSource()' /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/mumble/CMakeFiles/mumble.dir/PluginManifest.cpp.o:(.data.rel.local.DW.ref._ZTIN4Poco3XML17SAXParseExceptionE[DW.ref._ZTIN4Poco3XML17SAXParseExceptionE]+0x0): undefined reference to `typeinfo for Poco::XML::SAXParseException' collect2: error: ld returned 1 exit status Reproducible: Always
Please include the full build.log and emerge --info.
Looks like https://github.com/mumble-voip/mumble/commit/fefdd79ebcd53a3035967789d004938ee39e2030 might fix it?
(In reply to Sam James from comment #2) > Looks like > https://github.com/mumble-voip/mumble/commit/ > fefdd79ebcd53a3035967789d004938ee39e2030 might fix it? Dear Sam, yes, it does! I attach the patch applying cleanly to media-sound/mumble-1.4.230 in a sec - the commit itself doesn't...
Created attachment 777263 [details, diff] Patch to compile against poco-1.11 (have cmake add its XML component)
I confirm the bug and the solution. Please add carlwgeorge's upstream patch or Bernd's patch attached here as mumble-1.4.230-compile_with_poco_1_11.patch to ${FILESDIR} and adjust this line --- media-sound/mumble/mumble-1.4.230.ebuild +++ media-sound/mumble/mumble-1.4.230.ebuild @@ -71,6 +71,7 @@ PATCHES=( "${WORKDIR}/${PN}-1.4-openssl3.patch" + "${FILESDIR}/${P}-compile_with_poco_1_11.patch" ) src_prepare() { I confirm the correct compilation of media-sound/mumble-1.4.230 against dev-libs/poco-1.10.1 dev-libs/poco-1.11.2 with this patch.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa650a14a85055ca24681cc7eae1a2cdf76e7456 commit fa650a14a85055ca24681cc7eae1a2cdf76e7456 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-11 01:29:54 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-11 01:29:54 +0000 media-sound/mumble: backport upstream fixes for new Poco, GCC 12 Closes: https://bugs.gentoo.org/842984 Signed-off-by: Sam James <sam@gentoo.org> .../mumble-1.4.230-gcc12-include-memory.patch | 28 ++++++++++++++++++++++ .../files/mumble-1.4.230-poco-link-cmake.patch | 24 +++++++++++++++++++ media-sound/mumble/mumble-1.4.230.ebuild | 2 ++ 3 files changed, 54 insertions(+)