Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 426754

Summary: =media-video/vlc-2.0.1 - Update to VLC 2.0.1 breaks MKVs.
Product: Gentoo Linux Reporter: spacexplosion
Component: Current packagesAssignee: Tom Wijsman (TomWij) (RETIRED) <tomwij>
Status: RESOLVED FIXED    
Severity: normal CC: media-video
Priority: Normal    
Version: 10.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description spacexplosion 2012-07-15 22:10:35 UTC
Updated to VLC 2.0.1. Now it can't play any mkv files. I tried unmasking 2.0.2 and it's the same.
The errors it gives are:
[0x2191fa8] qt4 interface error: Unable to load extensions module
[0x21ddf38] mkv demux error: cannot find KaxSegment or missing mandatory KaxInfo
Comment 1 spacexplosion 2012-07-15 22:14:44 UTC
$ emerge --info
Portage 2.1.10.65 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.14.1-r3, 3.3.8-gentoo x86_64)
=================================================================
System uname: Linux-3.3.8-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_D510_@_1.66GHz-with-gentoo-2.1
Timestamp of tree: Sun, 15 Jul 2012 21:45:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-a"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa amd64 amr ass berkdb bzip2 cli consolekit cracklib crypt cups cxx dbus dri dts dvd ffmpeg flac fontconfig fortran gdbm gif gnutls gpm gstreamer iconv ipv6 jpeg kate libass matroska mmx mmxext modules mp3 mpeg mudflap multilib ncurses network nls nptl nsplugin ogg opengl openmp pam pcre pdf png pppd qt3support quicktime readline samba schroedinger session skins sse sse2 ssl ssse3 stream svg tcpd theora threads thunar tiff truetype udev unicode vaapi vdpau vorbis x264 xml xorg xv xvid xvmc zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Alexis Ballier gentoo-dev 2012-07-18 13:40:04 UTC
(In reply to comment #0)

> [0x21ddf38] mkv demux error: cannot find KaxSegment or missing mandatory
> KaxInfo

got a sample mkv ?
Comment 3 Alexis Ballier gentoo-dev 2012-07-18 14:45:17 UTC
(In reply to comment #1)
> $ emerge --info
> [...] gcc-4.4.5 [...]
        ^^^^^^^^^

some googling suggests you should try with gcc 4.5 or later
Comment 4 spacexplosion 2012-07-18 16:17:25 UTC
Thanks for googling for me. I saw some forum posts saying that a newer compiler fixed it, but what I read didn't specify the version needed. Is there any dynamic linking going on that I need to worry about rebuilding dependencies, or can I rebuild only VLC with gcc-4.5?
Comment 5 Alexis Ballier gentoo-dev 2012-07-18 16:30:24 UTC
(In reply to comment #4)
> Is
> there any dynamic linking going on that I need to worry about rebuilding
> dependencies, or can I rebuild only VLC with gcc-4.5?


see http://www.gentoo.org/doc/en/gcc-upgrading.xml
you can probably switch gcc, build vlc, and let other packages be rebuilt with new gcc as they are rebuilt with updates; though its probably a bad idea to go back to gcc 4.4 after.
Comment 6 spacexplosion 2012-07-21 19:59:24 UTC
(In reply to comment #3)
> some googling suggests you should try with gcc 4.5 or later

That fixes it. Does portage have a way to prevent this from happening? It can't mask by gcc version... Or would that have to be solved in an upstream patch?
Comment 7 Alexis Ballier gentoo-dev 2012-07-23 12:01:36 UTC
(In reply to comment #6)
> (In reply to comment #3)
> > some googling suggests you should try with gcc 4.5 or later
> 
> That fixes it. Does portage have a way to prevent this from happening? It
> can't mask by gcc version... Or would that have to be solved in an upstream
> patch?

well, not really: vlc code will not change as it seems it fixes a vulnerability, and we do not have a way of forcing gcc 4.5 or later besides stopping if we are built with an older gcc and tell the user to switch...
Comment 8 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-26 06:25:33 UTC
+  26 Oct 2013; Tom Wijsman <TomWij@gentoo.org> vlc-2.0.9999.ebuild,
+  vlc-2.1.9999.ebuild, vlc-9999.ebuild:
+  Fix bug #426754 by bailing out on <sys-devel/gcc-4.5. Prepared for version
+  bumps by fixing up SRC_URI to support the a release.

Thank you for reporting, this will be part of the next version bumps which will happen today.