Simple way to install binary archives?

Michael Klein michael.klein at puffin.lb.shuttle.de
Thu Apr 12 13:05:45 PDT 2012


Dear list,

If I copy a .tbz2 archive file from /opt/local/var/macports/software to 
the same directory on another machine (with same architecture and 
variants.conf), is that supposed to work?

"port install" indeed picks up the archive, but can't find the +CONTENTS 
file due to a leading "./" path component:

$ 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


Should I create a ticket or am I missing something?

/Michael


More information about the macports-users mailing list