You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build with cabal-install-3.11 and ghc-9.8.1-alpha3, using the new semaphore feature haskell/cabal#9139 .
$ cabal install --lib xml-conduit -j16 --semaphore -w /opt/ghc/ghc-9.8.0.20230822/bin/ghc
...
Resolving dependencies...
Build profile: -w ghc-9.8.0.20230822 -O2
In order, the following will be built (use -v for more details):
- xml-conduit-1.9.1.3 (lib:xml-conduit) (requires build)
Created semaphore called cabal_semaphore_F with 16 slots.
Starting xml-conduit-1.9.1.3 (all, legacy fallback)
Building xml-conduit-1.9.1.3 (all, legacy fallback)
Failed to build xml-conduit-1.9.1.3.
Build log (
/home/waldmann/.cabal/logs/ghc-9.8.0.20230822/xml-conduit-1.9.1.3-4e93e5c7f0ca97eae9de76f50c95c553480aec272c4ee8c4dba14481e9ebf6a4.log
):
[1 of 2] Compiling Main ( /tmp/cabal-install.-86944/dist-newstyle/tmp/src-86944/xml-conduit-1.9.1.3/dist/setup/setup.hs, /tmp/cabal-install.-86944/dist-newstyle/tmp/src-86944/xml-conduit-1.9.1.3/dist/setup/Main.o )
[2 of 2] Linking /tmp/cabal-install.-86944/dist-newstyle/tmp/src-86944/xml-conduit-1.9.1.3/dist/setup/setup
Configuring xml-conduit-1.9.1.3...
unrecognized 'build' option `--semaphore=cabal_semaphore_F'
Error: cabal: Failed to build xml-conduit-1.9.1.3. See the build log above for
details.
I am trying to build with cabal-install-3.11 and ghc-9.8.1-alpha3, using the new semaphore feature haskell/cabal#9139 .
I could build lots of other packages, so I guess xml-conduit is doing something special that badly interacts with the new feature. Perhaps a non-simple https://github.com/snoyberg/xml/blob/master/xml-conduit/Setup.hs ?
The text was updated successfully, but these errors were encountered: