#36494 closed defect (fixed)
handbrake 0.9.8: missing autoconf, automake, libtool dependencies
Reported by: | vincent.mcintyre@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | bgrupe27, ryandesign (Ryan Carsten Schmidt) | |
Port: | HandBrake |
Description
% uname -a Darwin macbook 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64 % gcc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
xcode is Version 4.5.1 (4G1004).
This appears not to be ticket:32803.
Steps to reproduce:
- clean install from MacPorts-2.1.2-10.8-MountainLion.pkg
2.
% sudo port selfupdate % sudo port list installed |wc 0 0 0
3.
% sudo port install HandBrake ... some time later... ---> Building HandBrake Error: org.macports.build for port HandBrake returned: command execution failed Please see the log file for port HandBrake for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_HandBrake/HandBrake/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port HandBrake failed
Diagnosis
% sudo port list installed bzip2 @1.0.6 archivers/bzip2 db46 @4.6.21 databases/db46 expat @2.1.0 textproc/expat gettext @0.18.1.1 devel/gettext gperf @3.0.4 devel/gperf libedit @20120601-3.0 devel/libedit libiconv @1.14 textproc/libiconv ncurses @5.9 devel/ncurses openssl @1.0.1c devel/openssl python27 @2.7.3 lang/python27 python_select @0.3 sysutils/python_select sqlite3 @3.7.14 databases/sqlite3 xz @5.0.4 archivers/xz yasm @1.2.0 lang/yasm zlib @1.2.7 archivers/zlib
I think the problem is this:
% grep reconf main.log :info:build reconfiguring (driver bootstrap) :info:build set -e; cd ./contrib/a52dec/a52dec/; rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv; CC=/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 CFLAGS="-arch x86_64 -mmacosx-version-min=10.8 -arch x86_64" CXX=/Applications/Xcode.app/Contents/Developer/usr/bin/llvm-g++-4.2 CXXFLAGS="-arch x86_64 -mmacosx-version-min=10.8 -arch x86_64" CPPFLAGS="-arch x86_64 -mmacosx-version-min=10.8 -arch x86_64" LDFLAGS="-arch x86_64 -mmacosx-version-min=10.8 -arch x86_64" PKG_CONFIG_PATH="/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/pkgconfig" ./configure --prefix=/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/ --disable-dependency-tracking --disable-shared --enable-static :info:build /bin/sh: autoreconf: command not found
So I tried installing autoconf
% sudo port install autoconf % sudo port clean HandBrake % sudo port install HandBrake
It craps out again, the log says:
... :info:build autoreconf: running: aclocal --output=aclocal.m4t :info:build Can't exec "aclocal": No such file or directory at /opt/local/share/autoconf/Autom4te/FileUtils.pm line 326. :info:build autoreconf: failed to run aclocal: No such file or directory :info:build make[1]: *** [contrib/a52dec/.stamp.configure] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... ... % sudo port list installed autoconf @2.69 devel/autoconf bzip2 @1.0.6 archivers/bzip2 db46 @4.6.21 databases/db46 expat @2.1.0 textproc/expat gdbm @1.10 databases/gdbm gettext @0.18.1.1 devel/gettext gperf @3.0.4 devel/gperf help2man @1.40.10 textproc/help2man libedit @20120601-3.0 devel/libedit libiconv @1.14 textproc/libiconv m4 @1.4.16 devel/m4 ncurses @5.9 devel/ncurses openssl @1.0.1c devel/openssl p5.12-locale-gettext @1.50.0 perl/p5-locale-gettext perl5 @5.12.4 lang/perl5 perl5.12 @5.12.4 lang/perl5.12 python27 @2.7.3 lang/python27 python_select @0.3 sysutils/python_select sqlite3 @3.7.14 databases/sqlite3 xz @5.0.4 archivers/xz yasm @1.2.0 lang/yasm zlib @1.2.7 archivers/zlib
ah. automake?
% sudo port install automake % sudo port clean HandBrake % sudo port install HandBrake
and it fails again.
% sudo port list installed autoconf @2.69 devel/autoconf automake @1.12.4 devel/automake bzip2 @1.0.6 archivers/bzip2 db46 @4.6.21 databases/db46 expat @2.1.0 textproc/expat gdbm @1.10 databases/gdbm gettext @0.18.1.1 devel/gettext gperf @3.0.4 devel/gperf help2man @1.40.10 textproc/help2man libedit @20120601-3.0 devel/libedit libiconv @1.14 textproc/libiconv m4 @1.4.16 devel/m4 ncurses @5.9 devel/ncurses openssl @1.0.1c devel/openssl p5.12-locale-gettext @1.50.0 perl/p5-locale-gettext perl5 @5.12.4 lang/perl5 perl5.12 @5.12.4 lang/perl5.12 python27 @2.7.3 lang/python27 python_select @0.3 sysutils/python_select sqlite3 @3.7.14 databases/sqlite3 xz @5.0.4 archivers/xz yasm @1.2.0 lang/yasm zlib @1.2.7 archivers/zlib
Unclear what the problem is from a quick read of the log, looks like pkgconfig? Or libtool?
% sudo port install pkgconfig % sudo port install libtool % sudo port clean HandBrake % sudo port install HandBrake
and now it works.
I've attached the log from the original failing build.
Attachments (1)
Change History (5)
Changed 12 years ago by vincent.mcintyre@…
Attachment: | main.log.0 added |
---|
comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | handbrake 0.9.8 not buidling on os/x 10.8.2 (mountain lion) - incorrect build-deps? → handbrake 0.9.8: missing autoconf, automake, libtool dependencies |
Note: See
TracTickets for help on using
tickets.
main.log from initial build of HandBrake