New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 82969


Ignore:
Timestamp:
08/22/11 14:38:49 (4 years ago)
Author:
cal@…
Message:

rev-upgrade: Be less noise, so debug output is actually useful

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gsoc11-rev-upgrade/base/src/macports1.0/macports.tcl

    r82960 r82969  
    33943394            ui_debug "platform mismatch ... upgrading!" 
    33953395            set build_override 1 
     3396        } elseif {$is_revupgrade_second_run} { 
     3397            set build_override 1 
     3398        } elseif {$is_revupgrade} { 
     3399            # in the first run of rev-upgrade, only activate possibly already existing files and check for missing dependencies 
     3400            set will_install yes 
    33963401        } else { 
    33973402            if {[info exists portinfo(canonical_active_variants)] && $portinfo(canonical_active_variants) != $oldvariant} { 
     
    34053410            } 
    34063411            set will_install no 
    3407             if {$is_revupgrade} { 
    3408                 set will_install yes 
    3409             } 
    3410             if {$is_revupgrade_second_run} { 
    3411                 set build_override 1 
    3412             } 
    34133412        } 
    34143413    } 
     
    38263825        set i 1 
    38273826        foreach b $binaries { 
    3828             ui_debug "$i/[llength $binaries]: [$b path]" 
     3827            #ui_debug "$i/[llength $binaries]: [$b path]" 
    38293828            incr i 
    38303829 
     
    38363835                if {$returncode == $machista::EMAGIC} { 
    38373836                    # not a Mach-O file 
    3838                     ui_debug "Error parsing file [$b path]: [machista::strerror $returncode]" 
     3837                    # ignore silently, these are only static libs anyway 
     3838                    #ui_debug "Error parsing file [$b path]: [machista::strerror $returncode]" 
    38393839                } else { 
    38403840                    ui_warn "Error parsing file [$b path]: [machista::strerror $returncode]" 
     
    40884088 
    40894089        if {[info exists adjlist($dep)]} { 
    4090             ui_debug "Dependency [$dep name] is broken, adding edge from [[lindex $stack 0] name] to [$dep name]" 
    4091             ui_debug "Making [$dep name] new head of stack" 
     4090            #ui_debug "Dependency [$dep name] is broken, adding edge from [[lindex $stack 0] name] to [$dep name]" 
     4091            #ui_debug "Making [$dep name] new head of stack" 
    40924092            # $dep is one of the broken ports 
    40934093            # add an edge to the last broken port in the DFS 
     
    41014101        revupgrade_buildgraph $dep stack adjlist revadjlist visited 
    41024102        if {$is_broken_port} { 
    4103             ui_debug "Removing [$dep name] from stack" 
     4103            #ui_debug "Removing [$dep name] from stack" 
    41044104            # remove $dep from the stack 
    41054105            set stack [lrange $stack 1 end] 
Note: See TracChangeset for help on using the changeset viewer.