haskell / network-uri

URI manipulation facilities
Other
25 stars 33 forks source link

s390x support for network-uri #65

Open e-desouza opened 3 years ago

e-desouza commented 3 years ago

Trying to upgrade cabal from 1.24.0.2 to 3.2 and the network-uri package build fails with ghc: setNumCapabilities: not supported on this platform. This does seem like a ghc bug so I opened one here and want to track/test this once that's fixed.

[network-uri-2.6.4.1]$ cabal build

Building network-uri-2.6.4.1...
Preprocessing library network-uri-2.6.4.1...
ghc: setNumCapabilities: not supported on this platform
[1 of 3] Compiling Network.URI      ( Network/URI.hs, dist/build/Network/URI.o )

Network/URI.hs:1380:1: error:
    • Can't find interface-file declaration for variable Language.Haskell.TH.Lib.appE
        Probable cause: bug in .hi-boot file, or inconsistent .hi file
        Use -ddump-if-trace to get an idea of which file caused the error
    • In the expression:
        Language.Haskell.TH.Lib.appE
          (Language.Haskell.TH.Lib.appE
ezrakilty commented 3 years ago

OK, I see there's discussion on the GHC bug ticket. I believe there's no action to take on network-uri at the moment, right?

ezrakilty commented 2 years ago

I see the underlying ticket has been closed. @e-desouza Please test again if you can. I'll plan to close this in a few days unless you say there's still something to track.