[MacPorts] #35281: Registry consistency is broken

MacPorts noreply at macports.org
Mon Jul 23 01:37:32 PDT 2012


#35281: Registry consistency is broken
--------------------------+-------------------------------------------------
 Reporter:  vova@…        |       Owner:  macports-tickets@…                   
     Type:  defect        |      Status:  new                                  
 Priority:  Normal        |   Milestone:                                       
Component:  ports         |     Version:  2.1.1                                
 Keywords:                |        Port:                                       
--------------------------+-------------------------------------------------
 $ port -d uninstall inactive

 DEBUG: Executing org.macports.uninstall (m4)
 --->  Unable to uninstall m4 @1.4.16_0, the following ports depend on it:
 Error: org.macports.uninstall for port m4 returned: an invalid entry was
 passed
 DEBUG: Error code: registry::invalid
 DEBUG: Backtrace: an invalid entry was passed
     while executing
 "$depport name"
     (procedure "registry::check_dependents" line 19)
     invoked from within
 "registry::check_dependents $port ${uninstall.force} "uninstall""
     (procedure "registry_uninstall::uninstall" line 83)
     invoked from within
 "registry_uninstall $subport $version $revision $portvariants [array get
 user_options]"
     (procedure "portuninstall::uninstall_main" line 3)
     invoked from within
 "$procedure $targetname"
 Warning: targets not executed for m4: org.macports.uninstall
 Please see the log file for port m4 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_m4_1.4.16_0/m4/main.log
 DEBUG: an invalid entry was passed
     while executing
 "$depport name"
     (procedure "registry::check_dependents" line 19)
     invoked from within
 "registry::check_dependents $port ${uninstall.force} "uninstall""
     (procedure "registry_uninstall::uninstall" line 83)
 Warning: Failed to execute portfile from registry for m4 @1.4.16_0
 --->  Unable to uninstall m4 @1.4.16_0, the following ports depend on it:
 DEBUG: an invalid entry was passed
     while executing
 "$depport name"
     (procedure "registry::check_dependents" line 19)
     invoked from within
 "registry::check_dependents $port ${uninstall.force} "uninstall""
     (procedure "registry_uninstall::uninstall" line 83)
     invoked from within
 "registry_uninstall::uninstall $newname $version_in_tree $revision_in_tree
 $portinfo(canonical_active_variants) [array get options]"
 Error: Uninstall m4 1.4.16_0 failed: an invalid entry was passed
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets

 $ port rdependents m4
 an invalid entry was passed
     while executing
 "$dependent name"
     (procedure "receipt_sqlite::list_dependents" line 18)
     invoked from within
 "${macports::registry.format}::list_dependents $name $version $revision
 $variants"
     (procedure "registry::list_dependents" line 3)
     invoked from within
 "registry::list_dependents $portname $iversion $irevision $ivariants"
     ("uplevel" body line 27)
     invoked from within
 "uplevel 1 $block"
     (procedure "foreachport" line 20)
     invoked from within
 "foreachport $portlist {
         set composite_version [composite_version $portversion [array get
 variations]]
         if { [catch {set ilist [registry..."
     (procedure "action_dependents" line 10)
     invoked from within
 "$action_proc $action $portlist [array get global_options]"
     (procedure "process_cmd" line 95)
     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 4784)
 $

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


More information about the macports-tickets mailing list