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

Bug 618460

Summary: media-tv/kodi-17.1-r3: undefined reference
Product: Gentoo Linux Reporter: Alex <fhlfibh>
Component: Current packagesAssignee: Craig Andrews <candrews>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: jstein, proxy-maint, Sergiy.Borodych
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Emerge --info log
emerge -pqv kodi log
build log gzipped

Description Alex 2017-05-14 16:23:39 UTC
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
Comment 1 Alex 2017-05-14 16:24:18 UTC
Created attachment 472594 [details]
Emerge --info log
Comment 2 Alex 2017-05-14 16:24:43 UTC
Created attachment 472596 [details]
emerge -pqv kodi log
Comment 3 Alex 2017-05-14 16:26:50 UTC
Created attachment 472598 [details]
build log gzipped
Comment 4 Jonas Stein gentoo-dev 2017-05-16 06:49:44 UTC
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.
Comment 5 Alex 2017-05-16 17:17:56 UTC
(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.
Comment 6 Alex 2017-05-16 19:20:46 UTC
Rebuilding tinyxml, tinyxml2 and libpcre seemed to do the trick (breaking some other packages though).

Thanks!