On Nov 28, 2011, at 20:48, Bradley Giesbrecht wrote:

> On Nov 28, 2011, at 6:35 PM, Ryan Schmidt wrote:
> 
>> On Nov 28, 2011, at 19:15, Bradley Giesbrecht wrote:
>> 
>>> $ portindex 
>>> Creating port index in 
>>> /opt/macports-clean/var/macports/sources/svn.macports.org/trunk/dports
>>> Failed to parse file devel/libsdl/Portfile: invalid command name "vercmp"
>> 
>> Update to MacPorts 2.0.3. Run "sudo port selfupdate".
> 
> I am using svn. I have preformed "svn up" from trunk and rebuilt/installed 
> base. I have 2+ prefixes and only one has this issue.
> 
> This looks strange:
> This could take a while...
> Processing 1 of 18: zlib-1.2.5_0.darwin_10.x86_64.tbz2

Ok, that looks like the images-to-archives script, so this prefix was using 
MacPorts < 2.0.0; vercmp is the new name for rpm_vercomp as of 2.0.3.

I myself encountered the error today in an alternate MacPorts install, and 
discovered I had forgotten to selfupdate it from 2.0.1.


> sh: line 0: cd: 
> /opt/macports-clean/var/macports/software/zlib/zlib-1.2.5_0.darwin_10.x86_64.tbz2:
>  No such file or directory
> shell command "cd 
> /opt/macports-clean/var/macports/software/zlib/zlib-1.2.5_0.darwin_10.x86_64.tbz2
>  && /usr/bin/tar -cjf 
> /opt/macports-clean/var/macports/software/zlib/zlib-1.2.5_0.darwin_10.x86_64.tbz2
>  * > /opt/macports-clean/var/macpo

Not entirely sure what this is about. Does that file exist? If so, delete it 
and try again? Are the permissions and ownership of that directory and every 
directory leading up to it correct?

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to