[MacPorts] #71933: alex @3.5.1.0+haskell_cabal_use_prebuilt build failure
MacPorts
noreply at macports.org
Sun Jan 26 22:21:59 UTC 2025
#71933: alex @3.5.1.0+haskell_cabal_use_prebuilt build failure
-----------------------------+--------------------
Reporter: Pierre-Alban87 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: alex |
-----------------------------+--------------------
Comment (by SiggyF):
It might be related to this change, as part of #71821:
[changeset:3935297d2ea367ecb36aa163c446beb21e4d81fd/macports-ports commit
3935297]
If I read it correct ghc is needed to build alex, alex is needed to build
ghc. So a bootstrapping approach is needed (common in compiling a
compiler). So you can use the ghc-prebuilt to build alex before you build
ghc. However ghc-prebuilt is installed as `/opt/local/bin/ghc-prebuilt`
and it is looking for `/opt/local/bin/ghc`.
I am not sure how to solve this.
--
Ticket URL: <https://trac.macports.org/ticket/71933#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list