port selfupdate fails

Peter B. West lists at pbw.id.au
Tue Dec 22 13:52:32 PST 2009


On 23/12/2009, at 1:16 AM, Peter B. West wrote:

> 
> On 23/12/2009, at 12:57 AM, Daniel J. Luke wrote:
> 
>> On Dec 22, 2009, at 5:09 AM, Peter B. West wrote:
>>> lydia:Downloads pbw$ port selfupdate
>>> --->  Updating the ports tree
>>> Error: Synchronization of the local ports tree failed doing rsync
>>> Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed
>>> 
>>> Any ideas?
>> 
>> http://trac.macports.org/wiki/FAQ#selfupdatefails
> 
> 
> Had a look at that. Tried the
> sudo port -d selfupdate
> and it worked.
> 
> I followed the instructions at the end of the output:
> 
> MacPorts base version 1.8.1 downloaded.
> --->  MacPorts base is already the latest version
> DEBUG: Setting MacPorts sources ownership to root
> 
> The ports tree has been updated. To upgrade your installed ports, you should run
>  port upgrade outdated
> lydia:local pbw$ sudo port upgrade outdated
> Error: Unable to open port: can't read "build.cmd": Failed to locate 'make' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
> lydia:local pbw$ which make
> lydia:local pbw$ echo $PATH
> /opt/subversion/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/local/mysql/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin:/opt/local/share/java/apache-ant/bin:/Applications/NetBeans/NetBeans/6.7/Contents/Resources/NetBeans/bin:/Users/pbw/bin:/Users/pbw/src/perl:/Users/pbw/src/sh:/Users/pbw/src/tcl:/Applications/oxygen:/opt/pbw/idea/bin:/opt/scala/bin:.
> 
> 
> Make has gone away. I swear I didn't touch it. Could a normal Mac software update have affected it?


gmake is there, so I'll add a softlink to make. Is gmake the standard for MacPorts? What is the standard Xcode make?

Peter



More information about the macports-users mailing list