Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 618460 - media-tv/kodi-17.1-r3: undefined reference
Summary: media-tv/kodi-17.1-r3: undefined reference
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-14 16:23 UTC by Alex
Modified: 2017-05-30 19:22 UTC (History)
3 users (show)

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


Attachments
Emerge --info log (emerge-info.txt,4.96 KB, text/plain)
2017-05-14 16:24 UTC, Alex
Details
emerge -pqv kodi log (emerge-pqv.txt,329 bytes, text/plain)
2017-05-14 16:24 UTC, Alex
Details
build log gzipped (build.log.gz,104.81 KB, application/gzip)
2017-05-14 16:26 UTC, Alex
Details

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