Gustaf Neumann neumann at wu.ac.at
Sat Apr 5 16:22:50 PDT 2014

Am 06.04.14 00:56, schrieb Clemens Lang:
>> I've seen this happen with debug output enabled now:
>> DEBUG: Executing org.macports.uninstall (gettext)
>> DEBUG: Changing to port directory: /opt/mports/var/macports/registry/portfiles/gettext-
>> DEBUG: wrong # args: should be "set varName ?newValue?"
>>      while executing
>> "set user_options(_portgroup_search_dirs) /opt/mports/var/macports/registry/portgroups/7bbea60c69221b3e81858a4c11b6740a082d84fa11a3212e202f31720c7e1abc..."
>>      invoked from within
>> "$workername eval set user_options($opt) $val"
>>      (procedure "macports::worker_init" line 123)
>>      invoked from within
>> "macports::worker_init $workername $portpath $porturl [macports::getportbuildpath $portpath] $options $variations"
>>      (procedure "mportopen" line 39)
>>      invoked from within
>> "mportopen file://${portfile_dir}/ $options $variations"
>>      (procedure "mportopen_installed" line 26)
>>      invoked from within
>> "mportopen_installed [$port name] [$port version] [$port revision] [$port variants] $options"
>> Warning: Failed to open Portfile from registry for gettext @
>> --->  Deactivating gettext @
>> Can anyone make anything out of that?
it looks to be as if the $val in "$workername eval set 
user_options($opt) $val"
needs to be protected (by eg. [list $val]). The command "set" sees three 

all the best

More information about the macports-dev mailing list