Opened 12 months ago
Closed 12 months ago
#68750 closed defect (fixed)
py38-cvxopt: can't read "env(USER)": no such variable
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | jjstickel (Jonathan Stickel) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | py38-cvxopt |
Description
DEBUG: Executing proc-pre-org.macports.destroot-destroot-2 Error: Failed to destroot py38-cvxopt: can't read "env(USER)": no such variable DEBUG: Error code: NONE DEBUG: Backtrace: can't read "env(USER)": no such variable while executing "$pre $targetname"
Change History (3)
comment:1 Changed 12 months ago by jmroot (Joshua Root)
comment:2 Changed 12 months ago by jjstickel (Jonathan Stickel)
Oops, that pre-destroot
code block was errantly included. Glad it was caught here so that it can be removed.
PR submitted: https://github.com/macports/macports-ports/pull/21492
comment:3 Changed 12 months ago by jjstickel (Jonathan Stickel)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Yeah,
USER
is definitely not guaranteed to be set in the environment. Depending on what you're trying to do, you probably want either$macportsuser
or${install.user}
.