Opened 15 months ago

Last modified 14 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


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)

main.log (13.0 KB) - added by ryandesign (Ryan Schmidt) 15 months ago.

Download all attachments as: .zip

Change History (3)

Changed 15 months ago by ryandesign (Ryan Schmidt)

Attachment: main.log added

comment:2 Changed 14 months ago by essandess (Steve Smith)

In ab891551d4693be90aa6492b0f4e5b8d98cebf29/macports-ports (master):

ghc: Bugfixes for test and iconv linking


Note: See TracTickets for help on using tickets.