[MacPorts] #62751: base: Error: Unable to open port: wrong # args: should be "set varName ?newValue?" on random ports

MacPorts noreply at macports.org
Sun Apr 25 16:18:40 UTC 2021


#62751: base: Error: Unable to open port: wrong # args: should be "set varName
?newValue?"  on random ports
------------------------+--------------------
  Reporter:  snowflake  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:  2.6.99
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------

Comment (by snowflake):

 The bug is happening on random ports. I have not noticed a pattern.

 The end of the log I attached is here:

 {{{
 DEBUG: Running callback add_legacysupport
 DEBUG: Adding legacy build support
 DEBUG: Finished running callback add_legacysupport
 DEBUG: No need to upgrade! gnutls 3.6.15_0 >= gnutls 3.6.15_0
 DEBUG: epoch: in tree: 0 installed: 0
 DEBUG: gmp 6.2.1_0 exists in the ports tree
 DEBUG: gmp 6.2.1_0  is the latest installed
 DEBUG: gmp 6.2.1_0 +native is active
 DEBUG: Merging existing requested variants '+native-universal' into
 variants
 DEBUG: new fully merged portvariants: {native universal} + universal -
 DEBUG: Using normalized porturl
 file:///Users/davidevans/macports/sources/github.com/macports/macports-
 ports/devel/gmp
 DEBUG: Changing to port directory:
 /Users/davidevans/macports/sources/github.com/macports/macports-
 ports/devel/gmp
 DEBUG: wrong # args: should be "set varName ?newValue?"
     while executing
 "set variations(native universal) +"
     invoked from within
 "$workername eval "set variations($var) $val""
     (procedure "macports::worker_init" line 139)
     invoked from within
 "macports::worker_init $workername $portpath $porturl
 [macports::getportbuildpath $portpath] $options $variations"
     (procedure "mportopen" line 48)
     invoked from within
 "mportopen $porturl [array get interp_options] [array get variations]"
 Error: Unable to open port: wrong # args: should be "set varName
 ?newValue?"
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.

 Script done on Sun Apr 25 16:56:15 2021
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62751#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list