[MacPorts] #37434: HandBrake compile Fails
#37434: HandBrake compile Fails ----------------------------------+-------------------------------- Reporter: garyrobertdavidson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: HandBrake ----------------------------------+-------------------------------- Cant seem to find any useful errors in the log. {{{ 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 }}} last lines of log {{{ :info:build License: GPL version 2 or later :info:build Creating config.mak and config.h... :info:build touch contrib/ffmpeg/.stamp.configure :info:build Showing first 200 notices only :info:build :info:build :info:build ** BUILD FAILED ** :info:build :info:build :info:build The following build commands failed: :info:build ExternalBuildToolExecution external :info:build (1 failure) :info:build make: *** [macosx.build] Error 65 :info:build make: Leaving directory `/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' :info:build Command failed: cd "/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" && /usr/bin/make -j4 -w :info:build Exit code: 2 :error:build org.macports.build for port HandBrake returned: command execution failed :debug:build Error code: CHILDSTATUS 42933 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for HandBrake: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build 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 }}} What I have tried (just to be sure) {{{ sudo port install libiconv sudo port install libtool sudo port install autoconf sudo port install automake }}} {{{ uname -r 11.4.2 }}} Thx in advance.. -- Ticket URL: <https://trac.macports.org/ticket/37434> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37434: HandBrake compile Fails -----------------------------------+-------------------------------- Reporter: garyrobertdavidson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: HandBrake | -----------------------------------+-------------------------------- Changes (by macsforever2000@…): * cc: garyrobertdavidson@… (removed) Comment: The reporter is automatically Cc'ed. This looks like another problem caused by the new version of automake. -- Ticket URL: <https://trac.macports.org/ticket/37434#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37434: HandBrake compile Fails -----------------------------------+-------------------------------- Reporter: garyrobertdavidson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: HandBrake | -----------------------------------+-------------------------------- Comment (by garyrobertdavidson@…): Which version should I be using.. -- Ticket URL: <https://trac.macports.org/ticket/37434#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37434: HandBrake compile Fails -----------------------------------+-------------------------------- Reporter: garyrobertdavidson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: HandBrake | -----------------------------------+-------------------------------- Comment (by garyrobertdavidson@…): {{{ bash-4.2# port installed automake The following ports are currently installed: automake @1.11.3_0 automake @1.11.4_0 automake @1.12_0 automake @1.12.3_0 automake @1.12.6_0 automake @1.13_0 (active) bash-4.2# port activate automake @1.12.6_0 ---> Computing dependencies for automake ---> Deactivating automake @1.13_0 ---> Cleaning automake ---> Activating automake @1.12.6_0 ---> Cleaning automake bash-4.2# port install HandBrake ---> Computing dependencies for HandBrake ---> 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 bash-4.2# }}} -- Ticket URL: <https://trac.macports.org/ticket/37434#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37434: HandBrake compile Fails -----------------------------------+-------------------------------- Reporter: garyrobertdavidson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: HandBrake | -----------------------------------+-------------------------------- Comment (by garyrobertdavidson@…): oops sorry forgot to "clean" {{{ sudo port install HandBrake sudo: cannot get working directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory error getting working directory name: no such file or directory while executing "pwd" invoked from within "set current_portdir [pwd]" (file "/opt/local/bin/port" line 4774) }}} -- Ticket URL: <https://trac.macports.org/ticket/37434#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37434: HandBrake compile Fails -----------------------------------+-------------------------------- Reporter: garyrobertdavidson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: HandBrake | -----------------------------------+-------------------------------- Comment (by garyrobertdavidson@…): With version 1.12.6_0 version of automake I get a different error {{{ :info:build /usr/bin/clang++ -arch x86_64 -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/xroot -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/libhb -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 -F/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/xroot -filelist /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/xroot/HandBrakeCLI.build /Objects-normal/x86_64/HandBrakeCLI.LinkFileList -mmacosx-version-min=10.7 -framework AudioToolbox -framework IOKit -framework CoreServices -liconv -lbz2 -lz -lhb -la52 -lass -lavcodec -lavformat -lavutil -lbluray -ldca -ldvdnav -ldvdread -lfaac -lfontconfig -lfreetype -lfribidi -lmkv -lmp3lame -lmp4v2 -lmpeg2 -logg -lsamplerate -lswscale -ltheora -lvorbis -lvorbisenc -lx264 -lxml2 -o /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/xroot/HandBrakeCLI :info:build Undefined symbols for architecture x86_64: :info:build "_libiconv_close", referenced from: :info:build _decsrtClose in libhb.a(decsrtsub.o) :info:build _FcSfntNameTranscode in libfontconfig.a(fcfreetype.o) :info:build _xmlFindCharEncodingHandler in libxml2.a(encoding.o) :info:build _xmlCharEncCloseFunc in libxml2.a(encoding.o) :info:build "_libiconv", referenced from: :info:build _decsrtWork in libhb.a(decsrtsub.o) :info:build _FcSfntNameTranscode in libfontconfig.a(fcfreetype.o) :info:build _xmlIconvWrapper in libxml2.a(encoding.o) :info:build "_libiconv_open", referenced from: :info:build _decsrtInit in libhb.a(decsrtsub.o) :info:build _FcSfntNameTranscode in libfontconfig.a(fcfreetype.o) :info:build _xmlFindCharEncodingHandler in libxml2.a(encoding.o) :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) }}} {{{ file /usr/lib/libiconv* /usr/lib/libiconv.2.4.0.dylib: Mach-O universal binary with 2 architectures /usr/lib/libiconv.2.4.0.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /usr/lib/libiconv.2.4.0.dylib (for architecture i386): Mach-O dynamically linked shared library i386 /usr/lib/libiconv.2.dylib: Mach-O universal binary with 2 architectures /usr/lib/libiconv.2.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /usr/lib/libiconv.2.dylib (for architecture i386): Mach-O dynamically linked shared library i386 /usr/lib/libiconv.dylib: Mach-O universal binary with 2 architectures /usr/lib/libiconv.dylib (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64 /usr/lib/libiconv.dylib (for architecture i386): Mach-O dynamically linked shared library i386 }}} -- Ticket URL: <https://trac.macports.org/ticket/37434#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37434: HandBrake compile Fails -----------------------------------+-------------------------------- Reporter: garyrobertdavidson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: HandBrake | -----------------------------------+-------------------------------- Comment (by garyrobertdavidson@…): Updating XCode (not sure which version I had) to the 4.5.2 version, (and reinstalling the command line tools) fixed the problem with automake 1.12.6_0. Newer automake 1.13_0 version still wont compile however. consider fix to be {{{ port activate automake @1.12.6_0 }}} -- Ticket URL: <https://trac.macports.org/ticket/37434#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37434: HandBrake compile fails with automake 1.13: possibly undefined macro: AM_CONFIG_HEADER -----------------------------------+-------------------------------- Reporter: garyrobertdavidson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: HandBrake | -----------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Replying to [comment:1 macsforever2000@…]:
This looks like another problem caused by the new version of automake.
Yes, the error in the log is: {{{ :info:build configure.in:9: error: possibly undefined macro: AM_CONFIG_HEADER :info:build If this token and others are legitimate, please use m4_pattern_allow. :info:build See the Autoconf documentation. }}} The [http://lists.gnu.org/archive/html/automake/2012-12/msg00038.html automake 1.13 release notes] confirm that AM_CONFIG_HEADER, which has been superseded by AC_CONFIG_HEADERS for ten years, has finally been removed. Replying to [comment:5 garyrobertdavidson@…]:
With version 1.12.6_0 version of automake I get a different error
That's #36667. Replying to [comment:6 garyrobertdavidson@…]:
Updating XCode (not sure which version I had) to the 4.5.2 version, (and reinstalling the command line tools) fixed the problem with automake 1.12.6_0.
Interesting. I've added that information to #36667. Maybe we need to blacklist some older clang versions for HandBrake.
Newer automake 1.13_0 version still wont compile however.
consider fix to be
{{{ port activate automake @1.12.6_0 }}}
That's a workaround, not a fix. -- Ticket URL: <https://trac.macports.org/ticket/37434#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37434: HandBrake compile fails with automake 1.13: possibly undefined macro: AM_CONFIG_HEADER -----------------------------------+-------------------------------- Reporter: garyrobertdavidson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: HandBrake | -----------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: martinezino@… (added) Comment: comment:ticket:36298:4 is a duplicate. -- Ticket URL: <https://trac.macports.org/ticket/37434#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37434: HandBrake compile fails with automake 1.13: possibly undefined macro: AM_CONFIG_HEADER -----------------------------------+-------------------------------- Reporter: garyrobertdavidson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: HandBrake | -----------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: egall@… (added) Comment: Has duplicate #37855. -- Ticket URL: <https://trac.macports.org/ticket/37434#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37434: HandBrake compile fails with automake 1.13: possibly undefined macro: AM_CONFIG_HEADER -----------------------------------+-------------------------------- Reporter: garyrobertdavidson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: HandBrake | -----------------------------------+-------------------------------- Changes (by larryv@…): * cc: zeael@… (added) Comment: Has duplicate #38459. -- Ticket URL: <https://trac.macports.org/ticket/37434#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts