You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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, ghc versions
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
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:
One difference in 3.14 is it says "
cabal_macros.h
changed", presumably why it's rebuilding. Printing outcabal_macros.h
before and after, I think the change ishappy
is not included aftercabal build
, but is included in the subsequentcabal 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:
Expected behavior
Should succeed
System information
cabal
,ghc
versionsAdditional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: