multimedia/handbrake-0.9.9 build error
Scott Furry
scott.wl.furry at gmail.com
Fri Feb 27 15:06:27 UTC 2015
On 25/02/2015 21:11, Scott Furry wrote:
>
> On 25/02/2015 20:38, Michael Butler wrote:
>> On 02/25/15 21:58, Scott Furry wrote:
>>> Attempted to install multimedia/handbrake via pkg. Installation was
>>> reported successful, but the executable binary (ghc) could not be
>>> located on the system. A build from port was attempted. Build will fail
>>> with the error message:
>>> -----
>>> common/pixel.c:1111:17: error: use of undeclared identifier
>>> 'X264_CPU_SSE_MISALIGN'
>>> if( cpu&X264_CPU_SSE_MISALIGN )
>>> ^
>>> 6 warnings and 1 error generated.
>>> <builtin>: recipe for target 'common/pixel.o' failed
>>> gmake[3]: *** [common/pixel.o] Error 1
>>> gmake[3]: Leaving directory
>>> '/usr/ports/multimedia/handbrake/work/HandBrake-0.9.9/build/contrib/x264/x264'
>>>
>>>
>>> ../contrib/x264/module.rules:2: recipe for target
>>> 'contrib/x264/.stamp.build' failed
>>> gmake[2]: *** [contrib/x264/.stamp.build] Error 2
>>> gmake[2]: Leaving directory
>>> '/usr/ports/multimedia/handbrake/work/HandBrake-0.9.9/build'
>>> *** Error code 1
>>> Stop.
>>> make[1]: stopped in /usr/ports/multimedia/handbrake
>>> *** Error code 1
>>> Stop.
>>> make: stopped in /usr/ports/multimedia/handbrake
>>> =====
>>> -----
>>>
>>> I could not find a reference in the forums or search engine to resolve
>>> this problem.
>>> Has anyone else run into this issue lately?
>> The problem appears to be the inclusion of /usr/local/include before the
>> local contrib includes .. I simply patched the Makefile as below and it
>> builds just fine
>>
>> imb at toshi:/usr/ports/multimedia/handbrake> svn diff
>> Index: Makefile
>> ===================================================================
>> --- Makefile (revision 379979)
>> +++ Makefile (working copy)
>> @@ -78,7 +78,7 @@
>>
>> .if ${PORT_OPTIONS:MX11}
>> CONFIGURE_ARGS+= --disable-gtk-update-checks --disable-gst
>> -CPPFLAGS+= -I${LOCALBASE}/include
>> +#CPPFLAGS+= -I${LOCALBASE}/include
>> LIBS+= -L${LOCALBASE}/lib
>> LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
>> libnotify.so:${PORTSDIR}/devel/libnotify
>>
>>
>> imb
> Michael,
> Perfect! Removing the one line and handbrake builds to the end without
> error.
> Only item of note is that a desktop file is not included with the
> installation but that can be manually fixed.
>
> Thank you for the workaround.
>
> Scott
Well that didn't go well....
After starting the application and going through the motions of
converting mkv to mp4, as soon as I select "GO" to convert the queue the
program segfaults. Not good.
More information about the freebsd-ports
mailing list