building HandBrake fails, seemingly without any obvious reason

Jakob van Bethlehem jsvanbethlehem at gmail.com
Thu Oct 11 05:56:16 PDT 2012


Dear all,

While trying to build HandBrake the process fails after linking a binary 'vp3huff', which seems to be part of libtheora. There is no obvious error message however, except a warning that Doxygen is not found - I can hardly believe this could cause a build failure. At the bottom of this message I copied the last lines of the HandBrake log file.

I'm quite new to MacPorts; what can I do to analyze this further? Btw: when manually building libtheora in the MacPorts-directory, the library builds without any problems….

Sincerely, 
Jakob

libtool: link: ar cru .libs/libtheoradec.a  apiwrapper.o bitpack.o decapiwrapper.o decinfo.o decode.o dequant.o fragment.o huffdec.o idct.o info.o internal.o quant.o state.o
libtool: link: ranlib .libs/libtheoradec.a
libtool: link: ( cd ".libs" && rm -f "libtheoradec.la" && ln -s "../libtheoradec.la" "libtheoradec.la" )
/bin/sh ../libtool --mode=link /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_HandBrake/HandBrake/work/HandBrake-0.9.8/build/contrib//include  -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops -arch x86_64 -mmacosx-version-min=10.8 -arch x86_64  -arch x86_64 -mmacosx-version-min=10.8 -arch x86_64 -o libtheora.la -rpath /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_HandBrake/HandBrake/work/HandBrake-0.9.8/build/contrib/lib -version-info 3:9:3 -Wl,-exported_symbols_list,./theora.exp  -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_HandBrake/HandBrake/work/HandBrake-0.9.8/build/contrib//lib -logg apiwrapper.lo bitpack.lo decapiwrapper.lo decinfo.lo decode.lo dequant.lo fragment.lo huffdec.lo idct.lo info.lo internal.lo quant.lo state.lo  analyze.lo fdct.lo encfrag.lo encapiwrapper.lo encinfo.lo encode.lo enquant.lo huffenc.lo mathops.lo mcenc.lo rate.lo tokenize.lo   
libtool: link: ar cru .libs/libtheoraenc.a  apiwrapper.o fragment.o idct.o internal.o state.o quant.o analyze.o fdct.o encfrag.o encapiwrapper.o encinfo.o encode.o enquant.o huffenc.o mathops.o mcenc.o rate.o tokenize.o
libtool: link: ranlib .libs/libtheoraenc.a
libtool: link: ( cd ".libs" && rm -f "libtheoraenc.la" && ln -s "../libtheoraenc.la" "libtheoraenc.la" )
libtool: link: ar cru .libs/libtheora.a  apiwrapper.o bitpack.o decapiwrapper.o decinfo.o decode.o dequant.o fragment.o huffdec.o idct.o info.o internal.o quant.o state.o analyze.o fdct.o encfrag.o encapiwrapper.o encinfo.o encode.o enquant.o huffenc.o mathops.o mcenc.o rate.o tokenize.o
libtool: link: ranlib .libs/libtheora.a
libtool: link: ( cd ".libs" && rm -f "libtheora.la" && ln -s "../libtheora.la" "libtheora.la" )
Making all in include
Making all in theora
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in doc
Making all in spec
/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../..   -arch x86_64 -mmacosx-version-min=10.8 -arch x86_64  -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops -arch x86_64 -mmacosx-version-min=10.8 -arch x86_64 -c `test -f 'vp3huff.c' || echo './'`vp3huff.c
/bin/sh ../../libtool --mode=link /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2  -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops -arch x86_64 -mmacosx-version-min=10.8 -arch x86_64  -arch x86_64 -mmacosx-version-min=10.8 -arch x86_64 -o vp3huff  vp3huff.o  
libtool: link: /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops -arch x86_64 -mmacosx-version-min=10.8 -arch x86_64 -arch x86_64 -mmacosx-version-min=10.8 -arch x86_64 -o vp3huff vp3huff.o 
echo "*** Warning: Doxygen not found; documentation will not be built."
*** Warning: Doxygen not found; documentation will not be built.
touch doxygen-build.stamp
Making all in tests
make[4]: Nothing to be done for `all'.
Making all in m4
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
touch contrib/libtheora/.stamp.build
Showing first 200 notices only


** BUILD FAILED **


The following build commands failed:
	ExternalBuildToolExecution external
(1 failure)
make: *** [macosx.build] Error 65


More information about the macports-users mailing list