sudo port install opam ---> Computing dependencies for opam ---> Fetching archive for opam ---> Attempting to fetch opam-1.2.2_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/opam ---> Attempting to fetch opam-1.2.2_0.darwin_16.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/opam ---> Attempting to fetch opam-1.2.2_0.darwin_16.x86_64.tbz2 from http://lil.fr.packages.macports.org/opam ---> Fetching distfiles for opam ---> Verifying checksums for opam ---> Extracting opam ---> Configuring opam ---> Building opam Error: org.macports.build for port opam returned: command execution failed Please see the log file for port opam for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port opam failed ---------------------------------------------------------------------- [ /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/main.log ] version:1 :debug:main epoch: in tree: 1 installed: 1 :debug:main ocaml 4.02.2_1 exists in the ports tree :debug:main ocaml 4.02.2_1 is the latest installed :debug:main ocaml 4.02.2_1 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/ocaml :debug:main OS darwin/16.0.0 (Mac OS X 10.12) arch i386 :debug:main universal_variant is false, so not adding the default universal variant :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! ocaml 4.02.2_1 >= ocaml 4.02.2_1 :debug:main epoch: in tree: 0 installed: 0 :debug:main ncurses 6.0_0 exists in the ports tree :debug:main ncurses 6.0_0 is the latest installed :debug:main ncurses 6.0_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses :debug:main OS darwin/16.0.0 (Mac OS X 10.12) arch i386 :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! ncurses 6.0_0 >= ncurses 6.0_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main aspcud 1.9.1_0 exists in the ports tree :debug:main aspcud 1.9.1_0 is the latest installed :debug:main aspcud 1.9.1_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/aspcud :debug:main OS darwin/16.0.0 (Mac OS X 10.12) arch i386 :debug:main Re-registering default for configure.dir :debug:main Re-registering default for build.dir :debug:main Sourcing PortGroup cmake 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/cmake-1.0.tcl :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! aspcud 1.9.1_0 >= aspcud 1.9.1_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main clasp 3.1.4_0 exists in the ports tree :debug:main clasp 3.1.4_0 is the latest installed :debug:main clasp 3.1.4_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/math/clasp :debug:main OS darwin/16.0.0 (Mac OS X 10.12) arch i386 :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! clasp 3.1.4_0 >= clasp 3.1.4_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main gringo 4.5.4_2 exists in the ports tree :debug:main gringo 4.5.4_2 is the latest installed :debug:main gringo 4.5.4_2 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/math/gringo :debug:main OS darwin/16.0.0 (Mac OS X 10.12) arch i386 :debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl :debug:main compiler clang 800.0.38 not blacklisted because it doesn't match {clang < 500} :debug:main Sourcing PortGroup cxx11 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/cxx11-1.0.tcl :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main universal variant already exists, so not adding the default one :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! gringo 4.5.4_2 >= gringo 4.5.4_2 :msg:main ---> Computing dependencies for opam:info:main .:debug:main opam has no conflicts :debug:main Searching for dependency: ocaml :debug:main Found Dependency: receipt exists for ocaml :debug:main Searching for dependency: aspcud :debug:main Found Dependency: receipt exists for aspcud :msg:main :debug:main Executing org.macports.main (opam) :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 20 :debug:main euid changed to: 507 :debug:archivefetch archivefetch phase started at Mon Oct 10 21:35:31 EDT 2016 :msg:archivefetch ---> Fetching archive for opam :debug:archivefetch Executing org.macports.archivefetch (opam) :debug:archivefetch euid/egid changed to: 0/0 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports :debug:archivefetch euid/egid changed to: 507/20 :info:archivefetch ---> opam-1.2.2_0.darwin_16.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified :msg:archivefetch ---> Attempting to fetch opam-1.2.2_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/opam :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch opam-1.2.2_0.darwin_16.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/opam :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch opam-1.2.2_0.darwin_16.x86_64.tbz2 from http://lil.fr.packages.macports.org/opam :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:fetch fetch phase started at Mon Oct 10 21:35:33 EDT 2016 :notice:fetch ---> Fetching distfiles for opam :debug:fetch Executing org.macports.fetch (opam) :debug:fetch Privilege de-escalation not attempted as not running as root. :debug:checksum checksum phase started at Mon Oct 10 21:35:33 EDT 2016 :notice:checksum ---> Verifying checksums for opam :debug:checksum Executing org.macports.checksum (opam) :info:checksum ---> Checksumming opam-full-1.2.2.tar.gz :debug:checksum Calculated (rmd160) is b11c80a506c261d62010bdd9fdaf0b74a1b85299 :debug:checksum Correct (rmd160) checksum for opam-full-1.2.2.tar.gz :debug:checksum Calculated (sha256) is 473c3c6c5d01e3c53269db7aee1f4d04e61308a660bbabc6450a854e0f2fbe42 :debug:checksum Correct (sha256) checksum for opam-full-1.2.2.tar.gz :debug:checksum Privilege de-escalation not attempted as not running as root. :debug:extract extract phase started at Mon Oct 10 21:35:33 EDT 2016 :notice:extract ---> Extracting opam :debug:extract Executing org.macports.extract (opam) :info:extract ---> Extracting opam-full-1.2.2.tar.gz :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/opam/opam-full-1.2.2.tar.gz' :debug:extract 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_sysutils_opam/opam/work/.CC_PRINT_OPTIONS' CPATH='/opt/local/include' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.12' :debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/opam/opam-full-1.2.2.tar.gz' | /usr/bin/tar -xf -' :debug:extract Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/opam/opam-full-1.2.2.tar.gz' | /usr/bin/tar -xf - :debug:extract euid/egid changed to: 0/0 :debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/work to macports :debug:extract euid/egid changed to: 507/20 :debug:extract Executing proc-post-org.macports.extract-extract-0 :debug:extract Privilege de-escalation not attempted as not running as root. :debug:patch patch phase started at Mon Oct 10 21:35:33 EDT 2016 :debug:patch Executing org.macports.patch (opam) :debug:patch Privilege de-escalation not attempted as not running as root. :debug:configure configure phase started at Mon Oct 10 21:35:33 EDT 2016 :notice:configure ---> Configuring opam :debug:configure Using compiler 'Xcode Clang' :debug:configure Executing org.macports.configure (opam) :debug:configure Environment: CC='/usr/bin/clang' CC_PRINT_OPTIONS='YES' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/work/.CC_PRINT_OPTIONS' CFLAGS='-pipe -Os -arch x86_64' CPATH='/opt/local/include' CPPFLAGS='-I/opt/local/include' CXX='/usr/bin/clang++' CXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++' F77FLAGS='-m64' F90FLAGS='-pipe -Os -m64' FCFLAGS='-pipe -Os -m64' FFLAGS='-pipe -Os' INSTALL='/usr/bin/install -c' LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.12' OBJC='/usr/bin/clang' OBJCFLAGS='-pipe -Os -arch x86_64' OBJCXX='/usr/bin/clang++' OBJCXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++' :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/work/opam-full-1.2.2" && ./configure --prefix=/opt/local' :debug:configure Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/work/opam-full-1.2.2" && ./configure --prefix=/opt/local :info:configure checking for gcc... /usr/bin/clang :info:configure checking whether the C compiler works... yes :info:configure checking for C compiler default output file name... a.out :info:configure checking for suffix of executables... :info:configure checking whether we are cross compiling... no :info:configure checking for suffix of object files... o :info:configure checking whether we are using the GNU C compiler... yes :info:configure checking whether /usr/bin/clang accepts -g... yes :info:configure checking for /usr/bin/clang option to accept ISO C89... none needed :info:configure checking for ocamlc... ocamlc :info:configure OCaml version is 4.02.2 :info:configure OCaml library path is /opt/local/lib/ocaml :info:configure checking for ocamlopt... ocamlopt :info:configure checking for ocamlc.opt... ocamlc.opt :info:configure checking for ocamlopt.opt... ocamlopt.opt :info:configure checking for ocaml... ocaml :info:configure checking for ocamldep... ocamldep :info:configure checking for ocamlmktop... ocamlmktop :info:configure checking for ocamlmklib... ocamlmklib :info:configure checking for ocamldoc... ocamldoc :info:configure checking for ocamlbuild... ocamlbuild :info:configure checking for gawk... gawk :info:configure checking for ocamllex... ocamllex :info:configure checking for ocamllex.opt... ocamllex.opt :info:configure checking for ocamlyacc... ocamlyacc :info:configure checking for ocamlfind... no :info:configure checking for curl... curl :info:configure :info:configure checking for OCaml findlib package unix... not found :info:configure checking for OCaml findlib package extlib... not found :info:configure checking for OCaml findlib package re... not found :info:configure checking for OCaml findlib package re.emacs... not found :info:configure checking for OCaml findlib package re.str... not found :info:configure checking for OCaml findlib package re.perl... not found :info:configure checking for OCaml findlib package re.pcre... not found :info:configure checking for OCaml findlib package re.glob... not found :info:configure checking for OCaml findlib package cmdliner... not found :info:configure checking for OCaml findlib package ocamlgraph... not found :info:configure checking for OCaml findlib package cudf... not found :info:configure checking for OCaml findlib package dose3... not found :info:configure checking for OCaml findlib package jsonm... not found :info:configure :info:configure ============================================================================ :info:configure Some dependencies are missing. If you are just interested in the stand-alone :info:configure binaries, run 'make lib-ext' to download and include them. :info:configure ============================================================================ :info:configure :info:configure configure: creating ./config.status :info:configure config.status: creating Makefile.config :info:configure config.status: creating META :info:configure config.status: creating src/core/opamVersion.ml :info:configure :info:configure Executables will be installed in /opt/local/bin :info:configure Manual pages will be installed in /opt/local/share/man :debug:configure Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Mon Oct 10 21:35:37 EDT 2016 :notice:build ---> Building opam :debug:build Executing org.macports.build (opam) :debug:build port disallows a parallel build :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_sysutils_opam/opam/work/.CC_PRINT_OPTIONS' CPATH='/opt/local/include' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.12' TERM='xterm' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/work/opam-full-1.2.2" && /usr/bin/make -w lib-ext all' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/work/opam-full-1.2.2" && /usr/bin/make -w lib-ext all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/work/opam-full-1.2.2' :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src_ext lib-ext :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/work/opam-full-1.2.2/src_ext' :info:build [ -e extlib-1.5.3.tar.gz ] || curl -OL http://ocaml-extlib.googlecode.com/files/extlib-1.5.3.tar.gz :info:build % Total % Received % Xferd Average Speed Time Time Time Current :info:build Dload Upload Total Spent Left Speed :info:build 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1586 100 1586 0 0 10116 0 --:--:-- --:--:-- --:--:-- 15250 :info:build ocaml ../shell/md5check.ml extlib-1.5.3.tar.gz 3de5f4e0a95fda7b2f3819c4a655b17c :info:build MD5 for extlib-1.5.3.tar.gz differ: :info:build expected: 3de5f4e0a95fda7b2f3819c4a655b17c :info:build actual: a0830b6fd2439ba2e924e08ba9e82a79 :info:build mkdir -p tmp :info:build cd tmp && tar xfz ../extlib-1.5.3.tar.gz :info:build tar: Error opening archive: Failed to open '../extlib-1.5.3.tar.gz' :info:build make[1]: *** [extlib.stamp] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/work/opam-full-1.2.2/src_ext' :info:build make: *** [lib-ext] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/work/opam-full-1.2.2' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/work/opam-full-1.2.2" && /usr/bin/make -w lib-ext all :info:build Exit code: 2 :error:build org.macports.build for port opam returned: command execution failed :debug:build Error code: CHILDSTATUS 8532 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 opam: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port opam for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_opam/opam/main.log