Opened 4 years ago
Closed 8 months ago
#61223 closed defect (fixed)
ghc @8.10.1: test fails because python3 is not found
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | essandess (Steve Smith) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | Cc: | ||
Port: | ghc |
Description
Running sudo port test ghc
fails because it needs python3:
:info:test python3 calibrate '/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-ryandesign-fork_lang_ghc/ghc/work/src/ghc-8.10.1/inplace/bin/ghc-stage1' > calibrate.out :info:test /bin/sh: python3: command not found :info:test make[2]: *** [calibrate.out] Error 127
The port already has a build dependency on python38 and uses it in the configure and build phases by adding "PATH=$env(PATH):${bootstrap_dir}/bin:${frameworks_dir}/Python.framework/Versions/${python3_version}/bin"
to the environment; it probably just need to add that to test.env too.
Attachments (1)
Change History (4)
Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
comment:1 Changed 4 years ago by essandess (Steve Smith)
comment:2 Changed 4 years ago by essandess (Steve Smith)
comment:3 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
See https://github.com/macports/macports-ports/pull/8523