Opened 13 years ago

Last modified 12 years ago

#31772 closed defect

libiconv @1.14_0 install error - /usr/bin/tar: +CONTENTS: Not found in archive — at Initial Version

Reported by: tjfulle@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: tjfulle@…
Port: libiconv

Description

Updated MacPorts today by

sudo port selfupdate
sudo port upgrade outdated

Upgrading outdated ports failed when installing libiconv @1.14_0 with the following error:

--->  Installing libiconv @1.14_0
Error: Target org.macports.install returned: /usr/bin/tar: +CONTENTS: Not found in archive
/usr/bin/tar: Error exit delayed from previous errors
Log for libiconv is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/libiconv/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

I have tried the following to fix the problem

sudo rm /opt/local/var/macports/software/libiconv/libiconv-1.14_0.darwin_10.x86_64.tbz2
sudo port clean libiconv
sudo port install libiconv

and the problem persists. I am unable to update or install other ports because of this problem. Is there a way to bypass installing libiconv?

Relevant sections of the log file follow, the entire log file is attached.

System: Mac Pro 2 x 2.4 GHz Quad-Core Intel Xeon 6 GB 1066 MHz DDR3 Mac OSX 10.6.8 gcc version 4.2.1 (Apple Inc. build 5664)

Log File:

:msg:main --->  Computing dependencies for libiconv:info:main .
:msg:main 
:msg:archivefetch --->  Fetching archive for libiconv
:info:archivefetch --->  libiconv-1.14_0.darwin_10.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/software/libiconv
:msg:archivefetch --->  Attempting to fetch libiconv-1.14_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/libiconv
:msg:archivefetch --->  Attempting to fetch libiconv-1.14_0.darwin_10.x86_64.tbz2.rmd160 from http://packages.macports.org/libiconv
:notice:install --->  Installing libiconv @1.14_0
:error:install Target org.macports.install returned: /usr/bin/tar: +CONTENTS: Not found in archive
/usr/bin/tar: Error exit delayed from previous errors
:debug:install Backtrace: /usr/bin/tar: +CONTENTS: Not found in archive
/usr/bin/tar: Error exit delayed from previous errors
    while executing
"exec [findBinary tar ${portutil::autoconf::tar_path}] -xOj${qflag}f $location +CONTENTS"
    (procedure "extract_contents" line 6)
    invoked from within
"extract_contents $location $portarchivetype"
    (procedure "portinstall::install_main" line 19)
    invoked from within
"$procedure $targetname"
:info:install Warning: the following items did not execute (for libiconv): org.macports.activate org.macports.install
:notice:install Log for libiconv is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/libiconv/main.log

Change History (1)

Changed 13 years ago by tjfulle@…

Attachment: main.log added
Note: See TracTickets for help on using tickets.