When building the port multimedia/handbrake, the build fails on FreeBSD 6.0, with the latest ports tree (as of 11/11). Below is the build output: beren# make install ===> Building for handbrake-0.6.2_3 ..found 205 target(s)... ..updating 4 target(s)... Cc core/X264Enc.o core/X264Enc.c: In function `HBX264EncInit': core/X264Enc.c:44: error: structure has no member named `i_iframe' core/X264Enc.c:45: error: structure has no member named `i_idrframe' core/X264Enc.c:48: error: `X264_ANALYSE_I16x16' undeclared (first use in this function) core/X264Enc.c:48: error: (Each undeclared identifier is reported only once core/X264Enc.c:48: error: for each function it appears in.) core/X264Enc.c:48: error: `X264_ANALYSE_P16x16' undeclared (first use in this function) core/X264Enc.c:49: error: `X264_ANALYSE_P16x8' undeclared (first use in this function) core/X264Enc.c:49: error: `X264_ANALYSE_P8x16' undeclared (first use in this function) core/X264Enc.c:49: error: `X264_ANALYSE_P8x8' undeclared (first use in this function) core/X264Enc.c:50: error: `X264_ANALYSE_SMART_PSUB' undeclared (first use in this function) core/X264Enc.c:58: error: structure has no member named `i_width' core/X264Enc.c:59: error: structure has no member named `i_height' core/X264Enc.c:60: error: structure has no member named `i_plane' core/X264Enc.c:62: error: structure has no member named `i_iframe' core/X264Enc.c: In function `HBX264EncWork': core/X264Enc.c:108: error: structure has no member named `i_stride' core/X264Enc.c:109: error: structure has no member named `i_stride' core/X264Enc.c:110: error: structure has no member named `i_stride' core/X264Enc.c:112: error: structure has no member named `plane' core/X264Enc.c:113: error: structure has no member named `plane' core/X264Enc.c:113: error: structure has no member named `plane' core/X264Enc.c:114: error: structure has no member named `plane' core/X264Enc.c:114: error: structure has no member named `plane' core/X264Enc.c:116: error: too few arguments to function `x264_encoder_encode' cc -c -o core/X264Enc.o -O2 -fno-strict-aliasing -pipe -g -Wall -W -I/usr/local/include -DHB_FREEBSD -DHB_VERSION=\"0.6.2\" -Icore -I./contrib/libx264 core/X264Enc.c ..failed Cc core/X264Enc.o ... ..skipped libhb.a for lack of <core>X264Enc.o... ..skipped HBTest for lack of libhb.a... ..skipped gtk2HB for lack of libhb.a... ..failed updating 1 target(s)... ..skipped 3 target(s)... *** Error code 1 Stop in /usr/ports/multimedia/handbrake. How-To-Repeat: Build the hand brake port, the X264 ABI/API has changed from what the author expects.
Responsible Changed From-To: freebsd-ports-bugs->thompsa Over to maintainer
This error happens if you have the multimedia/x264 port installed. You can move /usr/local/include/x264.h out of the way and handbrake will build sucessfully. Im working on upgrading to 0.7 and getting rid of this problem. Thanks for the PR, Andrew
State Changed From-To: open->analyzed Andrew suggested a workaround.
Responsible Changed From-To: thompsa->freebsd-ports-bugs I gave up this port due to lack of time, hand over the PR too.
State Changed From-To: analyzed->feedback Got same problem. I have committed the fix, so let me know if it is fix for you too.
Responsible Changed From-To: freebsd-ports-bugs->mezz Got same problem. I have committed the fix, so let me know if it is fix for you too.
State Changed From-To: feedback->closed No respone for about ten days, it's fixed as far I can tell in my system.