Opened 14 years ago

Closed 13 years ago

#28401 closed defect (fixed)

VLC fails to upgrade to 1.0.6 due to missing matroska headers

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: mnick@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: user-macports.org-trac-20110213@…, furrylemmings@…
Port: VLC

Description

make[6]: Entering directory `/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_multimedia_VLC/work/vlc-1.0.6/modules/demux/mkv'
/bin/sh ../../../libtool  --tag=CXX   --mode=compile /Developer/usr/bin/llvm-g++-4.2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I../../../include -I/opt/local/include -DSYS_DARWIN `top_srcdir="../../.." top_builddir="../../.." ../../../vlc-config --cxxflags plugin libmkv_plugin_la-mkv.lo` -O2 -arch x86_64 -D_INTL_REDIRECT_MACROS -DMACOSX_DEPLOYMENT_TARGET=10.5 -MT libmkv_plugin_la-mkv.lo -MD -MP -MF .deps/libmkv_plugin_la-mkv.Tpo -c -o libmkv_plugin_la-mkv.lo `test -f 'mkv.cpp' || echo './'`mkv.cpp
libtool: compile:  /Developer/usr/bin/llvm-g++-4.2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include -I/opt/local/include -DSYS_DARWIN -I/opt/local/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DHAVE_RELEASE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=mkv -DMODULE_NAME_IS_mkv -DMODULE_STRING=\"mkv\" -O4 -ffast-math -funroll-loops -fno-omit-frame-pointer -O1 -O2 -arch x86_64 -D_INTL_REDIRECT_MACROS -DMACOSX_DEPLOYMENT_TARGET=10.5 -MT libmkv_plugin_la-mkv.lo -MD -MP -MF .deps/libmkv_plugin_la-mkv.Tpo -c mkv.cpp  -fno-common -DPIC -o .libs/libmkv_plugin_la-mkv.o
In file included from mkv.cpp:25:
mkv.hpp:96:34: error: matroska/KaxTagMulti.h: No such file or directory
mkv.cpp: In function 'void BlockDecode(demux_t*, libmatroska::KaxBlock*, libmatroska::KaxSimpleBlock*, mtime_t, mtime_t, bool)':
mkv.cpp:537: warning: comparison is always false due to limited range of data type
make[6]: *** [libmkv_plugin_la-mkv.lo] Error 1
make[6]: Leaving directory `/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_multimedia_VLC/work/vlc-1.0.6/modules/demux/mkv'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_multimedia_VLC/work/vlc-1.0.6/modules/demux/mkv'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_multimedia_VLC/work/vlc-1.0.6/modules/demux'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_multimedia_VLC/work/vlc-1.0.6/modules/demux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_multimedia_VLC/work/vlc-1.0.6/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_Volumes_Home_jeremy_src_macports_trunk_dports_multimedia_VLC/work/vlc-1.0.6'
make: *** [all] Error 2
variant: +svg
variant: +mpc
variant: +huge
variant: +x11
variant: +sdl
variant: +x264
variant: +vcd
variant: +mod
variant: +twolame
variant: +fribidi
variant: +smb
variant: +theora
variant: +shout
variant: +dvb
variant: +speex
variant: +osd
variant: +bonjour

Attachments (2)

Portfile (8.9 KB) - added by i+macports@… 14 years ago.
Patched portfile
patch-libmatroska-1.1.0.diff (3.6 KB) - added by i+macports@… 14 years ago.
libmatroska diff file

Download all attachments as: .zip

Change History (10)

comment:1 Changed 14 years ago by user-macports.org-trac-20110213@…

Cc: user-macports.org-trac-20110213@… added

Cc Me!

comment:2 Changed 14 years ago by furrylemmings@…

Happening to me also. Appears the matroska folder is missing?

comment:3 Changed 14 years ago by furrylemmings@…

Cc: furrylemmings@… added

Cc Me!

comment:4 in reply to:  2 Changed 14 years ago by furrylemmings@…

Replying to furrylemmings@…:

Happening to me also. Appears the matroska folder is missing?

Ok, looks like for some reason there is no file KaxTagMulti.h in /opt/local/include/matroska

comment:5 Changed 14 years ago by furrylemmings@…

According to here http://forum.videolan.org/viewtopic.php?f=13&t=87044 and here http://bugs.gentoo.org/show_bug.cgi?id=353491 problem appears to be libmatroska 1.1.0

comment:6 Changed 14 years ago by stefan.schmidt@…

Changed 14 years ago by i+macports@…

Attachment: Portfile added

Patched portfile

Changed 14 years ago by i+macports@…

libmatroska diff file

comment:7 Changed 14 years ago by i+macports@…

I had to edit the gentoo diff to cleanly apply. Just overwrite Portfile (I am not sure how to patch it correctly) and add patch-libmatroska-1.1.0.diff to /opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/VLC/files/

Then just port install vlc.

comment:8 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.