Error in port selfupdate

Ryan Schmidt ryandesign at
Sat Feb 18 22:36:22 UTC 2017

> On Feb 18, 2017, at 10:56, Davide Liessi <davide.liessi at> wrote:
> Hi.
> I recently updated a MacPorts installation from version 2.3.5 to 2.4.0
> on Mac OS 10.6.8 via `port selfupdate` and got this error:
> /opt/local/libexec/macports/bin/tclsh8.5 ./src/images_to_archives.tcl
> Warning: port definitions are more than two weeks old, consider
> updating them by running 'port selfupdate'.
> This could take a while...
> Processing 9 of 979: py27-mako-1.0.4_0.darwin_10.noarch.tbz2
> Command failed: /usr/bin/tar -cjf
> /Volumes/MacPorts/software/py27-mako/py27-mako-1.0.4_0.darwin_10.noarch.tbz2
> -T /Volumes/MacPorts/software/py27-mako/tarlist >
> /Volumes/MacPorts/software/py27-mako/error.log 2>&1
> (/Volumes/MacPorts/software is a directory that is symlinked in
> /opt/local/var/macports.)
> I'm not sure whether this is a bug in MacPorts base or in py27-mako.
> MacPorts seems to have installed correctly.
> Should I worry about the error?
> Should I do anything for py27-mako and the other 970 ports that were
> not processed with images_to_archives.tcl?

Images-to-archives is an ancient upgrade process. It shouldn't do anything anymore, unless your MacPorts installation hasn't been updated in many, many years. So it's not a big problem that it's not completing.

Nevertheless, it should complete without error; the fact that there is an error means something is wrong. Is that py27-mako-1.0.4_0.darwin_10.noarch.tbz2 file perhaps corrupt? What happens if you try to decompress it manually?

More information about the macports-users mailing list