Opened 13 years ago

Closed 13 years ago

#30019 closed defect (duplicate)

libiconv fails to install

Reported by: glennra (Glenn Ramsey) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port:

Description

Clean install of 1.9.2 on 10.6.8. added +universal to variants.conf (although it still fails without this)

$ sudo port install python26
...
--->  Fetching libiconv
--->  Attempting to fetch libiconv-1.13.1.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Applying patches to libiconv
Error: Target org.macports.patch returned: shell command failed (see log for details)
Error: Failed to install libiconv
Log for libiconv is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/main.log

The contents of main.log are:

version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv/work
:debug:main Executing org.macports.main (libiconv)
:msg:main --->  Fetching libiconv
:debug:fetch fetch phase started at Mon Jul  4 16:16:59 NZST 2011
:debug:fetch Executing org.macports.fetch (libiconv)
:info:fetch --->  libiconv-1.13.1.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/libiconv
:debug:fetch Pinging mirrors.ibiblio.org...
:debug:fetch Pinging mirrors.kernel.org...
:debug:fetch Pinging mirror.facebook.net...
:debug:fetch Pinging ftp.funet.fi...
:debug:fetch Pinging ftp.kddlabs.co.jp...
:debug:fetch Pinging ftp.dti.ad.jp...
:debug:fetch Pinging ftp.informatik.hu-berlin.de...
:debug:fetch Pinging ftp.lip6.fr...
:debug:fetch Pinging ftp.chg.ru...
:debug:fetch Pinging mirror.internode.on.net...
:debug:fetch Pinging mirror.aarnet.edu.au...
:debug:fetch Pinging ftp.gnu.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 mirrors.ibiblio.org ping time is 266.824
:debug:fetch mirrors.kernel.org ping time is 182.000
:debug:fetch mirror.facebook.net ping time is 159.516
:debug:fetch ftp.funet.fi ping time is 327.232
:debug:fetch ftp.kddlabs.co.jp ping time is 10000
:debug:fetch ftp.dti.ad.jp ping time is 256.934
:debug:fetch ftp.informatik.hu-berlin.de ping time is 10000
:debug:fetch ftp.lip6.fr ping time is 298.241
:debug:fetch ftp.chg.ru ping time is 10000
:debug:fetch mirror.internode.on.net ping time is 63.832
:debug:fetch mirror.aarnet.edu.au ping time is 67.037
:debug:fetch ftp.gnu.org ping time is 10000
:debug:fetch distfiles.macports.org ping time is 163.200
:debug:fetch aarnet.au.distfiles.macports.org ping time is 61.006
:debug:fetch lil.fr.distfiles.macports.org ping time is 291.550
:debug:fetch sea.us.distfiles.macports.org ping time is 10000
:debug:fetch ykf.ca.distfiles.macports.org ping time is 231.557
:msg:fetch --->  Attempting to fetch libiconv-1.13.1.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/libiconv
:msg:fetch --->  Verifying checksum(s) for libiconv
:debug:checksum checksum phase started at Mon Jul  4 16:17:15 NZST 2011
:debug:checksum Executing org.macports.checksum (libiconv)
:info:checksum --->  Checksumming libiconv-1.13.1.tar.gz
:debug:checksum Correct (md5) checksum for libiconv-1.13.1.tar.gz
:debug:checksum Correct (sha1) checksum for libiconv-1.13.1.tar.gz
:debug:checksum Correct (rmd160) checksum for libiconv-1.13.1.tar.gz
:msg:checksum --->  Extracting libiconv
:debug:extract extract phase started at Mon Jul  4 16:17:15 NZST 2011
:debug:extract Executing org.macports.extract (libiconv)
:info:extract --->  Extracting libiconv-1.13.1.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/libiconv/libiconv-1.13.1.tar.gz'
: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_textproc_libiconv/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_textproc_libiconv/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/libiconv/libiconv-1.13.1.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:patch patch phase started at Mon Jul  4 16:17:15 NZST 2011
:debug:patch Executing org.macports.patch (libiconv)
:msg:patch --->  Applying patches to libiconv
:info:patch --->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv/files/patch-utf8mac.diff
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.13.1" && /usr/bin/patch -p1'
:info:patch patching file lib/converters.h
:info:patch patching file lib/encodings.def
:info:patch patching file lib/utf8mac.h
:info:patch --->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv/files/patch-src-Makefile.in-darwin.diff
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.13.1" && /usr/bin/patch -p1'
:info:patch patching file src/Makefile.in
:info:patch --->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv/files/patch-c99.diff
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.13.1" && /usr/bin/patch -p1'
:info:patch can't find file to patch at input line 3
:info:patch Perhaps you used the wrong -p or --strip option?
:info:patch The text leading up to this was:
:info:patch --------------------------
:info:patch |--- lib/iconv.c.orig	2011-07-03 10:09:20.000000000 -0700
:info:patch |+++ lib/iconv.c	2011-07-03 10:11:24.000000000 -0700
:info:patch --------------------------
:info:patch File to patch: 
:info:patch Skip this patch? [y] 
:info:patch Skipping patch.
:info:patch 1 out of 1 hunk ignored
:info:patch shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.13.1" && /usr/bin/patch -p1 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv/files/patch-c99.diff'" returned error 1
:error:patch Target org.macports.patch returned: shell command failed (see log for details)
:debug:patch Backtrace: shell command failed (see log for details)
    while executing
"command_exec patch "" "< '$patch'""
    (procedure "portpatch::patch_main" line 35)
    invoked from within
"$procedure $targetname"
:info:patch Warning: the following items did not execute (for libiconv): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:patch Failed to install libiconv
:notice:patch Log for libiconv is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/main.log

Change History (2)

comment:1 Changed 13 years ago by glennra (Glenn Ramsey)

oops duplicate of #30016

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.