[MacPorts] #25543: port upgrade fails when version and revision are same but epoch differs

MacPorts noreply at macports.org
Mon Jul 5 16:39:26 PDT 2010


#25543: port upgrade fails when version and revision are same but epoch differs
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:                                       
Component:  base                     |     Version:  1.9.1                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------
 With MacPorts 1.9 branch @69388 (I tested both Tiger and Snow Leopard):

 {{{
 $ port outdated autoconf
 The following installed ports are outdated:
 autoconf                       2.65_1 < 2.65_1  (epoch 0 < 1)
 $ sudo port -u upgrade autoconf
 --->  Computing dependencies for autoconf
 --->  Fetching autoconf
 --->  Verifying checksum(s) for autoconf
 --->  Extracting autoconf
 --->  Applying patches to autoconf
 --->  Configuring autoconf
 --->  Building autoconf
 --->  Staging autoconf into destroot
 no matching port found for: name=autoconf, version=2.65, revision=1,
 variants=, epoch=1
     while executing
 "registry::entry open $name $version $revision $variants $epoch"
     (procedure "receipt_sqlite::open_entry" line 2)
     invoked from within
 "${macports::registry.format}::open_entry $name $version $revision
 $variants $epoch"
     (procedure "registry::open_entry" line 4)
     invoked from within
 "registry::open_entry $newname $version_in_tree $revision_in_tree
 $portinfo(canonical_active_variants) $epoch_in_tree"
     (procedure "macports::_upgrade" line 378)
     invoked from within
 "macports::_upgrade $portname $dspec $variationslist $optionslist
 depscache"
     (procedure "macports::upgrade" line 20)
     invoked from within
 "macports::upgrade $portname "port:$portname" [array get
 requested_variations] [array get options] depscache"
     invoked from within
 "if {![info exists depscache(port:$portname)]} {
             set status [macports::upgrade $portname "port:$portname"
 [array get requested_variations] ..."
     ("uplevel" body line 2)
     invoked from within
 "uplevel 1 $block"
     (procedure "foreachport" line 18)
     invoked from within
 "foreachport $portlist {
         if {![info exists depscache(port:$portname)]} {
             set status [macports::upgrade $portname "port:$portname" [..."
     (procedure "action_upgrade" line 8)
     invoked from within
 "$action_proc $action $portlist [array get global_options]"
     (procedure "process_cmd" line 87)
     invoked from within
 "process_cmd $remaining_args"
     invoked from within
 "if { [llength $remaining_args] > 0 } {

     # If there are remaining arguments, process those as a command
     set exit_status [process_cmd $remaining..."
     (file "/opt/local/bin/port" line 4415)
 $
 }}}

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


More information about the macports-tickets mailing list