[MacPorts] #43821: selfupdate failed - can't read "verboseflag": no such variable
#43821: selfupdate failed - can't read "verboseflag": no such variable -------------------------------+-------------------------------- Reporter: alessanderbotti@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.3.0 Keywords: | Port: -------------------------------+-------------------------------- {{{ bash-3.2$ sudo port -v selfupdate Password: ---> Updating MacPorts base sources using rsync receiving file list ... done sent 36 bytes received 69 bytes 42.00 bytes/sec total size is 27002880 speedup is 257170.29 receiving file list ... done sent 36 bytes received 76 bytes 44.80 bytes/sec total size is 512 speedup is 4.57 MacPorts base version 2.3.0 installed, MacPorts base version 2.3.0 downloaded. ---> Updating the ports tree Synchronizing local ports tree from http://www.macports.org/files/ports.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 25.7M 100 25.7M 0 0 5922k 0 0:00:04 0:00:04 --:--:-- 7147k Error: Extracting http://www.macports.org/files/ports.tar.gz failed (can't read "verboseflag": no such variable) Error: Couldn't sync the ports tree: Synchronization of 1 source(s) 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: Couldn't sync the ports tree: Synchronization of 1 source(s) failed }}} Mac OS X 10.7.5 Xcode 4.3.2, Build version 4E2002 -- Ticket URL: <https://trac.macports.org/ticket/43821> MacPorts <http://www.macports.org/> Ports system for OS X
#43821: selfupdate failed - can't read "verboseflag": no such variable --------------------------------+----------------------------- Reporter: alessanderbotti@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.3.0 Resolution: | Keywords: Port: | --------------------------------+----------------------------- Changes (by cal@…): * status: new => assigned * owner: macports-tickets@… => cal@… * milestone: => MacPorts Future Comment: I think this one is my fault. It's fixed in r120382, but won't be shipped until the next MacPorts release. Meanwhile, you can manually apply the patch from r120382 in `/opt/local/libexec/macports/lib/macports1.0/macports.tcl`. Merged into the MacPorts 2.3 branch in r120383. -- Ticket URL: <https://trac.macports.org/ticket/43821#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43821: selfupdate failed - can't read "verboseflag": no such variable --------------------------------+----------------------------- Reporter: alessanderbotti@… | Owner: cal@… Type: defect | Status: assigned Priority: Normal | Milestone: MacPorts Future Component: base | Version: 2.3.0 Resolution: | Keywords: Port: | --------------------------------+----------------------------- Comment (by alessanderbotti@…): Thanks, it worked! This is my diff, the lines are different from your patch: {{{ --- macports.tcl.bak 2014-05-26 12:08:25.000000000 +0200 +++ macports.tcl 2014-05-26 12:20:42.000000000 +0200 @@ -2496,6 +2496,8 @@ if {$macports::portverbose eq {yes}} { set progressflag "--progress builtin" + set verboseflag "-v" } elseif {[info exists macports::ui_options(progress_download)]} { set progressflag "--progress ${macports::ui_options(progress_download)}" + set verboseflag "" } }}} -- Ticket URL: <https://trac.macports.org/ticket/43821#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43821: selfupdate failed - can't read "verboseflag": no such variable --------------------------------+---------------------------- Reporter: alessanderbotti@… | Owner: cal@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 2.3.1 Component: base | Version: 2.3.0 Resolution: fixed | Keywords: Port: | --------------------------------+---------------------------- Changes (by jmr@…): * status: assigned => closed * resolution: => fixed * milestone: MacPorts Future => MacPorts 2.3.1 -- Ticket URL: <https://trac.macports.org/ticket/43821#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts