Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664068 - media-video/mkvtoolnix-23.0.0: undefined reference to `libebml::EbmlString::operator
Summary: media-video/mkvtoolnix-23.0.0: undefined reference to `libebml::EbmlString::o...
Status: RESOLVED DUPLICATE of bug 638244
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-19 19:27 UTC by Dominique Michel
Modified: 2018-08-19 21:08 UTC (History)
0 users

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


Attachments
build info (build-info,18.83 KB, text/plain)
2018-08-19 19:36 UTC, Dominique Michel
Details
environment (environment,103.48 KB, text/plain)
2018-08-19 19:38 UTC, Dominique Michel
Details
build log (build.log,167.88 KB, text/x-log)
2018-08-19 19:38 UTC, Dominique Michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Michel 2018-08-19 19:27:33 UTC
When merging mkvzoolnix, I get:

x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -L/usr/lib64 -fstack-protector-strong -Llib/avilib-0.6.10 -Llib/librmff -Lsrc/common -o src/mkvmerge src/merge/mkvmerge.o -Lsrc/merge -lmtxmerge -Lsrc/input -lmtxinput -Lsrc/output -lmtxoutput -Lsrc/merge -lmtxmerge -lmtxcommon -lmagic -lz -lFLAC -logg -lm -lz -lpugixml -lboost_regex-mt -lboost_filesystem -lboost_system -lmatroska -lebml -lavi -lrmff -Lsrc/mpegparser -lmpegparser -lvorbis -logg
src/common/libmtxcommon.a(ebml_chapters_converter.o): In function `mtx::xml::ebml_chapters_converter_c::fix_display(libmatroska::KaxChapterDisplay&) const':
ebml_chapters_converter.cpp:(.text+0x2c05): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
ebml_chapters_converter.cpp:(.text+0x2dfb): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
collect2: error: ld returned 1 exit status

Reproducible: Always

Steps to Reproduce:
1. emerge =media-video/mkvtoolnix-23.0.0
2.
3.


Expected Results:  

 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called src_compile
 *   environment, line 2606:  Called die
 * The specific snippet of code:
 *       rake V=1 -j$(makeopts_jobs) || die


The ebuild is in my test overlay, but I get the exact same error with portage's ebuild.

# emerge -pqv '=media-video/mkvtoolnix-23.0.0::gentoo'
[ebuild     U ] media-video/mkvtoolnix-23.0.0 [21.0.0-r1] USE="-debug -pch -qt5 -test"
Comment 1 Dominique Michel 2018-08-19 19:36:08 UTC
Created attachment 544054 [details]
build info
Comment 2 Dominique Michel 2018-08-19 19:38:01 UTC
Created attachment 544056 [details]
environment
Comment 3 Dominique Michel 2018-08-19 19:38:44 UTC
Created attachment 544058 [details]
build log
Comment 4 Jouni Kosonen 2018-08-19 20:01:08 UTC
I got the same error, even trying to rebuild version 21.0.0-r1.

The error went away after rebuilding dev-libs/libebml-1.3.5 with the same compiler version I was using for mkvtoolnix. I had switched from gcc-6 to gcc-7 in between and the symbol in the earlier version of /usr/lib64/libebml.so.4.0.0 had an extra std::__cxx11 qualifier somewhere.
Comment 5 Andreas Sturmlechner gentoo-dev 2018-08-19 21:08:44 UTC

*** This bug has been marked as a duplicate of bug 638244 ***