Ticket #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: | mcalhoun@…, ryandesign@… | |
| 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
Change History
Changed 13 months ago by digitalrinaldo@…
- Attachment readline.log added
comment:1 Changed 13 months ago by ryandesign@…
- Cc mcalhoun@…, ryandesign@… added
- Port set to readline
- Summary changed from Unable to install readline to readline: 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:
- 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.
- 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")
Note: See
TracTickets for help on using
tickets.


Full readline log