Opened 4 years ago

Closed 6 days 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)

main.log (13.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 4 years ago.

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:2 Changed 3 years ago by essandess (Steve Smith)

In ab891551d4693be90aa6492b0f4e5b8d98cebf29/macports-ports (master):

ghc: Bugfixes for test and iconv linking

Fixes:

comment:3 Changed 6 days ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.