[MacPorts] #61223: ghc @8.10.1: test fails because python3 is not found
MacPorts
noreply at macports.org
Thu Sep 24 04:41:56 UTC 2020
#61223: ghc @8.10.1: test fails because python3 is not found
------------------------+-----------------------
Reporter: ryandesign | Owner: essandess
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Keywords: | Port: ghc
------------------------+-----------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/61223>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list