I tried to install HHVM on Mac OS X Yosemite, but it failed and at last I can not make any installation MacPort.
For example, if I try to install pear , with this command line:
sudo port install php55-pear
Result :
---> Computing dependencies for php55-pear
---> Cleaning php55-pear
---> Scanning binaries for linking errors
---> Found 29 broken file(s), matching files to ports
---> Found 6 broken port(s), determining rebuild order
---> Rebuilding in order
boost @1.55.0 +no_single+no_static+python27
libdlna @0.2.4
harfbuzz-icu @0.9.25
webkit-gtk3 @2.2.3 +video
php54-intl @5.4.16
openldap @2.4.31
---> Computing dependencies for python27
---> Staging python27 into destroot
Error: org.macports.destroot for port python27 returned: command execution failed
Please see the log file for port python27 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
Error: Unable to upgrade port: 1
Error rebuilding boost
while executing
"error "Error rebuilding $portname""
(procedure "revupgrade_scanandrebuild" line 395)
invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
(procedure "macports::revupgrade" line 5)
invoked from within
"macports::revupgrade $opts"
(procedure "action_revupgrade" line 2)
invoked from within
"action_revupgrade $action $portlist $opts"
(procedure "action_target" line 96)
invoked from within
"$action_proc $action $portlist [array get global_options]"
(procedure "process_cmd" line 103)
invoked from within
"process_cmd $remaining_args"
invoked from within
"if { [llength $remaining_args] > 0 } {
# If there are remaining arguments, process those as a command
set exit_status [process_cmd $remaining..."
(file "/opt/local/bin/port" line 5268)
in log file (/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log) :
version:1
:msg:main ---> Computing dependencies for python27:info:main .:debug:main python27 has no conflicts
:debug:main Searching for dependency: gettext
:debug:main Found Dependency: receipt exists for gettext
:debug:main Searching for dependency: zlib
:debug:main Found Dependency: receipt exists for zlib
:debug:main Searching for dependency: openssl
:debug:main Found Dependency: receipt exists for openssl
:debug:main Searching for dependency: sqlite3
:debug:main Found Dependency: receipt exists for sqlite3
:debug:main Searching for dependency: db48
:debug:main Found Dependency: receipt exists for db48
:debug:main Searching for dependency: ncurses
:debug:main Found Dependency: receipt exists for ncurses
:debug:main Searching for dependency: bzip2
:debug:main Found Dependency: receipt exists for bzip2
:debug:main Searching for dependency: libedit
:debug:main Found Dependency: receipt exists for libedit
:debug:main Searching for dependency: python_select
:debug:main Found Dependency: receipt exists for python_select
:debug:main Searching for dependency: python2_select
:debug:main Found Dependency: receipt exists for python2_select
:msg:main
:debug:main Executing org.macports.main (python27)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (python27)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (python27)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (python27)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (python27)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (python27)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (python27)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Mon Jun 15 09:32:15 CEST 2015
:notice:build ---> Building python27
:debug:build Executing org.macports.build (python27)
:debug:build Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.10" && /usr/bin/make -j4 -w all MAKE="/usr/bin/make CC=/usr/bin/clang"'
:debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.10" && /usr/bin/make -j4 -w all MAKE="/usr/bin/make CC=/usr/bin/clang"
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.10'
:info:build /opt/local/bin/gcc-mp-4.8 -c -fno-strict-aliasing -fno-common -dynamic -pipe -Os -fwrapv -m64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/opt/local/include -I/opt/local/include/db48 -DPy_BUILD_CORE -o Python/mactoolboxglue.o Python/mactoolboxglue.c
:info:build In file included from /usr/include/dispatch/dispatch.h:51:0,
:info:build from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15,
:info:build from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,
:info:build from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55,
:info:build from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19,
:info:build from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
:info:build from Include/pymactoolbox.h:10,
:info:build from Python/mactoolboxglue.c:27:
:info:build /usr/include/dispatch/object.h:143:15: error: expected identifier or '(' before '^' token
:info:build typedef void (^dispatch_block_t)(void);
:info:build ^
:info:build /usr/include/dispatch/object.h:362:3: error: unknown type name 'dispatch_block_t'
:info:build dispatch_block_t notification_block);
:info:build ^
:info:build make: *** [Python/mactoolboxglue.o] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.10'
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/work/Python-2.7.10" && /usr/bin/make -j4 -w all MAKE="/usr/bin/make CC=/usr/bin/clang"
:info:build Exit code: 2
:error:build org.macports.build for port python27 returned: command execution failed
:debug:build Error code: CHILDSTATUS 44681 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
"portbuild::build_main org.macports.build"
("eval" body line 1)
invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for python27: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port python27 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
I do not know how to solve it . Does anyone have an idea ?
Arnaud
I finally solved my problem with two series of actions:
brew tap homebrew/dupes brew tap homebrew/versions brew tap mcuadros/homebrew-hhvm brew update cd $(brew --repository) git reset --hard FETCH_HEAD brew update brew install hhvm --HEAD brew install ocaml brew link dwarfutils ocaml brew unlink libdwarf brew link dwarfutils ocaml brew link --overwrite ocaml brew link dwarfutils ocaml brew install hhvm --HEAD
and after...
with macports
sudo port -v selfupdate port upgrade outdated sudo port upgrade outdated sudo port search ImageMagick sudo port install ImageMagick port selfupdate sudo port selfupdate
An important detail , MacPorts went from version 2.3.3 to version 2.3.4 in this update .
MacPort is now operational again.