#46815: Selfupdate still fails on "readline in /usr/local" after cleanout --------------------------+-------------------------------- Reporter: dsmithhfx@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.0.3 Resolution: invalid | Keywords: Port: | --------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: selfupdate => Old description:
Hi,
I can't get port version 2.03 (OSX10.4.11/ppc/G5 tower) to selfupdate, it fails with
{{{ make[2]: *** [registry.dylib] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && CC=/usr/bin/cc ./configure --prefix=/opt/local --with- tclpackage=/Library/Tcl --with-install-user=root --with-install- group=admin --with-directory-mode=0755 && make && make install SELFUPDATING=1" returned error 2 DEBUG: Error installing new MacPorts base: shell command failed (see log for details) while executing "macports::selfupdate [array get global_options] base_updated" Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details) }}}
After some digging through tickets e.g. [https://trac.macports.org/ticket/11742], it appears that readline may be the culprit. Early in the selfupdate output there appears
{{{ ---> MacPorts base is outdated, installing new version 2.3.3 DEBUG: Permissions OK Warning: Disabling readline support due to readline in /usr/local }}} Even after completely clearing all instances of *readline" from my /usr directory (so {{{ sudo find /usr -name "*readline*" }}} returns nothing, and {{{ sudo port -f deactivate readline }}}
I'm really stuck here, running really outdated apache2 etc. Any help appreciated!
New description: Hi, I can't get port version 2.03 (OSX10.4.11/ppc/G5 tower) to selfupdate, it fails with {{{ make[2]: *** [registry.dylib] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1 shell command "cd /opt/local/var/macports/sources/rsync.macports.org/release/base && CC=/usr/bin/cc ./configure --prefix=/opt/local --with- tclpackage=/Library/Tcl --with-install-user=root --with-install- group=admin --with-directory-mode=0755 && make && make install SELFUPDATING=1" returned error 2 DEBUG: Error installing new MacPorts base: shell command failed (see log for details) while executing "macports::selfupdate [array get global_options] base_updated" Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details) }}} After some digging through tickets e.g. #11742, it appears that readline may be the culprit. Early in the selfupdate output there appears {{{ ---> MacPorts base is outdated, installing new version 2.3.3 DEBUG: Permissions OK Warning: Disabling readline support due to readline in /usr/local }}} Even after completely clearing all instances of *readline" from my /usr directory (so {{{ sudo find /usr -name "*readline*" }}} returns nothing, and {{{ sudo port -f deactivate readline }}} I'm really stuck here, running really outdated apache2 etc. Any help appreciated! -- -- Ticket URL: <https://trac.macports.org/ticket/46815#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X