-
Notifications
You must be signed in to change notification settings - Fork 723
Description
Describe the bug
In my project, if I use the latest version of cabal-install in CI (3.14), I get a failure, but CI passes when pinning cabal-install to 3.12. PR: brandonchinn178/aeson-schemas#99. My project seems like a pretty normal library+executable+benchmark project, without anything special like compiler plugins. I'm running a simple cabal build && cabal exec -- cabal test. I can't repro locally.
CI logs:
- 3.12 passes: https://github.com/brandonchinn178/aeson-schemas/actions/runs/12850695693/job/35830628997
- 3.14 fails: https://github.com/brandonchinn178/aeson-schemas/actions/runs/12850698146/job/35830632450
One difference in 3.14 is it says "cabal_macros.h changed", presumably why it's rebuilding. Printing out cabal_macros.h before and after, I think the change is happy is not included after cabal build, but is included in the subsequent cabal exec -- cabal test. I don't use or declare happy anywhere in my cabal file, but it looks like a dependency, haskell-src-exts, uses it.
I do see this error message reported in other issues, including #8580 which I reported, but I'm reporting this separately because it looks like a possible regression between 3.12 and 3.14, instead of something I'm doing wrong.
To Reproduce
Steps to reproduce the behavior:
$ cabal build && cabal exec -- cabal test
Expected behavior
Should succeed
System information
- Operating system
cabal,ghcversions
Additional context
Add any other context about the problem here.