Opened 5 years ago
Closed 5 years ago
#60100 closed defect (fixed)
mod_gnutls: Portfile error
Reported by: | mf2k (Frank Schima) | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | mod_gnutls |
Description
$ port info mod_gnutls Error: Unable to open port: can't read "PythonBranch": no such variable
Change History (5)
comment:1 Changed 5 years ago by Schamschula (Marius Schamschula)
comment:3 Changed 5 years ago by jmroot (Joshua Root)
Yeah, the variable is used before the variant bodies are evaluated, so it's undefined if it wasn't set in the if
block.
Another point this raises: adding the dependency appears to be the only place the PythonBranch variable is used. How are you telling the software which python version to use?
comment:4 Changed 5 years ago by Schamschula (Marius Schamschula)
Indeed!
Unfortunately, after I specify the python interpreter, configure gives me the mistaken error:
checking whether /opt/local/bin/python3.8 version is >= 3... no
Still looking into that.
comment:5 Changed 5 years ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
I cannot reproduce this error: