Skip to content
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

seems like can't build bundled cabal with GHC 9.8.2 #139

Closed
Miezhiko opened this issue Dec 3, 2024 · 2 comments
Closed

seems like can't build bundled cabal with GHC 9.8.2 #139

Miezhiko opened this issue Dec 3, 2024 · 2 comments

Comments

@Miezhiko
Copy link
Contributor

Miezhiko commented Dec 3, 2024

cabal/Cabal-syntax/src/Distribution/Compat/NonEmptySet.hs:71:19: error: [GHC-39999]
   • Could not deduce ‘NFData (Set.Set a)’ arising from a use of ‘rnf’
     from the context: NFData a
       bound by the instance declaration
       at cabal/Cabal-syntax/src/Distribution/Compat/NonEmptySet.hs:70:10-43
   • In the expression: rnf x
     In an equation for ‘rnf’: rnf (NES x) = rnf x
     In the instance declaration for ‘NFData (NonEmptySet a)’
  |
1 |     rnf (NES x) = rnf xq
  |                   ^^^
@hololeap
Copy link
Member

hololeap commented Dec 4, 2024

That's weird because it built fine on github's CI.

2024-12-02T14:42:32.3703128Z Build profile: -w ghc-9.8.2 -O1
2024-12-02T14:42:32.3704056Z In order, the following will be built (use -v for more details):
2024-12-02T14:42:32.3705200Z  - hackport-0.9.0.0 (lib:hackport-external-libs-Cabal-syntax) (first run)
2024-12-02T14:42:32.3706901Z  - hackport-0.9.0.0 (lib:hackport-external-libs-hackage-security) (first run)
2024-12-02T14:42:32.3707639Z  - hackport-0.9.0.0 (lib:hackport-external-libs-Cabal) (first run)
2024-12-02T14:42:32.3714944Z  - hackport-0.9.0.0 (lib:hackport-external-libs-cabal-install-solver) (first run)
2024-12-02T14:42:32.3716182Z  - hackport-0.9.0.0 (lib:hackport-external-libs-cabal-install) (first run)
2024-12-02T14:42:32.3717104Z  - hackport-0.9.0.0 (lib:hackport-internal) (first run)
2024-12-02T14:42:32.3718000Z  - hackport-0.9.0.0 (test:spec) (first run)
2024-12-02T14:42:32.3718671Z  - hackport-0.9.0.0 (exe:hackport) (first run)
2024-12-02T14:42:32.4915578Z Configuring library 'hackport-external-libs-Cabal-syntax' for hackport-0.9.0.0...
2024-12-02T14:42:34.7598503Z Preprocessing library 'hackport-external-libs-Cabal-syntax' for hackport-0.9.0.0...
2024-12-02T14:42:34.7970067Z Building library 'hackport-external-libs-Cabal-syntax' for hackport-0.9.0.0...
2024-12-02T14:42:40.3681831Z [  1 of 136] Compiling Distribution.Compat.Binary ( cabal/Cabal-syntax/src/Distribution/Compat/Binary.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/Binary.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/Binary.dyn_o )
2024-12-02T14:42:41.9395944Z [  2 of 136] Compiling Distribution.Compat.Exception ( cabal/Cabal-syntax/src/Distribution/Compat/Exception.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/Exception.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/Exception.dyn_o )
2024-12-02T14:42:42.0817919Z [  3 of 136] Compiling Distribution.Compat.MonadFail ( cabal/Cabal-syntax/src/Distribution/Compat/MonadFail.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/MonadFail.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/MonadFail.dyn_o )
2024-12-02T14:42:42.1313422Z [  4 of 136] Compiling Distribution.Compat.Newtype ( cabal/Cabal-syntax/src/Distribution/Compat/Newtype.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/Newtype.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/Newtype.dyn_o )
2024-12-02T14:42:42.2558493Z [  5 of 136] Compiling Distribution.Compat.Typeable ( cabal/Cabal-syntax/src/Distribution/Compat/Typeable.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/Typeable.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/Typeable.dyn_o )
2024-12-02T14:42:42.2997295Z [  6 of 136] Compiling Distribution.PackageDescription.Utils ( cabal/Cabal-syntax/src/Distribution/PackageDescription/Utils.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/PackageDescription/Utils.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/PackageDescription/Utils.dyn_o )
2024-12-02T14:42:42.4753415Z [  7 of 136] Compiling Distribution.Utils.Base62 ( cabal/Cabal-syntax/src/Distribution/Utils/Base62.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Utils/Base62.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Utils/Base62.dyn_o )
2024-12-02T14:42:42.7733948Z [  8 of 136] Compiling Distribution.Utils.MD5 ( cabal/Cabal-syntax/src/Distribution/Utils/MD5.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Utils/MD5.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Utils/MD5.dyn_o )
2024-12-02T14:42:43.2586668Z [  9 of 136] Compiling Distribution.Utils.String ( cabal/Cabal-syntax/src/Distribution/Utils/String.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Utils/String.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Utils/String.dyn_o )
2024-12-02T14:42:43.5152088Z [ 10 of 136] Compiling Distribution.Utils.Structured ( cabal/Cabal-syntax/src/Distribution/Utils/Structured.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Utils/Structured.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Utils/Structured.dyn_o )
2024-12-02T14:42:46.9943057Z [ 11 of 136] Compiling Distribution.Compat.Semigroup ( cabal/Cabal-syntax/src/Distribution/Compat/Semigroup.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/Semigroup.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/Semigroup.dyn_o )
2024-12-02T14:42:47.5554863Z [ 12 of 136] Compiling Distribution.Compat.NonEmptySet ( cabal/Cabal-syntax/src/Distribution/Compat/NonEmptySet.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/NonEmptySet.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/NonEmptySet.dyn_o )
2024-12-02T14:42:47.9913547Z [ 13 of 136] Compiling Distribution.Compat.Prelude ( cabal/Cabal-syntax/src/Distribution/Compat/Prelude.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/Prelude.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Compat/Prelude.dyn_o )
2024-12-02T14:42:48.2096433Z [ 14 of 136] Compiling Distribution.Utils.ShortText ( cabal/Cabal-syntax/src/Distribution/Utils/ShortText.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Utils/ShortText.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Utils/ShortText.dyn_o )
2024-12-02T14:42:48.4097679Z [ 15 of 136] Compiling Distribution.Utils.Generic ( cabal/Cabal-syntax/src/Distribution/Utils/Generic.hs, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Utils/Generic.o, /home/runner/work/hackport/hackport/dist-newstyle/build/x86_64-linux/ghc-9.8.2/hackport-0.9.0.0/l/hackport-external-libs-Cabal-syntax/build/hackport-external-libs-Cabal-syntax/Distribution/Utils/Generic.dyn_o )

Full build logs

@Miezhiko
Copy link
Contributor Author

solved, I've used external deepseq which had compatibility problems seems like

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