Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2015 08:06:23 -0700
From:      Scott Furry <scott.wl.furry@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: multimedia/handbrake-0.9.9 build error
Message-ID:  <54F087EF.2070505@gmail.com>
In-Reply-To: <54EE9D01.90708@gmail.com>
References:  <54EE8BE9.4020902@gmail.com> <54EE9533.9000606@protected-networks.net> <54EE9D01.90708@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54F087EF.2070505>