Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 680202 - media-video/vlc-3.x.x - matroska_segment_parse.cpp: undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
Summary: media-video/vlc-3.x.x - matroska_segment_parse.cpp: undefined reference to `l...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-13 08:47 UTC by Vladislav
Modified: 2019-03-14 01:18 UTC (History)
0 users

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


Attachments
Build log of VLC (vlc_build.log.gz,85.06 KB, application/gzip)
2019-03-13 09:01 UTC, Vladislav
Details
Output of Emerge --info (emerge-info.txt,15.45 KB, text/plain)
2019-03-13 09:01 UTC, Vladislav
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladislav 2019-03-13 08:47:13 UTC
As described in link:
https://forums.gentoo.org/viewtopic-t-1077132.html

Upgrade of GCC needs rebuild of libebml. Cause without rebuild - VLC-player won't compile.
Error:
matroska_segment_parse.cpp: undefined reference to 'libebml::EbmlString::operator' etc.

This lib also reported in ticket: https://bugs.gentoo.org/657004
Already year forum-branch get new answers and this seems not fixed.

Reproducible: Always
Comment 1 Vladislav 2019-03-13 08:49:30 UTC
libebml-1.3.5 without debug and static-libs
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-13 08:52:57 UTC
1. Please attach the entire build log to this bug report.
2. Please post your `emerge --info` output in a comment.
Comment 3 Vladislav 2019-03-13 09:01:04 UTC
Created attachment 568960 [details]
Build log of VLC
Comment 4 Vladislav 2019-03-13 09:01:42 UTC
Created attachment 568962 [details]
Output of Emerge --info
Comment 5 Vladislav 2019-03-13 09:01:59 UTC
(In reply to Jeroen Roovers from comment #2)
> 1. Please attach the entire build log to this bug report.
> 2. Please post your `emerge --info` output in a comment.

fxd
Comment 6 Vladislav 2019-03-13 09:05:59 UTC
emerge -au vlc:

Calculating dependencies... done!
[ebuild     U  ] media-video/vlc-3.0.6-r1:0/5-9::gentoo [2.2.8-r1:0/5-8::gentoo] USE="X a52 alsa bluray cddb dbus dts dvbpsi dvd encode ffmpeg flac fontconfig gcrypt gstreamer jack jpeg kate libass libcaca libnotify libsamplerate matroska mp3 mpeg mtp ncurses ogg png qt5 skins speex ssl%* theora truetype udev v4l vaapi vdpau vorbis wma-fixed x264 x265 xml (-altivec) (-aom) -archive% -aribsub% -bidi -chromaprint -chromecast% (-dav1d) -dc1394 -debug (-directx) -faad -fdk -fluidsynth -gme -gnome-keyring% -ieee1394 -libav -libtar -libtiger -linsys -lirc -live -lua -macosx-notifications% (-macosx-qtkit) -mad% -modplug -musepack (-neon) -nfs% -omxil -opencv -optimisememory -opus -postproc -projectm -pulseaudio -rdp -run-as-root -samba -sdl-image -sftp -shout -sid -soxr% (-srt) -svg -taglib -test -tremor -twolame -upnp -vnc -vpx -wayland% -zeroconf -zvbi (-aalib%*) (-atmo%) (-audioqueue%) (-avcodec%*) (-avformat%*) (-cdda%*) (-dvb%*) (-dxva2%) (-gnome%) (-gnutls%*) (-growl%) (-httpd%) (-macosx-dialog-provider%) (-macosx-eyetv%) (-macosx-quartztext%) (-opengl%) (-rtsp%) (-schroedinger%) (-sdl%) (-swscale%*) (-vcdx%) (-vlm%*) (-xcb%*) (-xv%)" CPU_FLAGS_X86="mmx sse" 0 KiB
Comment 7 Arfrever Frehtes Taifersar Arahesis 2019-03-14 01:18:25 UTC
demux/mkv/.libs/libmkv_plugin_la-matroska_segment.o: In function `matroska_segment_c::ParseSimpleTags(SimpleTag*, libmatroska::KaxTagSimple*, int)':
matroska_segment.cpp:(.text+0x4af6): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o: In function `matroska_segment_c::ParseChapterAtom(int, libmatroska::KaxChapterAtom*, chapter_item_c&)::ChapterAtomHandlers::KaxChapterLanguage_callback(libebml::EbmlElement*, void*)':
matroska_segment_parse.cpp:(.text+0x1425): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o: In function `matroska_segment_c::ParseChapterAtom(int, libmatroska::KaxChapterAtom*, chapter_item_c&)::ChapterAtomHandlers::KaxChapterCountry_callback(libebml::EbmlElement*, void*)':
matroska_segment_parse.cpp:(.text+0x1445): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o: In function `matroska_segment_c::ParseTrackEntry(libmatroska::KaxTrackEntry const*)::MetaDataHandlers::KaxTrackLanguage_callback(libebml::EbmlElement*, void*)':
matroska_segment_parse.cpp:(.text+0x2720): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o: In function `matroska_segment_c::ParseTrackEntry(libmatroska::KaxTrackEntry const*)::MetaDataHandlers::KaxCodecID_callback(libebml::EbmlElement*, void*)':
matroska_segment_parse.cpp:(.text+0x2814): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
demux/mkv/.libs/libmkv_plugin_la-matroska_segment_parse.o:matroska_segment_parse.cpp:(.text+0x28a2): more undefined references to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const' follow



This means that you forgot to rebuild C++ libraries (e.g. dev-libs/libebml) after upgrading GCC (from GCC <6 to GCC >=6.)