Opened 4 years ago
Closed 4 years ago
#62579 closed defect (duplicate)
stack @2.5.1 fails to build: "can't load framework: Cocoa"
Reported by: | ednl (Ewoud Dronkert) | Owned by: | essandess (Steve Smith) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | bigsur | Cc: | |
Port: | stack |
Description (last modified by ednl (Ewoud Dronkert))
Latest Big Sur 11.2.3, Xcode 12.4. Package stack is a dependency of pandoc. I did "sudo port clean stack" and tried again, but the same error: "can't load framework: Cocoa (not found) [...] While building package stack-2.5.1". Log file attached from /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_stack/stack/main.log
Attachments (1)
Change History (10)
Changed 4 years ago by ednl (Ewoud Dronkert)
comment:1 Changed 4 years ago by ednl (Ewoud Dronkert)
Description: | modified (diff) |
---|
comment:2 Changed 4 years ago by jmroot (Joshua Root)
Keywords: | stack cocoa removed |
---|---|
Owner: | set to essandess |
Status: | new → assigned |
Summary: | Package stack fails to build: "can't load framework: Cocoa" → stack @2.5.1 fails to build: "can't load framework: Cocoa" |
comment:3 Changed 4 years ago by kencu (Ken)
all ghc / stack / cabal software is broken on BigSur at present.
I put a functional workaround in pandoc to install the Catalina version on BigSur until this gets fixed, but it was removed on the last pandoc update.
comment:4 Changed 4 years ago by pmetzger (Perry E. Metzger)
This is happening to me as well, and it is a big pain in the neck because pandoc is critically important.
comment:5 Changed 4 years ago by essandess (Steve Smith)
Known upstream issue: https://github.com/commercialhaskell/stack/issues/5491
To fix it, install the commits from https://github.com/macports/macports-ports/pull/10086, and/or comment on that PR and make the case to @neverpanic and @herbygillot that it should be merged into master until upstream fixes these issues.
comment:6 Changed 4 years ago by essandess (Steve Smith)
Also please make sure that upstream is aware of the demand.
comment:7 follow-up: 8 Changed 4 years ago by kencu (Ken)
There is hesitation about committing that workaround. We may be waiting for a new ghc release instead.
comment:8 Changed 4 years ago by essandess (Steve Smith)
Please see https://github.com/macports/macports-ports/pull/10514
I moved pandoc
to PG haskell_cabal
.
The recent update of cabal
works very well, and I suspect that it will work with many cabal
/stack
projects within MacPorts.
Replying to kencu:
We may be waiting for a new ghc release instead.
Please note that ghc
has been updated and working on macOS 11 for a while now, but this was never the issue. For robust, repeatable builds, stack
uses the ghc
version specified within the stack
project. Sorting this out is likely what's taking so long updating stack
.
comment:9 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Duplicate of #61422.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_stack/stack/main.log