spell-music / csound-expression

Haskell Framework for Electronic Music
320 stars 31 forks source link

cannot build from hackage (as of 2024-02-18T12:44:28Z) #90

Closed jwaldmann closed 6 months ago

jwaldmann commented 6 months ago

(I wrote in https://github.com/spell-music/csound-expression/issues/86#issuecomment-1951317706 but perhaps I should not bury this in a closed issue)

$ cabal install -v --lib csound-expression --package-env=cse --index=2024-02-18T12:44:28Z
...

Error: cabal: Failed to build csound-expression-5.4.3 because it depends on
csound-expression-5.4.3 which itself failed to build.
Failed to build csound-expression-opcodes-0.0.5.1 because it depends on
csound-expression-opcodes-0.0.5.1 which itself failed to build.
Failed to build
csound-expression-typed-0.2.7-268938da5ace2d8cbebcc08647a53d016f9c03cb1b5597672c33e5667c6320f3.
anton-k commented 6 months ago

cabal update should fix that.

jwaldmann commented 6 months ago

yes, this works now

$ cabal update
...
The index-state is set to 2024-02-19T09:41:13Z.

$ cabal install --lib csound-expression

But - this is still missing OverloadedStrings?

$ cabal install --lib csound-sampler
...
[3 of 5] Compiling Csound.Sam.Ui    ( src/Csound/Sam/Ui.hs, dist/build/Csound/Sam/Ui.o, dist/build/Csound/Sam/Ui.dyn_o )

src/Csound/Sam/Ui.hs:49:60: error: [GHC-83865]
    • Couldn't match type ‘[Char]’
                     with ‘text-2.1:Data.Text.Internal.Text’
      Expected: [text-2.1:Data.Text.Internal.Text]
        Actual: [String]
    • In the second argument of ‘zipWithM’, namely ‘names’
      In the second argument of ‘($)’, namely
        ‘zipWithM (\ a b -> toggle a b) names initVals’
...
anton-k commented 6 months ago

Thank you for report, I've just updated the other packages on Hackage.

jwaldmann commented 6 months ago

OK, cabal install --lib csound-sampler now works. Thanks!