Greetings,
I did a portsnap fetch update last night and was building x11/kde4 etc from scratch, but noticed it had a build failure on multimedia/ffmpeg this morning. I re-updated ports again at 14:59 UTC today, but still the failure occurred. ffmpeg was seeing that the depended version of multimedia/x264 was not installed, and kept trying to install x264, but this failed because it was already installed!
Well, turns out that ffmpeg is expecting version 119 of x264 that isn't even in ports yet.
/usr/ports/multimedia/ffmpeg/Makefile
/usr/ports/multimedia/x264/Makefile
I also checked out multimedia/x264-devel, but even that version wasn't "new" enough:
/usr/ports/multimedia/x264-devel/Makefile
I managed to work around this problem by just making the following change:
/usr/ports/multimedia/ffmpeg/Makefile
Then ffmpeg (and subsequently kdelibs4) compiled and installed like normal.
I will send an email to the ffmpeg maintainer, but thought somebody might find this useful in the meantime.
I did a portsnap fetch update last night and was building x11/kde4 etc from scratch, but noticed it had a build failure on multimedia/ffmpeg this morning. I re-updated ports again at 14:59 UTC today, but still the failure occurred. ffmpeg was seeing that the depended version of multimedia/x264 was not installed, and kept trying to install x264, but this failed because it was already installed!
Well, turns out that ffmpeg is expecting version 119 of x264 that isn't even in ports yet.
/usr/ports/multimedia/ffmpeg/Makefile
Code:
# x264
.if !defined(WITHOUT_X264)
LIB_DEPENDS+= x264.[B]119[/B]:${PORTSDIR}/multimedia/x264
/usr/ports/multimedia/x264/Makefile
Code:
X264_BUILD= 116
X264_REV= 2076
X264_SNAP= 20111009
I also checked out multimedia/x264-devel, but even that version wasn't "new" enough:
/usr/ports/multimedia/x264-devel/Makefile
Code:
X264_BUILD= 118
X264_REV= 2085
X264_SNAPSHOT= 20111009
I managed to work around this problem by just making the following change:
/usr/ports/multimedia/ffmpeg/Makefile
Code:
# x264
.if !defined(WITHOUT_X264)
LIB_DEPENDS+= x264.[B]116[/B]:${PORTSDIR}/multimedia/x264
Then ffmpeg (and subsequently kdelibs4) compiled and installed like normal.
I will send an email to the ffmpeg maintainer, but thought somebody might find this useful in the meantime.