[MacPorts] #31772: libiconv @1.14_0 install error - /usr/bin/tar: +CONTENTS: Not found in archive

MacPorts noreply at macports.org
Wed Oct 26 08:46:43 PDT 2011


#31772: libiconv @1.14_0 install error - /usr/bin/tar: +CONTENTS: Not found in
archive
--------------------------------+-------------------------------------------
 Reporter:  tjfulle@…           |       Owner:  ryandesign@…           
     Type:  defect              |      Status:  new                    
 Priority:  Normal              |   Milestone:                         
Component:  ports               |     Version:  2.0.1                  
 Keywords:                      |        Port:  libiconv               
--------------------------------+-------------------------------------------

Comment(by tjfulle@…):

 Replying to [comment:2 ryandesign@…]:
 > I've just downloaded the file
 http://packages.macports.org/libiconv/libiconv-1.14_0.darwin_10.x86_64.tbz2
 and decompressed it, and it does contain a +CONTENTS file as it should, so
 I don't think the problem is with the file. Is there perhaps something the
 matter with your /usr/bin/tar or /usr/bin/bzip2 commands? Do they
 otherwise function normally?

 I also downloaded
 [http://packages.macports.org/libiconv/libiconv-1.14_0.darwin_10.x86_64.tbz2]
 and untarred the archive:

 {{{
 % tar -xvf libiconv-1.14_0.darwin_10.x86_64.tbz2
 % ls

 +COMMENT   +CONTENTS  +DESC      +PORTFILE  +STATE     opt/
 }}}

 Clearly, the archive contains the +COMMENT file.[[BR]][[BR]]

 Suspecting something else might be wrong with the archive, I copied the
 @13.1_0 archive (previously installed) to the @14.0

 {{{
 % sudo cp libiconv-1.13.1_0.darwin_10.x86_64.tbz2
 libiconv-1.14_0.darwin_10.x86_64.tbz2
 % sudo port install libiconv
 }}}

 with the same results

 {{{
 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: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 I then suspected a permissions issue because
 /opt/local/var/macports/software/libiconv had the following ownership:
 macports:wheel.  Almost every other directory in /opt/local/var/macports
 is owned by me.  I changed the ownership

 {{{
 % sudo chown -R tjfulle:admin /opt/local/var/macports/software/libiconv
 % sudo port install libiconv
 }}}

 and the install failed with the same message.  I'm at a bit of a loss...

-- 
Ticket URL: <https://trac.macports.org/ticket/31772#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list