[MacPorts] #27799: selfupdate failed, but new version got installed anyway
#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
#27799: upgrade_sources_conf_default.tcl failed during selfupdate due to svn warnings ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: ---------------------------------+------------------------------------------ Comment(by jmr@…): Running the two scripts is the last thing that happens during `make install`, so if your sources.conf has a default tag everything should be fine. -- Ticket URL: <https://trac.macports.org/ticket/27799#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27799: upgrade_sources_conf_default.tcl failed during selfupdate due to svn warnings ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: What version of Mac OS X are you running? I assume you have a location defined in sources.conf that uses a Subversion working copy? What version of Subversion is installed? Do you have the LANG environment variable set? The error message says you don't, so setting it to the correct value for your system might help. -- Ticket URL: <https://trac.macports.org/ticket/27799#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27799: upgrade_sources_conf_default.tcl failed during selfupdate due to svn warnings ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: ---------------------------------+------------------------------------------ Comment(by vinc17@…): Replying to [comment:2 ryandesign@…]:
What version of Mac OS X are you running?
10.4.11
I assume you have a location defined in sources.conf that uses a Subversion working copy?
Yes, several ones, but one of them is tagged as default.
What version of Subversion is installed?
{{{subversion @1.6.15_0+tools (active)}}}
Do you have the LANG environment variable set? The error message says you don't, so setting it to the correct value for your system might help.
It is set to "POSIX". This is the standard value, thus should work everywhere. Anyway I recall that when I run svn manually, I do not get any warning. -- Ticket URL: <https://trac.macports.org/ticket/27799#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27799: upgrade_sources_conf_default.tcl failed during selfupdate due to svn warnings ---------------------------------+------------------------------------------ Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: ---------------------------------+------------------------------------------ Comment(by vinc17@…): It seems that something run by port unset both LANG and LC_CTYPE. That would give the warnings I obtained. -- Ticket URL: <https://trac.macports.org/ticket/27799#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27799: upgrade_sources_conf_default.tcl failed during selfupdate due to svn warnings ----------------------------------+----------------------------------------- Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 2.0.0 Component: base | Version: 1.9.1 Resolution: fixed | Keywords: Port: | ----------------------------------+----------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed * milestone: => MacPorts 2.0.0 Comment: r79442 -- Ticket URL: <https://trac.macports.org/ticket/27799#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts