Skip to content

Support semaphore-compat 2.0.0 / new semaphore protocol #6934

Description

@sternenseemann

Stack no longer compiles with semaphore-compat 2.0.0 (GHC 9.12.5-rc2):

[155 of 217] Compiling Stack.Build.ExecuteEnv ( src/Stack/Build/ExecuteEnv.hs, dist/build/Stack/Build/ExecuteEnv.o, dist/build/Stack/Build/ExecuteEnv.dyn_o )
src/Stack/Build/ExecuteEnv.hs:122:22: error: [GHC-61689]
    Module ‘System.Semaphore’ does not export ‘Semaphore’.
    |
122 |                    ( Semaphore, destroySemaphore, freshSemaphore )
    |                      ^^^^^^^^^

src/Stack/Build/ExecuteEnv.hs:122:33: error: [GHC-61689]
    Module ‘System.Semaphore’ does not export ‘destroySemaphore’.
    |
122 |                    ( Semaphore, destroySemaphore, freshSemaphore )
    |                                 ^^^^^^^^^^^^^^^^

C.f. haskell/cabal#11628, https://gitlab.haskell.org/ghc/ghc/-/merge_requests/15729, …

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions