sudo port selfupdate fails

Johannes Ruscheinski ruschein at gmail.com
Mon Sep 5 17:07:21 PDT 2011


Hi,

Here is what I get when I run "sudo port -d selfupdate":

--->  Updating the ports tree
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from file:///opt/mports/trunk/dports
DEBUG: /usr/bin/svn update --non-interactive /opt/mports/trunk/dports
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
U    /opt/mports/trunk/dports/python/py26-pygpgme/Portfile
A    /opt/mports/trunk/dports/python/py-matplotlib/files/patch-dviread.diff
U    /opt/mports/trunk/dports/python/py-matplotlib/Portfile
D    /opt/mports/trunk/dports/www/wml/files
...
Updated to revision 83561.
Creating port index in /opt/mports/trunk/dports
Failed to parse file archivers/arj/Portfile: invalid command name
"get_canonical_archflags"
Failed to parse file archivers/gzip/Portfile: invalid command name
"installs_libs"
Failed to parse file archivers/xdelta/Portfile: invalid command name
"get_canonical_archflags"
Failed to parse file archivers/zoo/Portfile: invalid command name
"get_canonical_archflags"
Failed to parse file audio/faust/Portfile: invalid command name
"get_canonical_archflags"
Failed to parse file audio/id3v2/Portfile: invalid command name
"get_canonical_archflags"
Failed to parse file audio/pianobar/Portfile: invalid command name
"get_canonical_archflags"
Failed to parse file audio/qtplay/Portfile: invalid command name "installs_libs"
Failed to parse file audio/ssrc/Portfile: invalid command name
"get_canonical_archflags"
Adding port databases/libgda4
Failed to parse file databases/mongodb/Portfile: invalid command name
"get_canonical_archflags"
Failed to parse file databases/redis/Portfile: invalid command name
"get_canonical_archflags"
Failed to parse file databases/tinycdb/Portfile: invalid command name
"get_canonical_archflags"
Failed to parse file devel/aqbanking5/Portfile: can't read "subport":
no such variable
Failed to parse file devel/bazaar/Portfile: invalid command name "installs_libs"
Adding port devel/bzr-fastimport
Failed to parse file devel/dylibbundler/Portfile: invalid command name
"get_canonical_archflags"
Failed to parse file devel/fossil/Portfile: invalid command name
"get_canonical_archflags"
Failed to parse file devel/git-core/Portfile: invalid command name
"get_canonical_archflags"
Failed to parse file devel/gmake/Portfile: invalid command name "installs_libs"
...

Any idea what might be wrong and how to fix it?

Thanks!
-- 
Johannes

Obligatory current favourite quotes:

"We are all atheists about most of the gods that societies have ever
believed in. Some of us just go one god further."
--Richard Dawkins

"Religion is regarded by the common people as true, by the wise as
false, and by the rulers as useful".
 -- Seneca
"I have more confidence in the methods of science, based on the amazing
record of science and its ability over the centuries to answer
unanswerable questions, than I do in the methods of faith (what are they?)."
 -- David J. Gross "Physics Nobel Laureate"

"Atheism is a religion to the same extent that not collecting stamps is a
 hobby."
 -- seen on Slashdot.org

http://xkcd.com/808/


More information about the macports-users mailing list