[MacPorts] #34382: readline: tar: +CONTENTS: Not found in archive (was: Unable to install readline)

MacPorts noreply at macports.org
Wed May 9 10:28:17 PDT 2012


#34382: readline: tar: +CONTENTS: Not found in archive
--------------------------------------+-------------------------------------
 Reporter:  digitalrinaldo@…          |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  2.0.4                                
 Keywords:                            |        Port:  readline                             
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):

 * cc: mcalhoun@…, ryandesign@… (added)
  * port:  => readline


Comment:

 Are you certain you have uninstalled all parts of Homebrew? Different
 package managers don't necessarily play nice together so you should only
 use one, whether that's Homebrew or MacPorts or Fink or something else.

 The relevant part of the log is:

 {{{
 Target org.macports.install returned: tar: +CONTENTS: Not found in archive
 }}}

 We've found two possible reasons for this error message previously:

  1. MacPorts expects "tar" to be BSD tar, but "tar" is actually GNU tar.
 If this is the case, then the solution is to update to MacPorts 2.1.0 rc
 1, or to ensure that "tar" is BSD tar.
  2. The archive was built with such an old version of MacPorts that it
 does not contain the CONTENTS file. If this is the case, then the solution
 is to rebuild the archive with the current version of MacPorts. ("`sudo
 port clean readline; sudo port -f uninstall readline; sudo port install
 readline`")

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


More information about the macports-tickets mailing list