multimedia/handbrake-0.9.9 build error

Michael Butler imb at protected-networks.net
Thu Feb 26 03:38:44 UTC 2015


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150225/086d6134/attachment.sig>


More information about the freebsd-ports mailing list