port selfupdate fails

Joshua Root jmr at macports.org
Mon Mar 13 03:43:14 UTC 2017

Tai Viinikka wrote:
> Based on previous discussion here, and ticket 53414, I tried two fixes:
> 1)  Revert to default macports.conf:
> root at recluse:~$cd  /opt/local/etc/macports
> root at recluse:~$cp macports.conf.default macports.conf
> My port -v self attempt ended (as it always does now) with:
>> configure: === configuring in vendor/tcl/unix
>> (/opt/local/var/macports/sources/
>> rsync.macports.org/release/base/vendor/tcl/unix)
>> configure: error: no configure script found in vendor/tcl/unix
>> Command failed: cd /opt/local/var/macports/sources/
>> rsync.macports.org/release/base && CC=/usr/bin/cc OBJC=/usr/bin/cc
>> ./configure --prefix='/opt/local' --with-install-user='root'
>> --with-install-group='wheel' --with-directory-mode='0755' --enable-readline
>> && make SELFUPDATING=1 && make install SELFUPDATING=1
>> Exit code: 1
>> Error: Error installing new MacPorts base: command execution failed
>> To report a bug, follow the instructions in the guide:
>>     http://guide.macports.org/#project.tickets
>> Error: /opt/local/bin/port: port selfupdate failed: Error installing new
>> MacPorts base: command execution failed
> Since this looks like a softlink problem, I followed Mihai's suggestion to "
> make sure rsync_options includes the "l" flag" and now I have it:
>> root at recluse:~$grep options  /opt/local/etc/macports/macports.conf
>> rsync_options           -rtzvl --delete-after
> Failure mode was the same, as above.
> Any further thoughts or suggestions? My macports.conf is included as an
> attachment. (Would in-line have been better?)

Do you have any .conf files in ~/.macports? Or PORTSRC set in the 

- Josh

More information about the macports-users mailing list