building HandBrake fails, seemingly without any obvious reason

Jakob van Bethlehem jsvanbethlehem at
Thu Oct 11 06:03:19 PDT 2012

On 11 okt. 2012, at 14:58, Jeremy Lavergne <jeremy at> wrote:

>> 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.
> The error is probably higher up in the log...

Yep, you're right; forgot that make is run with -j2 option…. Right after a message that theora libraries have been successfully installed. Apparently something weird happens with X11. I think I saw something related to this some time ago, maybe I can find it again.

make[5]: Nothing to be done for `install-data-am'.
Making install in fc-cache
Making clean in lib
test -z "/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/bin" || .././install-sh -c -d "/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/bin"
test -z "" || rm -f
  /bin/sh ../libtool   --mode=install /usr/bin/install -c fc-cache '/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/bin'
rm -f ""
rm -f ""
rm -f ""
rm -rf .libs _libs
rm -f *.o core *.core
libtool: install: /usr/bin/install -c fc-cache /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/bin/fc-cache
rm -f *.lo
Making clean in .
rm -rf .libs _libs
rm -f *.lo
/bin/sh /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/fontconfig/fontconfig-2.8.0/install-sh -d /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/etc/fonts /usr/X11/var/cache/fontconfig
mkdir: /usr/X11: File exists
mkdir: /usr/X11: No such file or directory
mkdir: /usr/X11/var: No such file or directory
mkdir: /usr/X11/var/cache: No such file or directory
make[4]: *** [install-data-local] Error 1
make[3]: *** [install-am] Error 2
make[2]: *** [install-recursive] Error 1
make[1]: *** [contrib/fontconfig/.stamp.install] Error 2
make[1]: *** Waiting for unfinished jobs....

More information about the macports-users mailing list