[MacPorts] #27799: selfupdate failed, but new version got installed anyway

MacPorts noreply at macports.org
Mon Dec 27 16:24:20 PST 2010


#27799: selfupdate failed, but new version got installed anyway
---------------------------------+------------------------------------------
 Reporter:  vinc17@…             |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  base                 |     Version:  1.9.1                                
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------
 I got the following error in the upgrade from 1.9.1 to 1.9.2:
 {{{
 [...]
 ===> making install in src/port
 cat ../../doc/prefix.mtree | /usr/sbin/mtree -U -d -e -p /opt/local >
 /dev/null
 /usr/bin/install -c -d -o root -g admin -m 755 /opt/local/bin
 /usr/bin/install -c -d -o root -g admin -m 755 /opt/local/var/macports
 /usr/bin/install -c -o root -g admin -m 555 port portindex portmirror
 /opt/local/bin/
 /usr/bin/install -c -o root -g admin -m 444 port-help.tcl
 /opt/local/var/macports/
 cd /opt/local/bin && ln -s -f port portf
 ===> making install in src/programs
 ===> making install in src/programs/daemondo
 mkdir -p build
 /usr/bin/install -c -o root -g admin -m 555 build/daemondo /opt/local/bin
 [ ! -f /opt/local/etc/macports/mp_version ] || rm -vf
 /opt/local/etc/macports/mp_version
 /usr/bin/install -c -o root -g admin -m 444 setupenv.bash
 /opt/local/share/macports/
 /usr/bin/tclsh src/upgrade_sources_conf_default.tcl /opt/local
 svn: warning: cannot set LC_CTYPE locale
 svn: warning: environment variable LANG is not set
 svn: warning: please check that your locale name is correct
     while executing
 "while {[gets $sourcesConfChannel line] >= 0} {
    set addDefault false
    if {!$defaultSeen && ![regexp {^\s*#|^$} $line]} {
       if {[regexp {^([\w-..."
     (file "src/upgrade_sources_conf_default.tcl" line 34)
 make: *** [install] Error 1
 shell command "cd
 /opt/local/var/macports/sources/rsync.macports.org/release/base &&
 ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-
 install-user=root --with-install-group=admin --with-directory-mode=0755
 --enable-readline && make && make install" returned error 2
 Error: /opt/local/bin/port: port selfupdate failed: Error installing new
 MacPorts base: shell command failed
 zsh: exit 1     sudo port -v selfupdate
 }}}
 I wonder what the cause is. Version 1.9.2 got installed anyway, but
 perhaps the installation is incomplete.

 Note also the svn warnings. When I run svn manually, I get no such
 warnings. So the problem seems to come from locale settings from MacPorts.

-- 
Ticket URL: <https://trac.macports.org/ticket/27799>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list