Bug 88838 - HandBrake port build fails
Summary: HandBrake port build fails
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jeremy Messenger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-11 11:40 UTC by Zach Dykstra
Modified: 2006-05-17 22:47 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zach Dykstra 2005-11-11 11:40:15 UTC
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-11-11 11:52:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->thompsa

Over to maintainer
Comment 2 Andrew Thompson freebsd_committer freebsd_triage 2005-11-11 20:39:23 UTC
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
Comment 3 Volker Stolz freebsd_committer freebsd_triage 2005-11-23 09:02:10 UTC
State Changed
From-To: open->analyzed

Andrew suggested a workaround.
Comment 4 Andrew Thompson freebsd_committer freebsd_triage 2006-03-20 04:07:36 UTC
Responsible Changed
From-To: thompsa->freebsd-ports-bugs

I gave up this port due to lack of time, hand over the PR too.
Comment 5 Jeremy Messenger freebsd_committer freebsd_triage 2006-05-07 18:34:09 UTC
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. 


Comment 6 Jeremy Messenger freebsd_committer freebsd_triage 2006-05-07 18:34:09 UTC
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.
Comment 7 Jeremy Messenger freebsd_committer freebsd_triage 2006-05-17 22:47:01 UTC
State Changed
From-To: feedback->closed

No respone for about ten days, it's fixed as far I can tell in my system.