Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647482 - media-video/vlc-3.0.0 - matroska_segment.cpp:(.text+0x4a8e): 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.0.0 - matroska_segment.cpp:(.text+0x4a8e): undefined refere...
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:
: 647760 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-02-13 09:34 UTC by Andrew Ammerlaan
Modified: 2018-06-30 20:33 UTC (History)
3 users (show)

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


Attachments
build.tar.gz (build.tar.gz,101.89 KB, application/gzip-compressed-tar)
2018-02-13 09:35 UTC, Andrew Ammerlaan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Ammerlaan gentoo-dev 2018-02-13 09:34:29 UTC
vlc-3.0.0 fails with an undefined referenc to libebml, with libebml-1.3.5. 
Because the error happens in function `matroska_segment_c I tried to merge without USE="matroska", same problem.


andrew@Andrew-Gentoo ~ $ emerge -pqv '=media-video/vlc-3.0.0::gentoo'
[ebuild  r  U ] media-video/vlc-3.0.0 [2.2.8-r1] USE="X a52 aalib alsa avcodec avformat bidi bluray cddb chromaprint dbus dts dvb dvbpsi dvd encode faad fdk ffmpeg flac fluidsynth fontconfig gcrypt gnutls gstreamer jack jpeg kate libass libcaca libnotify libsamplerate libtar libtiger live lua matroska modplug mp3 mpeg mtp musepack ncurses ogg opengl opus png postproc projectm pulseaudio qt5 rtsp skins svg swscale taglib theora truetype udev upnp v4l vaapi vcd%* vdpau vlm vorbis x264 x265 xcb xml xv zeroconf (-altivec) (-aom) -archive% -chromecast% -dc1394 -debug (-directx) (-dxva2) -gme -ieee1394 -libav -linsys -lirc -macosx-notifications% (-macosx-qtkit) (-neon) -nfs% -omxil -opencv -optimisememory -rdp -run-as-root -samba -schroedinger -sdl-image -sftp -shout -sid -speex {-test} -tremor -twolame -vnc -vpx -wma-fixed -zvbi (-atmo%) (-audioqueue%) (-cdda%*) (-gnome%) (-growl%) (-httpd%) (-macosx-dialog-provider%) (-macosx-eyetv%) (-macosx-quartztext%) (-sdl%*) (-vcdx%*)" CPU_FLAGS_X86="mmx sse" 
[ebuild  rR   ] media-libs/phonon-vlc-0.9.1-r1  USE="qt4 qt5 -debug" 

The following packages are causing rebuilds:

  (media-video/vlc-3.0.0:0/5-9::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (media-libs/phonon-vlc-0.9.1-r1:0/0::gentoo, ebuild scheduled for merge)






andrew@Andrew-Gentoo ~ $ emerge --info '=media-video/vlc-3.0.0::gentoo'
Portage 2.3.24 (python 3.6.4-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.26-r5, 4.15.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.15.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.4.1
KiB Mem:    16345300 total,   5043760 free
KiB Swap:    7488508 total,   7488508 free
Timestamp of repository gentoo: Mon, 12 Feb 2018 17:46:27 +0000
Head commit of repository gentoo: 3483e579ea3dd2c1ba666ef97f9cd706b00cb478

Timestamp of repository steam-overlay: Sun, 11 Feb 2018 18:15:19 +0000
Head commit of repository steam-overlay: 62b535d189274ce98f9cac980428de36cc51a704

sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p1) 2.30.0
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo, 3.6.4::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.10.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.30::gentoo
sys-devel/gcc:            7.3.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

local
    location: /usr/local/portage/overlay
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask --ask-enter-invalid --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB nl"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg flac fontconfig fortran gcc gdbm gif glamor gpm gstreamer gtk iconv ipv6 jpeg kde kipi kwallet latex lcms ldap libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt5 readline sdl seccomp semantic-desktop spell sse sse2 ssl startup-notification svg taglib tcpd tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vlc vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB nl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby22 ruby23 ruby25" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrew Ammerlaan gentoo-dev 2018-02-13 09:35:48 UTC
Created attachment 519298 [details]
build.tar.gz
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-02-13 10:00:53 UTC
(In reply to Andrew Ammerlaan from comment #1)
> Created attachment 519298 [details]
> build.tar.gz

Compression is fine. Why did you also stuff it in a tarball?
Comment 3 Andrew Ammerlaan gentoo-dev 2018-02-13 15:25:55 UTC
(In reply to Jeroen Roovers from comment #2)
> (In reply to Andrew Ammerlaan from comment #1)
> > Created attachment 519298 [details]
> > build.tar.gz
> 
> Compression is fine. Why did you also stuff it in a tarball?

No reason, just right clicked it and choose the top one in the compress submenu. It didn't fit uncompressed, do you prefer just compressed without the tarball?
Comment 4 Andreas Sturmlechner gentoo-dev 2018-02-13 22:24:11 UTC
This looks like you need to rebuild libebml after ABI breakage.
Comment 5 Andrew Ammerlaan gentoo-dev 2018-02-14 17:21:27 UTC
emerge -1 libebml fixed my problem. 

Thank You
Comment 6 Andreas Sturmlechner gentoo-dev 2018-02-14 22:18:26 UTC
Thanks for checking back.
Comment 7 Nikolaj Šujskij 2018-02-14 22:20:37 UTC
Could we maybe reach out to libebml maintainers, so that it would have been rebuilt (semi)automatically by portage?
Comment 8 Andreas Sturmlechner gentoo-dev 2018-02-15 18:36:58 UTC
*** Bug 647760 has been marked as a duplicate of this bug. ***
Comment 9 tonemgub 2018-03-25 13:37:39 UTC
This bug just snuck up on me with =media-video/vlc-3.0.0-r3. Solution was the same, manually run "emerge -1 libebml". I guess there's no need to open a new bug for it...
Comment 10 Lori 2018-05-31 09:38:13 UTC
(In reply to Nikolaj Šujskij from comment #7)
> Could we maybe reach out to libebml maintainers, so that it would have been
> rebuilt (semi)automatically by portage?

It would be a good idea. VLC 3.0.2 was just recently stabilized, and I ran into this issue too (only now). I was able to fix it, but I assume a lot more people will run into it now that VLC 3.x is stable.

Maybe a dev-libs/libebml-1.3.5-r1 bump?
Comment 11 Alex Efros 2018-06-30 20:33:38 UTC
Just happens to me with media-video/vlc-3.0.2-r1.
Workaround works, but we really need to bump libebml.