Opened 5 months ago
Last modified 5 months ago
#61223 assigned defect
ghc @8.10.1: test fails because python3 is not found
Reported by: | ryandesign (Ryan 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 (3)
Changed 5 months ago by ryandesign (Ryan Schmidt)
comment:1 Changed 5 months ago by essandess (Steve Smith)
comment:2 Changed 5 months ago by essandess (Steve Smith)
Note: See
TracTickets for help on using
tickets.
See https://github.com/macports/macports-ports/pull/8523