Hi, Emerging media-tv/kodi-17.1-r3 fails with the error: ----------------------------------------------------------------- build/cores/externalplayer/externalplayer.a(ExternalPlayer.cpp.o): In function `CExternalPlayer::Initialize(TiXmlElement*)': ExternalPlayer.cpp:(.text+0x1613): undefined reference to `operator<<(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, TiXmlNode const&)' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/kodi.dir/build.make:376: kodi.bin] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-tv/kodi-17.1-r3/work/kodi-17.1_build' make[1]: *** [CMakeFiles/Makefile2:193: CMakeFiles/kodi.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/media-tv/kodi-17.1-r3/work/kodi-17.1_build' make: *** [Makefile:139: all] Error 2 * ERROR: media-tv/kodi-17.1-r3::gentoo failed (compile phase): ---------------------------------------------------------------- I tried several times, but the result is all the same. The logs are attached. Regards, Alex
Created attachment 472594 [details] Emerge --info log
Created attachment 472596 [details] emerge -pqv kodi log
Created attachment 472598 [details] build log gzipped
FTPParse.cpp:(.text+0x583): undefined reference to `pcrecpp::RE::Init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, pcrecpp::RE_Options const*)' Have you recently updated your gcc? Perhaps there are several dependencies to rebuild. Please see https://wiki.gentoo.org/wiki/Upgrading_GCC and request help on our support channels, if you need help. Please report if the problem could be fixed, or add further information on the problem.
(In reply to Jonas Stein from comment #4) > Have you recently updated your gcc? > Perhaps there are several dependencies to rebuild. > Please see https://wiki.gentoo.org/wiki/Upgrading_GCC > and request help on our support channels, if you need help. > > Please report if the problem could be fixed, or add further information on > the problem. I have gcc-5.4.0-r3 I don't remember when exactly I updated it. It was one of ordinary system updates, when emerge pulled new stabilized version in. I just rebuilt sys-devel/libtool -- the problem with Kodi still persist 'revdep-rebuild --library 'libstdc++.so.6' suggests to rebuild 88 packages. I wonder if it's really needed.
Rebuilding tinyxml, tinyxml2 and libpcre seemed to do the trick (breaking some other packages though). Thanks!