vlc-1.1.7 fail to compile due to problems with mkv headers: In file included from virtual_segment.hpp:29, from virtual_segment.cpp:25: mkv.hpp:95:34: error: matroska/KaxTagMulti.h: No such file or directory In file included from mkv.cpp:25: Reproducible: Always Steps to Reproduce: emerge vlc Actual Results: make[6]: Entering directory `/var/tmp/portage/media-video/vlc-1.1.7/work/vlc-1.1.7/modules/demux/mkv' CXX libmkv_plugin_la-util.lo CXX libmkv_plugin_la-virtual_segment.lo CXX libmkv_plugin_la-mkv.lo CXX libmkv_plugin_la-matroska_segment.lo In file included from util.hpp:26, from util.cpp:25: mkv.hpp:95:34: error: matroska/KaxTagMulti.h: No such file or directory In file included from virtual_segment.hpp:29, from virtual_segment.cpp:25: mkv.hpp:95:34: error: matroska/KaxTagMulti.h: No such file or directory In file included from mkv.cpp:25: mkv.hpp:95:34: error: matroska/KaxTagMulti.h: No such file or directory In file included from matroska_segment.hpp:28, from matroska_segment.cpp:25: mkv.hpp:95:34: error: matroska/KaxTagMulti.h: No such file or directory matroska_segment.cpp: In member function ‘void matroska_segment_c::LoadTags(libmatroska::KaxTags*)’: matroska_segment.cpp:223: error: ‘KaxTagGeneral’ was not declared in this scope matroska_segment.cpp:233: error: ‘KaxTagGenres’ was not declared in this scope matroska_segment.cpp:243: error: ‘KaxTagAudioSpecific’ was not declared in this scope matroska_segment.cpp:253: error: ‘KaxTagImageSpecific’ was not declared in this scope matroska_segment.cpp:263: error: ‘KaxTagMultiComment’ was not declared in this scope matroska_segment.cpp:267: error: ‘KaxTagMultiCommercial’ was not declared in this scope matroska_segment.cpp:271: error: ‘KaxTagMultiDate’ was not declared in this scope matroska_segment.cpp:275: error: ‘KaxTagMultiEntity’ was not declared in this scope matroska_segment.cpp:279: error: ‘KaxTagMultiIdentifier’ was not declared in this scope matroska_segment.cpp:283: error: ‘KaxTagMultiLegal’ was not declared in this scope matroska_segment.cpp:287: error: ‘KaxTagMultiTitle’ was not declared in this scope make[6]: *** [libmkv_plugin_la-util.lo] Errore 1 make[6]: *** Attesa dei processi non terminati.... make[6]: *** [libmkv_plugin_la-matroska_segment.lo] Errore 1 make[6]: *** [libmkv_plugin_la-virtual_segment.lo] Errore 1 make[6]: *** [libmkv_plugin_la-mkv.lo] Errore 1 make[6]: Leaving directory `/var/tmp/portage/media-video/vlc-1.1.7/work/vlc-1.1.7/modules/demux/mkv' make[5]: *** [all] Errore 2 make[5]: Leaving directory `/var/tmp/portage/media-video/vlc-1.1.7/work/vlc-1.1.7/modules/demux/mkv' make[4]: *** [all-recursive] Errore 1 make[4]: Leaving directory `/var/tmp/portage/media-video/vlc-1.1.7/work/vlc-1.1.7/modules/demux' make[3]: *** [all] Errore 2 make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-1.1.7/work/vlc-1.1.7/modules/demux' make[2]: *** [all-recursive] Errore 1 make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-1.1.7/work/vlc-1.1.7/modules' make[1]: *** [all-recursive] Errore 1 make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-1.1.7/work/vlc-1.1.7' make: *** [all] Errore 2 Portage 2.2.0_alpha19 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.36.2 x86_64) ================================================================= System uname: Linux-2.6.36.2-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 02 Feb 2011 07:30:09 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r1, 2.7.1, 3.1.3 dev-util/cmake: 2.8.3-r1 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.4.5, 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) Repositories: gentoo overlay ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mtune=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -mtune=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ " LANG="it_IT.utf8" LC_ALL="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="it en" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 3dnowprefetch X a52 aac aalib acl acpi aim alsa amd64 ares asf ati audio audiofile avahi bash-completion berkdb bidi bl bluetooth branding bri bzip2 caps cdda cdparanoia cdr cjk cli consolekit cracklib crypt cups curl cxx dba dbus device-mapper dga divx divx4linux dri dts dv dvb dvd dvdr dvdread edl encode ethereal exif expat faad fam fame fbcon ffmpeg fftw flac force-cgi-redirect fortran ftp gallium garmin gd gdbm gimp gmedia gmp gnutls gphoto2 gpm gps gsm h264 h323 hal iconv icq idn ifp ilbc imagemagick imap innodb ipod iproute2 ipv6 ithreads jabber jack java javascript joystick jpeg kde kontact kvm lastfm lcms libcaca libnotify libvirtd live lm_sensors lua lvm lxc lzma lzo maildir matroska mbox mdnsresponder-compat mhash mime mjpeg mmap mmx mmxext mng modules mozdevelop mozilla mp3 mp4 msn mtp mudflap multilib mysql ncurses nepomuk network new-hpcups nfsv4 njb nls nptl nptlonly nsplugin offensive ofx ogg oggvorbis ogm openal openexr opengl openmp oscar pam parted pcap pcre pdf perl phonon php plasma plotutils png ppds pppd python qemu qt3support qt4 readline rtc ruby samba sasl sdl semantic-desktop session sha512 sip slang slp sndfile snmp sox speex spell srt sse sse2 ssh ssl ssse3 startup-notification svg symlink sysfs tcltk tcpd theora threads tiff tk tremor udev unicode usb utempter v4l v4l2 vcd vdpau vhosts video videos vim-syntax virtualbox vorbis wav webkit wifi wmf wmp wxwindows x264 xanim xattr xen xface xft xine xinerama xorg xosd xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo zlib zpm" 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" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Yeah same here. Just updated matroska and now vlc will not compile :(
The same bug with ~amd64 dev-libs/libebml and media-libs/libmatroska, but vlc compiles with stable versions of theese packages.
(In reply to comment #1) > Yeah same here. > Just updated matroska and now vlc will not compile :( Same here.
Summary should probably state that media-video/vlc-1.1.7 is incompatible with media-libs/libmatroska-1.1.0 and hence should get a dependency on <media-libs/libmatroska-1.1.0.
Created attachment 261347 [details, diff] Fix vlc build with libmatroska-1.1.0 This patch fixes building VLC by removing some code that references the removed header in libmatroska. There is no functional change, the code was only printing tags for debugging purposes.
*** Bug 353525 has been marked as a duplicate of this bug. ***
The official upstream patch can be pulled from the git repo using this command: git format-patch -1 7be936
(In reply to comment #7) > The official upstream patch can be pulled from the git repo using this command: > git format-patch -1 7be936 Which I should note fails to apply on vlc-1.1.7, but is easy to fix.
Patch works. Thank you Ambroz.
patch applied, thanks
*** Bug 353617 has been marked as a duplicate of this bug. ***