Opened 12 years ago

Closed 12 years ago

#34382 closed defect (worksforme)

readline: tar: +CONTENTS: Not found in archive

Reported by: digitalrinaldo@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), ryandesign (Ryan Carsten Schmidt)
Port: readline

Description

I had some trouble with Macports, a few weeks ago and I started to use Homebrew. I had many issues with Homebrew and switched back to Macports just in time for the need to isntall readline. I get the following when I install readline. The log file doesn't have much more information. I have attached it.


 port install readline--->  Computing dependencies for readline
--->  Installing readline @6.2.000_0
Error: Target org.macports.install returned: tar: +CONTENTS: Not found in archive
tar: Error exit delayed from previous errors.
Log for readline is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_readline/readline/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

readline.log (3.7 KB) - added by digitalrinaldo@… 12 years ago.
Full readline log

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by digitalrinaldo@…

Attachment: readline.log added

Full readline log

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mcalhoun@… ryandesign@… added
Port: readline added
Summary: Unable to install readlinereadline: tar: +CONTENTS: Not found in archive

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")

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

Resolution: worksforme
Status: newclosed

No response; assuming it was one of the scenarios mentioned.

Note: See TracTickets for help on using tickets.