#16877: variables in _libtest procedure are not properly imported in the local scope. -----------------------------------+---------------------------------------- Reporter: face@centosprime.com | Owner: acho@macports.org Type: defect | Status: reopened Priority: Normal | Milestone: MacPorts base bugs Component: base | Version: 1.7.0 Resolution: | Keywords: Port: | -----------------------------------+---------------------------------------- Changes (by devans@macports.org): * status: closed => reopened * resolution: fixed => Comment: After updating trunk to r40824 and reinstalling problems persist. While executing command 'sudo port -d upgrade gimp': {{{ DEBUG: Found port in file:///opt/macports/trunk/dports//x11/XFree86 DEBUG: XFree86 is *not* installed by MacPorts DEBUG: Changing to port directory: /opt/macports/trunk/dports/x11/XFree86 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant powerpc is not provided by port XFree86. DEBUG: Executing variant darwin provides darwin DEBUG: Executing variant macosx provides macosx DEBUG: Searching for dependency: XFree86 DEBUG: Didn't find receipt, going to depspec regex for: XFree86 can't read "frameworks_dir": no such variable while executing "lappend search_path ${frameworks_dir} /Library/Frameworks /Network/Library/Frameworks /System/Library/Frameworks" (procedure "_libtest" line 9) invoked from within "_libtest $mport $depspec" ("lib" arm line 1) invoked from within "switch $type { lib { return [_libtest $mport $depspec] } bin { return [_bintest $mport $depspec] } path { return [..." (procedure "_mportispresent" line 15) invoked from within "_mportispresent $workername $dspec " (procedure "upgrade" line 60) invoked from within "upgrade $d $i $variationslist [array get options] depscache" (procedure "upgrade" line 185) invoked from within "upgrade $d $i $variationslist [array get options] depscache" (procedure "upgrade" line 185) invoked from within "upgrade $d $i $variationslist [array get options] depscache" (procedure "upgrade" line 185) invoked from within "upgrade $d $i $variationslist [array get options] depscache" (procedure "upgrade" line 185) invoked from within "upgrade $d $i $variationslist [array get options] depscache" (procedure "upgrade" line 185) invoked from within "upgrade $d $i $variationslist [array get options] depscache" (procedure "upgrade" line 185) invoked from within "upgrade $d $i $variationslist [array get options] depscache" (procedure "macports::upgrade" line 185) invoked from within "macports::upgrade $portname "port:$portname" [array get variations] [array get options]" ("uplevel" body line 9) invoked from within "uplevel 1 $block" (procedure "foreachport" line 16) invoked from within "foreachport $portlist { # Merge global variations into the variations specified for this port foreach { variation value } [array get g..." (procedure "action_upgrade" line 6) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 86) 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 # Exit immediately, by default, unless..." (file "/opt/local/bin/port" line 3229) }}} -- Ticket URL: <http://trac.macports.org/ticket/16877#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS