Problem: MacPorts Will not install anything anymore since the last time I updated / upgraded it.
OS: Mac OS X 10.6.7 "Snow Leo", I had Snow Leo even before installing MacPorts so NO big upgrade / migration to major releases.
Symptoms: Error 1's, Status 1 messages, and similar symptoms...
Contact: ssl.solidstatelogic[at]gmail[dot]com
Console output & logs:
$ sudo port selfupdate
Password:
---> Updating the ports tree
---> Updating MacPorts base sources using rsync
MacPorts base version 1.9.2 installed,
MacPorts base version 1.9.2 downloaded.
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you should run
port upgrade outdated
$ port outdated
The following installed ports are outdated:
iso-codes 3.25.1_0 < 3.26_0
python27 2.7.1_3 < 2.7.2_0
gmp 5.0.1_1 < 5.0.2_0
kdelibs4 4.6.3_0 < 4.6.4_0
kdebase4-runtime 4.6.3_0 < 4.6.4_0
kdepimlibs4 4.6.3_0 < 4.6.4_0
mesa 7.10.2_2 < 7.10.3_0
$ sudo port upgrade outdated
---> Computing dependencies for iso-codes
---> Fetching iso-codes
---> Attempting to fetch iso-codes_3.26.orig.tar.bz2 from http://distfiles.macports.org/iso-codes
---> Verifying checksum(s) for iso-codes
---> Extracting iso-codes
---> Configuring iso-codes
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Log for iso-codes is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_iso-codes/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>
--------------------------------------------------------------------
Log for iso-codes
--------------------------------------------------------------------
version:1
:msg:main ---> Computing dependencies for iso-codes:info:main .:debug:main Searching for dependency: gettext
:debug:main Found Dependency: receipt exists for gettext
:msg:main
:debug:main Executing org.macports.main (iso-codes)
:msg:main ---> Fetching iso-codes
:debug:fetch fetch phase started at Sat Jun 18 05:55:09 PDT 2011
:debug:fetch Executing org.macports.fetch (iso-codes)
:info:fetch ---> iso-codes_3.26.orig.tar.bz2 doesn't seem to exist in /opt/local/var/macports/distfiles/iso-codes
:debug:fetch Pinging ftp.us.debian.org...
:debug:fetch Pinging ftp.au.debian.org...
:debug:fetch Pinging ftp.bg.debian.org...
:debug:fetch Pinging ftp.cl.debian.org...
:debug:fetch Pinging ftp.cz.debian.org...
:debug:fetch Pinging ftp.de.debian.org...
:debug:fetch Pinging ftp.ee.debian.org...
:debug:fetch Pinging ftp.es.debian.org...
:debug:fetch Pinging ftp.fi.debian.org...
:debug:fetch Pinging ftp.fr.debian.org...
:debug:fetch Pinging ftp.hk.debian.org...
:debug:fetch Pinging ftp.hr.debian.org...
:debug:fetch Pinging ftp.hu.debian.org...
:debug:fetch Pinging ftp.ie.debian.org...
:debug:fetch Pinging ftp.is.debian.org...
:debug:fetch Pinging ftp.it.debian.org...
:debug:fetch Pinging ftp.jp.debian.org...
:debug:fetch Pinging ftp.nl.debian.org...
:debug:fetch Pinging ftp.no.debian.org...
:debug:fetch Pinging ftp.pl.debian.org...
:debug:fetch Pinging ftp.ru.debian.org...
:debug:fetch Pinging ftp.se.debian.org...
:debug:fetch Pinging ftp.si.debian.org...
:debug:fetch Pinging ftp.sk.debian.org...
:debug:fetch Pinging ftp.uk.debian.org...
:debug:fetch Pinging ftp.wa.au.debian.org...
:debug:fetch Pinging ftp2.de.debian.org...
:debug:fetch Pinging distfiles.macports.org...
:debug:fetch Pinging aarnet.au.distfiles.macports.org...
:debug:fetch Pinging lil.fr.distfiles.macports.org...
:debug:fetch Pinging sea.us.distfiles.macports.org...
:debug:fetch Pinging ykf.ca.distfiles.macports.org...
:debug:fetch ftp.us.debian.org ping time is 89.089
:debug:fetch ftp.au.debian.org ping time is 199.617
:debug:fetch ftp.bg.debian.org ping time is 198.340
:debug:fetch ftp.cl.debian.org ping time is 224.193
:debug:fetch ftp.cz.debian.org ping time is 179.115
:debug:fetch ftp.de.debian.org ping time is 194.219
:debug:fetch ftp.ee.debian.org ping time is 10000
:debug:fetch ftp.es.debian.org ping time is 189.589
:debug:fetch ftp.fi.debian.org ping time is 204.504
:debug:fetch ftp.fr.debian.org ping time is 176.905
:debug:fetch ftp.hk.debian.org ping time is 236.028
:debug:fetch ftp.hr.debian.org ping time is 210.096
:debug:fetch ftp.hu.debian.org ping time is 209.467
:debug:fetch ftp.ie.debian.org ping time is 173.543
:debug:fetch ftp.is.debian.org ping time is 202.294
:debug:fetch ftp.it.debian.org ping time is 181.046
:debug:fetch ftp.jp.debian.org ping time is 188.848
:debug:fetch ftp.nl.debian.org ping time is 159.345
:debug:fetch ftp.no.debian.org ping time is 201.444
:debug:fetch ftp.pl.debian.org ping time is 206.326
:debug:fetch ftp.ru.debian.org ping time is 210.440
:debug:fetch ftp.se.debian.org ping time is 209.653
:debug:fetch ftp.si.debian.org ping time is 10000
:debug:fetch ftp.sk.debian.org ping time is 192.105
:debug:fetch ftp.uk.debian.org ping time is 167.120
:debug:fetch ftp.wa.au.debian.org ping time is 249.656
:debug:fetch ftp2.de.debian.org ping time is 191.635
:debug:fetch distfiles.macports.org ping time is 38.011
:debug:fetch aarnet.au.distfiles.macports.org ping time is 216.102
:debug:fetch lil.fr.distfiles.macports.org ping time is 172.557
:debug:fetch sea.us.distfiles.macports.org ping time is 10000
:debug:fetch ykf.ca.distfiles.macports.org ping time is 66.780
:msg:fetch ---> Attempting to fetch iso-codes_3.26.orig.tar.bz2 from http://distfiles.macports.org/iso-codes
:msg:fetch ---> Verifying checksum(s) for iso-codes
:debug:checksum checksum phase started at Sat Jun 18 05:55:20 PDT 2011
:debug:checksum Executing org.macports.checksum (iso-codes)
:info:checksum ---> Checksumming iso-codes_3.26.orig.tar.bz2
:debug:checksum Correct (sha1) checksum for iso-codes_3.26.orig.tar.bz2
:debug:checksum Correct (rmd160) checksum for iso-codes_3.26.orig.tar.bz2
:debug:checksum setting option extract.cmd to /usr/bin/bzip2
:msg:checksum ---> Extracting iso-codes
:debug:extract extract phase started at Sat Jun 18 05:55:20 PDT 2011
:debug:extract Executing org.macports.extract (iso-codes)
:info:extract ---> Extracting iso-codes_3.26.orig.tar.bz2
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/iso-codes/iso-codes_3.26.orig.tar.bz2'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_iso-codes/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_iso-codes/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/iso-codes/iso-codes_3.26.orig.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:patch patch phase started at Sat Jun 18 05:55:24 PDT 2011
:debug:patch Executing org.macports.patch (iso-codes)
:debug:patch Executing proc-post-org.macports.patch-patch-0
:msg:patch ---> Configuring iso-codes
:debug:patch Using compiler 'Mac OS X gcc 4.2'
:debug:configure configure phase started at Sat Jun 18 05:55:24 PDT 2011
:debug:configure Executing org.macports.configure (iso-codes)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_iso-codes/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2' LDFLAGS='-L/opt/local/lib' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-pipe -O2' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2' FFLAGS='-pipe -O2' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_iso-codes/work/iso-codes-3.26" && ./configure --prefix=/opt/local'
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for a thread-safe mkdir -p... ./install-sh -c -d
:info:configure checking for gawk... gawk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking whether to enable maintainer-specific portions of Makefiles... no
:info:configure checking whether make sets $(MAKE)... (cached) yes
:info:configure checking for msgmerge... /opt/local/bin/msgmerge
:info:configure checking for msgfmt... /opt/local/bin/msgfmt
:info:configure checking for recode-sr-latin... /opt/local/bin/recode-sr-latin
:info:configure checking if /opt/local/bin/msgfmt is GNU msgfmt... yes
:info:configure configure: creating ./config.status
:info:configure config.status: creating Makefile
:info:configure dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
:info:configure Referenced from: /opt/local/bin/gawk
:info:configure Reason: no suitable image found. Did find:
:info:configure /opt/local/lib/libintl.8.dylib: mach-o, but wrong architecture
:info:configure sed: stdout: Broken pipe
:info:configure ./config.status: line 847: 26306 Done(1) eval sed \"\$ac_sed_extra\" "$ac_file_inputs"
:info:configure 26307 Trace/BPT trap | $AWK -f "$tmp/subs.awk" > $tmp/out
:info:configure config.status: error: could not create Makefile
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_iso-codes/work/iso-codes-3.26" && ./configure --prefix=/opt/local " returned error 1
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log for details)
while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for iso-codes): org.macports.destroot org.macports.configure org.macports.build
:notice:configure Log for iso-codes is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_iso-codes/main.log
-------------------------------------------------------
End of iso-codes log
-------------------------------------------------------
The output of port -v installed gawk gettext is:
$ port -v installed gawk gettext
The following ports are currently installed:
gawk @3.1.8_1 (active) platform='darwin 10' archs='x86_64'
gettext @0.18.1.1_2 platform='darwin 10' archs='x86_64'
gettext @0.18.1.1_2+universal (active) platform='darwin 10' archs='i386 x86_64