Skip to content

testsuite fails to build with ghc-9.6.3 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
juhp opened this issue Oct 1, 2023 · 1 comment
Open

testsuite fails to build with ghc-9.6.3 #1

juhp opened this issue Oct 1, 2023 · 1 comment

Comments

@juhp
Copy link

juhp commented Oct 1, 2023

       /var/stackage/work/unpack-dir/unpacked/ghc-byteorder-4.11.0.0.10-dc135755ee7ab6663b653516137e4f534a8169b1eb37a6906d92bdc64c4b
9ee8/src-test/tests.hs:26:11: error: [GHC-39999]
           • No instance for ‘Eq (Maybe IUT.ByteOrder)’
               arising from a use of ‘L.nub’
           • In the first argument of ‘($)’, namely ‘L.nub’
             In the expression:
               L.nub
                 $ zipWith inferBO octectsLst [beOctets16, beOctets32, beOctets64]
             In a stmt of a 'do' block:
               case
                   (L.nub
                      $ zipWith inferBO octectsLst [beOctets16, beOctets32, beOctets64])
               of
                 [Just x] -> return x
                 _ -> fail ("runtimeByteOrder failed " ++ show octectsLst)
          |
       26 |     case (L.nub $ zipWith inferBO octectsLst [beOctets16,beOctets32,beOctets64]) of
          |           ^^^^^
juhp added a commit to commercialhaskell/stackage that referenced this issue Oct 1, 2023
@andreasabel
Copy link
Member

andreasabel commented Nov 30, 2023

It does work with cabal:

cabal get ghc-byteorder-4.11.0.0.10
cd ghc-byteorder-4.11.0.0.10
cabal test -w ghc-9.6.3

Also, ByteOrder does have an Eq implementation: https://hackage.haskell.org/package/base-4.18.0.0/docs/GHC-ByteOrder.html#t:ByteOrder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants