-
Notifications
You must be signed in to change notification settings - Fork 3
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
"Silent" (zero exit code) failure with mismatched temporary files #37
Comments
@geekosaur was it |
I'm re-running the reproducer, but it's somewhat complicated: I need to cherry-pick the API checking commit into a fork of cabal's 3.12 branch, run The error message is definitely from the GHC API, but I'd hope it would be possible to catch errors from it. |
Note that (a) it's referencing a symbol from 3.12.1.0, and (b)
|
Thank you very much! |
Hm, I stand corrected, so I may have to edit that pipeline (I think the
|
Okay, yes, it's the pipeline, apparently I'd forgotten that shells don't handle "internal" failures right even in 2024.
Or POSIX requires them to be dumb about it for backward compatibility, or something. |
Okay, yes, fails properly without the |
I attempted to
print-api
onhaskell/cabal
(haskell/cabal#10259) and forgot to clean up thedist
directory I use forprint-api
, which had leftovers from building forprint-api
on cabal's 3.12.1.0 release. The result wasprint-api
complaining about symbols from 3.12.1.0 and dying, but with a 0 exit code so theMakefile
didn't detect the error and copied zero-length output over the old API records.The text was updated successfully, but these errors were encountered: