Date: Wed, 25 Feb 2015 22:38:27 -0500 From: Michael Butler <imb@protected-networks.net> To: Scott Furry <scott.wl.furry@gmail.com>, freebsd-ports@freebsd.org Subject: Re: multimedia/handbrake-0.9.9 build error Message-ID: <54EE9533.9000606@protected-networks.net> In-Reply-To: <54EE8BE9.4020902@gmail.com> References: <54EE8BE9.4020902@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kCAcKV7QFImOr36Ll1QftFNBqJ8SqPk4k Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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/x26= 4/x264' >=20 > ../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 > =3D=3D=3D=3D=3D > ----- >=20 > 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Makefile (revision 379979) +++ Makefile (working copy) @@ -78,7 +78,7 @@ .if ${PORT_OPTIONS:MX11} CONFIGURE_ARGS+=3D --disable-gtk-update-checks --disable-gst -CPPFLAGS+=3D -I${LOCALBASE}/include +#CPPFLAGS+=3D -I${LOCALBASE}/include LIBS+=3D -L${LOCALBASE}/lib LIB_DEPENDS+=3D libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \ libnotify.so:${PORTSDIR}/devel/libnotify imb --kCAcKV7QFImOr36Ll1QftFNBqJ8SqPk4k Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlTulTcACgkQQv9rrgRC1JJKqACgtvgFYc0dPjMyyJKhJ4ORZ7eE 19wAmgLfBiB7kdnme/WW3QsNUp+3M/1A =DbeF -----END PGP SIGNATURE----- --kCAcKV7QFImOr36Ll1QftFNBqJ8SqPk4k--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54EE9533.9000606>