[MacPorts] #34080: Can't install binary archives: (Target org.macports.install returned: /usr/bin/tar: +CONTENTS: Not found in archive)
MacPorts
noreply at macports.org
Mon Apr 16 11:43:23 PDT 2012
#34080: Can't install binary archives: (Target org.macports.install returned:
/usr/bin/tar: +CONTENTS: Not found in archive)
------------------------------------------------+---------------------------
Reporter: michael.klein@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.0.4
Keywords: | Port:
------------------------------------------------+---------------------------
copied .tbz2 archive to different machine (same OS, architecture and
variants) and tried to install;
{{{
$ sudo port -v install subversion ---> Computing dependencies for
subversion.
---> Installing subversion @1.7.4_0+no_bdb
Error: Target org.macports.install returned: /usr/bin/tar: +CONTENTS: Not
found in archive
/usr/bin/tar: Error exit delayed from previous errors
Warning: the following items did not execute (for subversion):
org.macports.activate org.macports.install
Log for subversion is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_devel_subversion/subversion/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
$ tar tjvf
/opt/local/var/macports/software/subversion/subversion-1.7.4_0+no_bdb.darwin_9.ppc.tbz2
| grep -- +CONTENTS
-rw-r--r-- root/wheel 11361 2012-03-19 00:14:18 ./+CONTENTS
}}}
+CONTENTS is not found because of leading ./ in archive; after manually
unpacking and re-packing without leading ./, installation went fine.
--
Ticket URL: <https://trac.macports.org/ticket/34080>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list