Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651354 - media-video/vlc-3.0.1-r1: Automagic handling of "matroska" USE flag
Summary: media-video/vlc-3.0.1-r1: Automagic handling of "matroska" USE flag
Status: RESOLVED FIXED
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: 2018-03-24 12:27 UTC by Ole Langbehn
Modified: 2018-04-10 21:35 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Langbehn 2018-03-24 12:27:54 UTC
On my system, the package does not build due to an error in the matroska demux module, even with use flag matroska disabled.

See attached logs.
Comment 1 Ole Langbehn 2018-03-24 12:35:23 UTC
Sorry, can't attach attachments due to server timeout.

Inline last lines of build log:

libtool: link: /bin/grep -E -e "^vlc_entry" ".libs/libqt_plugin.exp" > ".libs/libqt_plugin.expT"
libtool: link: mv -f ".libs/libqt_plugin.expT" ".libs/libqt_plugin.exp"
libtool: link: x86_64-pc-linux-gnu-g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/crtbeginS.o  gui/qt/.libs/libqt_plugin_la-qt.o gui/qt/.libs/libqt_plugin_la-menus.o gui/qt/.libs/libqt_plugin_la-main_interface.o gui/qt/.libs/libqt_plugin_la-dialogs_provider.o gui/qt/.libs/libqt_plugin_la-input_manager.o gui/qt/.libs/libqt_plugin_la-actions_manager.o gui/qt/.libs/libqt_plugin_la-extensions_manager.o gui/qt/managers/.libs/libqt_plugin_la-addons_manager.o gui/qt/.libs/libqt_plugin_la-recents.o gui/qt/adapters/.libs/libqt_plugin_la-seekpoints.o gui/qt/adapters/.libs/libqt_plugin_la-chromaprint.o gui/qt/adapters/.libs/libqt_plugin_la-variables.o gui/qt/dialogs/.libs/libqt_plugin_la-playlist.o gui/qt/dialogs/.libs/libqt_plugin_la-bookmarks.o gui/qt/dialogs/.libs/libqt_plugin_la-preferences.o gui/qt/dialogs/.libs/libqt_plugin_la-mediainfo.o gui/qt/dialogs/.libs/libqt_plugin_la-epg.o gui/qt/dialogs/.libs/libqt_plugin_la-extended.o gui/qt/dialogs/.libs/libqt_plugin_la-messages.o gui/qt/dialogs/.libs/libqt_plugin_la-errors.o gui/qt/dialogs/.libs/libqt_plugin_la-external.o gui/qt/dialogs/.libs/libqt_plugin_la-plugins.o gui/qt/dialogs/.libs/libqt_plugin_la-sout.o gui/qt/dialogs/.libs/libqt_plugin_la-convert.o gui/qt/dialogs/.libs/libqt_plugin_la-help.o gui/qt/dialogs/.libs/libqt_plugin_la-gototime.o gui/qt/dialogs/.libs/libqt_plugin_la-toolbar.o gui/qt/dialogs/.libs/libqt_plugin_la-open.o gui/qt/dialogs/.libs/libqt_plugin_la-openurl.o gui/qt/dialogs/.libs/libqt_plugin_la-vlm.o gui/qt/dialogs/.libs/libqt_plugin_la-firstrun.o gui/qt/dialogs/.libs/libqt_plugin_la-podcast_configuration.o gui/qt/dialogs/.libs/libqt_plugin_la-extensions.o gui/qt/dialogs/.libs/libqt_plugin_la-fingerprintdialog.o gui/qt/components/.libs/libqt_plugin_la-extended_panels.o gui/qt/components/.libs/libqt_plugin_la-info_panels.o gui/qt/components/.libs/libqt_plugin_la-info_widgets.o gui/qt/components/.libs/libqt_plugin_la-preferences_widgets.o gui/qt/components/.libs/libqt_plugin_la-complete_preferences.o gui/qt/components/.libs/libqt_plugin_la-simple_preferences.o gui/qt/components/.libs/libqt_plugin_la-open_panels.o gui/qt/components/.libs/libqt_plugin_la-interface_widgets.o gui/qt/components/.libs/libqt_plugin_la-controller.o gui/qt/components/.libs/libqt_plugin_la-controller_widget.o gui/qt/components/epg/.libs/libqt_plugin_la-EPGChannels.o gui/qt/components/epg/.libs/libqt_plugin_la-EPGItem.o gui/qt/components/epg/.libs/libqt_plugin_la-EPGProgram.o gui/qt/components/epg/.libs/libqt_plugin_la-EPGRuler.o gui/qt/components/epg/.libs/libqt_plugin_la-EPGView.o gui/qt/components/epg/.libs/libqt_plugin_la-EPGWidget.o gui/qt/components/playlist/.libs/libqt_plugin_la-views.o gui/qt/components/playlist/.libs/libqt_plugin_la-vlc_model.o gui/qt/components/playlist/.libs/libqt_plugin_la-playlist_model.o gui/qt/components/playlist/.libs/libqt_plugin_la-playlist_item.o gui/qt/components/playlist/.libs/libqt_plugin_la-standardpanel.o gui/qt/components/playlist/.libs/libqt_plugin_la-playlist.o gui/qt/components/playlist/.libs/libqt_plugin_la-selector.o gui/qt/components/sout/.libs/libqt_plugin_la-profile_selector.o gui/qt/components/sout/.libs/libqt_plugin_la-sout_widgets.o gui/qt/util/.libs/libqt_plugin_la-animators.o gui/qt/util/.libs/libqt_plugin_la-input_slider.o gui/qt/util/.libs/libqt_plugin_la-timetooltip.o gui/qt/util/.libs/libqt_plugin_la-customwidgets.o gui/qt/util/.libs/libqt_plugin_la-searchlineedit.o gui/qt/util/.libs/libqt_plugin_la-registry.o gui/qt/util/.libs/libqt_plugin_la-qmenuview.o gui/qt/util/.libs/libqt_plugin_la-qt_dirs.o gui/qt/util/.libs/libqt_plugin_la-pictureflow.o gui/qt/util/.libs/libqt_plugin_la-validators.o gui/qt/util/buttons/.libs/libqt_plugin_la-BrowseButton.o gui/qt/util/buttons/.libs/libqt_plugin_la-DeckButtonsLayout.o gui/qt/util/buttons/.libs/libqt_plugin_la-RoundButton.o gui/qt/util/.libs/libqt_plugin_la-imagehelper.o gui/qt/styles/.libs/libqt_plugin_la-seekstyle.o gui/qt/.libs/libqt_plugin_la-main_interface.moc.o gui/qt/.libs/libqt_plugin_la-menus.moc.o gui/qt/.libs/libqt_plugin_la-dialogs_provider.moc.o gui/qt/.libs/libqt_plugin_la-input_manager.moc.o gui/qt/.libs/libqt_plugin_la-actions_manager.moc.o gui/qt/.libs/libqt_plugin_la-extensions_manager.moc.o gui/qt/managers/.libs/libqt_plugin_la-addons_manager.moc.o gui/qt/.libs/libqt_plugin_la-recents.moc.o gui/qt/adapters/.libs/libqt_plugin_la-seekpoints.moc.o gui/qt/adapters/.libs/libqt_plugin_la-chromaprint.moc.o gui/qt/adapters/.libs/libqt_plugin_la-variables.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-playlist.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-bookmarks.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-mediainfo.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-extended.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-messages.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-epg.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-errors.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-external.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-plugins.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-preferences.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-sout.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-convert.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-help.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-gototime.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-toolbar.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-open.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-openurl.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-podcast_configuration.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-vlm.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-firstrun.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-extensions.moc.o gui/qt/dialogs/.libs/libqt_plugin_la-fingerprintdialog.moc.o gui/qt/components/.libs/libqt_plugin_la-extended_panels.moc.o gui/qt/components/.libs/libqt_plugin_la-info_panels.moc.o gui/qt/components/.libs/libqt_plugin_la-info_widgets.moc.o gui/qt/components/.libs/libqt_plugin_la-preferences_widgets.moc.o gui/qt/components/.libs/libqt_plugin_la-complete_preferences.moc.o gui/qt/components/.libs/libqt_plugin_la-simple_preferences.moc.o gui/qt/components/.libs/libqt_plugin_la-open_panels.moc.o gui/qt/components/.libs/libqt_plugin_la-interface_widgets.moc.o gui/qt/components/.libs/libqt_plugin_la-controller.moc.o gui/qt/components/.libs/libqt_plugin_la-controller_widget.moc.o gui/qt/components/epg/.libs/libqt_plugin_la-EPGChannels.moc.o gui/qt/components/epg/.libs/libqt_plugin_la-EPGProgram.moc.o gui/qt/components/epg/.libs/libqt_plugin_la-EPGRuler.moc.o gui/qt/components/epg/.libs/libqt_plugin_la-EPGView.moc.o gui/qt/components/epg/.libs/libqt_plugin_la-EPGWidget.moc.o gui/qt/components/playlist/.libs/libqt_plugin_la-views.moc.o gui/qt/components/playlist/.libs/libqt_plugin_la-vlc_model.moc.o gui/qt/components/playlist/.libs/libqt_plugin_la-playlist_model.moc.o gui/qt/components/playlist/.libs/libqt_plugin_la-playlist.moc.o gui/qt/components/playlist/.libs/libqt_plugin_la-standardpanel.moc.o gui/qt/components/playlist/.libs/libqt_plugin_la-selector.moc.o gui/qt/components/sout/.libs/libqt_plugin_la-profile_selector.moc.o gui/qt/components/sout/.libs/libqt_plugin_la-sout_widgets.moc.o gui/qt/util/.libs/libqt_plugin_la-animators.moc.o gui/qt/util/.libs/libqt_plugin_la-input_slider.moc.o gui/qt/util/.libs/libqt_plugin_la-timetooltip.moc.o gui/qt/util/.libs/libqt_plugin_la-customwidgets.moc.o gui/qt/util/.libs/libqt_plugin_la-searchlineedit.moc.o gui/qt/util/.libs/libqt_plugin_la-qmenuview.moc.o gui/qt/util/.libs/libqt_plugin_la-qvlcapp.moc.o gui/qt/util/.libs/libqt_plugin_la-pictureflow.moc.o gui/qt/util/.libs/libqt_plugin_la-validators.moc.o gui/qt/util/buttons/.libs/libqt_plugin_la-RoundButton.moc.o gui/qt/util/buttons/.libs/libqt_plugin_la-DeckButtonsLayout.moc.o gui/qt/util/buttons/.libs/libqt_plugin_la-BrowseButton.moc.o gui/qt/styles/.libs/libqt_plugin_la-seekstyle.moc.o gui/qt/.libs/libqt_plugin_la-resources.o   -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-3.0.1-r1/work/vlc-3.0.1/src/.libs ../compat/.libs/libcompat.a -L/usr/lib64/sidplay/builders/ ../src/.libs/libvlccore.so -lidn -lpthread -ldl -ldbus-1 -Wl,--as-needed -lQt5Svg -lQt5Widgets -lQt5X11Extras -lQt5Gui -lQt5Core -lX11 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/crtn.o  -march=core-avx2 -O2 -ggdb -Wl,-O1 -Wl,-z -Wl,defs   -Wl,-soname -Wl,libqt_plugin.so -Wl,-retain-symbols-file -Wl,.libs/libqt_plugin.exp -o .libs/libqt_plugin.so
libtool: link: ( cd ".libs" && rm -f "libqt_plugin.la" && ln -s "../libqt_plugin.la" "libqt_plugin.la" )
make[4]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.1-r1/work/vlc-3.0.1/modules'
make[3]: *** [Makefile:27329: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.1-r1/work/vlc-3.0.1/modules'
make[2]: *** [Makefile:12436: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.1-r1/work/vlc-3.0.1/modules'
make[1]: *** [Makefile:1530: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-video/vlc-3.0.1-r1/work/vlc-3.0.1'
make: *** [Makefile:1415: all] Error 2
 * ERROR: media-video/vlc-3.0.1-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-video/vlc-3.0.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/vlc-3.0.1-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-video:vlc-3.0.1-r1:20180324-114547.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-3.0.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/vlc-3.0.1-r1/work/vlc-3.0.1'
 * S: '/var/tmp/portage/media-video/vlc-3.0.1-r1/work/vlc-3.0.1'
Comment 2 Ole Langbehn 2018-03-24 12:35:39 UTC
emerge --info:

Portage 2.3.24 (python 2.7.14-final-0, default/linux/amd64/17.0, gcc-7.3.0, glibc-2.26-r6, 4.15.11-gentoo_1 x86_64)
=================================================================
System uname: Linux-4.15.11-gentoo_1-x86_64-Intel-R-_Core-TM-_i7-4800MQ_CPU_@_2.70GHz-with-gentoo-2.4.1
KiB Mem:    16390376 total,   5078140 free
KiB Swap:   20970488 total,  20970472 free
Timestamp of repository gentoo: Sat, 24 Mar 2018 09:45:01 +0000
Head commit of repository gentoo: b272f01ac9a8cad378882a31b0a442f04c2d015b
Head commit of repository gentoo-snappy: 0ea79c799ebe1bc6cd924b9dd707b710eea24e83

sh bash 4.4_p19
ld GNU ld (Gentoo 2.30 p1) 2.30.0
app-shells/bash:          4.4_p19::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.1-r2::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo, 3.6.4::gentoo
dev-util/cmake:           3.10.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.35.5::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 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-r3::gentoo
sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 

my_local_overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 0

asux
    location: /var/lib/layman/asux
    masters: gentoo
    priority: 50

brother-overlay
    location: /var/lib/layman/brother-overlay
    sync-type: laymansync
    sync-uri: git://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo
    priority: 50

fw-overlay
    location: /var/lib/layman/fw-overlay
    sync-type: laymansync
    sync-uri: https://github.com/no-hope/fw-overlay.git
    masters: gentoo
    priority: 50

gentoo-snappy
    location: /usr/local/portage/gentoo-snappy
    sync-type: git
    sync-uri: https://github.com/zyga/gentoo-snappy.git
    masters: gentoo
    priority: 50

go-overlay
    location: /var/lib/layman/go-overlay
    sync-type: laymansync
    sync-uri: https://github.com/Dr-Terrible/go-overlay.git
    masters: gentoo
    priority: 50

torbrowser
    location: /var/lib/layman/torbrowser
    sync-type: laymansync
    sync-uri: git://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core-avx2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going -j --load-average 12.0 --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install 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://mirror.netcologne.de/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="gzip"
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 Xaw3d a52 aac aalib acl acpi alsa amd64 apache2 audiofile bash-completion berkdb bluetooth branding bsf bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit crypt css cups curl cvs cxx dbus dga directfb djvu dri dts dv dvd dvdr encode exif fbcon ffmpeg firefox flac fontconfig fortran ftp gd gdbm gif gimp glut gnome gnuplot gphoto2 gpm gstreamer gtk gtk3 gtkhtml gzip handbook iconv icq icu idn ieee1394 imagemagick imap imlib innodb ipv6 jabber java java6 javascript jingle jpeg jpeg2k kde latex lcms ldap libnotify lm_sensors lzma lzo mad matroska mhash mime mng modules mono motif mozilla mp3 mp4 mpeg mplayer musicbrainz mysql mysqli ncurses nls nptl ocamlopt odbc ofx ogg openexr opengl openmp pam pcmcia pcre pdf pic plasma png policykit posix postgres ppds pulseaudio qt3support qt5 rdesktop readline recode rss ruby samba sasl sdl seccomp sharedmem shorten smp sockets sound spell sqlite sqlite3 ssl startup-notification subversion svg syslog tcl tcpd theora threads tidy tiff truetype udev udisks unicode upower usb vaapi vhosts vim-syntax vnc vorbis wifi wmf wxwidgets x264 xattr xcb xcomposite xft xine xinerama xml xmpp xosd xpm xscreensaver xsl xv xvid zlib zsh-completion" 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="actions alias auth_basic auth_digest authn_anon authn_core authn_dbd authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_connect proxy_http rewrite setenvif so socache_shmcb speling status unique_id unixd 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 avx2 fma3 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="evdev synaptics" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby22 ruby23 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 vesa" 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_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Ole Langbehn 2018-03-24 12:37:00 UTC
relevant part of the build log from above the last lines from comment 1:

libtool: link: ( cd ".libs" && rm -f "libncurses_plugin.la" && ln -s "../libncurses_plugin.la" "libncurses_plugin.la" )                                                                                                                      
../doltlibtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=core-avx2 -O2 -pipe -ggdb  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -fvisibility=hidden -avoid-version -module -export-symbols-regex ^vlc_entry -shrext .so -no-undefined ../compat/libcompat.la ../src/libvlccore.la  -Wl,-O1 -Wl,--as-needed -L/usr/lib64/sidplay/builders/ -Wl,-z,defs -o libconsole_logger_plugin.la -rpath /usr/lib64/vlc/plugins/logger logger/console.lo  
libtool: link: ( cd ".libs" && rm -f "libdemux_chromecast_plugin.la" && ln -s "../libdemux_chromecast_plugin.la" "libdemux_chromecast_plugin.la" )
../doltlibtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -march=core-avx2 -O2 -pipe -ggdb  -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -Wshadow=local -fvisibility=hidden -avoid-version -module -export-symbols-regex ^vlc_entry -shrext .so -no-undefined ../compat/libcompat.la ../src/libvlccore.la  -Wl,-O1 -Wl,--as-needed -L/usr/lib64/sidplay/builders/ -Wl,-z,defs -o libfile_logger_plugin.la -rpath /usr/lib64/vlc/plugins/logger logger/file.lo  
libtool: link: /usr/bin/x86_64-pc-linux-gnu-nm -B  keystore/.libs/memory.o keystore/.libs/list_util.o   | sed -n -e 's/^.*[      ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /bin/sed 's/.* //' | sort | uniq > .libs/libmemory_keystore_plugin.exp
demux/mkv/.libs/libmkv_plugin_la-matroska_segment.o: In function `matroska_segment_c::ParseSimpleTags(SimpleTag*, libmatroska::KaxTagSimple*, int)':
/var/tmp/portage/media-video/vlc-3.0.1-r1/work/vlc-3.0.1/modules/demux/mkv/matroska_segment.cpp:304: 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 `KaxChapterLanguage_handler':
/var/tmp/portage/media-video/vlc-3.0.1-r1/work/vlc-3.0.1/modules/demux/mkv/matroska_segment_parse.cpp:1207: 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 `KaxChapterCountry_handler':
/var/tmp/portage/media-video/vlc-3.0.1-r1/work/vlc-3.0.1/modules/demux/mkv/matroska_segment_parse.cpp:1211: 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 `KaxTrackLanguage_handler':
/var/tmp/portage/media-video/vlc-3.0.1-r1/work/vlc-3.0.1/modules/demux/mkv/matroska_segment_parse.cpp:352: 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 `KaxCodecID_handler':
/var/tmp/portage/media-video/vlc-3.0.1-r1/work/vlc-3.0.1/modules/demux/mkv/matroska_segment_parse.cpp:359: 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:/var/tmp/portage/media-video/vlc-3.0.1-r1/work/vlc-3.0.1/modules/demux/mkv/matroska_segment_parse.cpp:360: more undefined references to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const' follow
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:16447: libmkv_plugin.la] Error 1
make[4]: *** Waiting for unfinished jobs....
Comment 4 Arfrever Frehtes Taifersar Arahesis 2018-03-24 19:57:44 UTC
You forgot to rebuild dev-libs/libebml and media-libs/libmatroska after switching GCC version.

The only valid part of this bug report is:

(In reply to Ole Langbehn from comment #0)
> even with use flag matroska disabled

Apparently "matroska" USE flag does not affect call to econf in >=media-video/vlc-3.
Comment 5 Ole Langbehn 2018-03-24 21:42:46 UTC
confirmed that rebuilding libebml and libmatroska allows me to build vlc-3.0.1-r1.

Thanks.

Out of curiosity, how can I tell that a rebuild with the new GCC is required?
Comment 6 Arfrever Frehtes Taifersar Arahesis 2018-03-25 01:20:32 UTC
It can be guessed from error messages from linker shown in comment #3:
undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'

See https://gcc.gnu.org/gcc-7/porting_to.html#conversion-op-mangling

'std::string()' is the short alias for 'std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&()'.
Comment 7 Larry the Git Cow gentoo-dev 2018-04-10 21:35:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dc8bf3867b9029c622655b6417e349aa0ac0dcf

commit 9dc8bf3867b9029c622655b6417e349aa0ac0dcf
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-04-10 21:34:33 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-04-10 21:34:51 +0000

    media-video/vlc: Add missing USE=matroska build switch
    
    Closes: https://bugs.gentoo.org/651354
    Package-Manager: Portage-2.3.28, Repoman-2.3.9

 media-video/vlc/vlc-3.0.1-r1.ebuild | 1 +
 media-video/vlc/vlc-3.0.9999.ebuild | 1 +
 media-video/vlc/vlc-9999.ebuild     | 1 +
 3 files changed, 3 insertions(+)