Opened 8 months ago
Last modified 8 months ago
#72501 assigned defect
stack not working on Mojave (macOS 10.14.6)
| Reported by: | macportsmojave | Owned by: | essandess (Steve Smith) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | Cc: | ||
| Port: | stack |
Description
Tried to build stack (haskell's build tool, haskellstack) on Mojave (macOS 10.14.6).
The command
port install stack
installs version 3.5.1
However, when I try to use stack,
stack build
stack first tries to install GHC (the Haskell compiler), and fails
$ stack build
Preparing to install GHC to an isolated location. This will not interfere with any system-level installation. Already downloaded ghc-9.8.4. Unpacking GHC into ~/.stack/programs/x86_64-osx/ghc-9.8.4.temp/ ...dyld: lazy symbol binding failed: Symbol not found: _posix_spawn_file_actions_addchdir_np Referenced from: /opt/local/bin/stack (which was built for Mac OS X 13.0) Expected in: /opt/local/lib/libMacportsLegacySystem.B.dylib dyld: Symbol not found: _posix_spawn_file_actions_addchdir_np Referenced from: /opt/local/bin/stack (which was built for Mac OS X 13.0) Expected in: /opt/local/lib/libMacportsLegacySystem.B.dylib
Evidently, stack 3.5.1 is built for Ventura (macOS 13.0), though I am still on Mojave (10.14.6). Is there a workaround?
Change History (1)
comment:1 Changed 8 months ago by jmroot (Joshua Root)
| Owner: | set to essandess |
|---|---|
| Port: | stack added |
| Status: | new → assigned |
Note: See
TracTickets for help on using
tickets.
