-
Notifications
You must be signed in to change notification settings - Fork 804
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
reedsolomon build failure #1279
Comments
@DanBurton Is there any more build output available somewhere? FWIW, the package uses TravisCI to build/test against LTS2, LTS3, LTS5 and nightly + some extra tests (e.g. validate This package compiles with
I've never seen anything like the snippet you posted, so some more info (or a way to reproduce?) would be really cool. Disabling LLVM through a package flag could fix this, but then the Stackage build would differ from what's default. |
I'll run it again with the next nightly and capture the whole log for you.
Quite possible.
Yes, I'd rather build it in the "default way". Perhaps @snoyberg has thoughts on this? |
When Stack builds a package, it will actually respect the flags used by Stackage when building, so it should be relatively safe. That said, I'd probably recommend tweaking the default to not use LLVM in the package itself, since if our build server is having trouble with it, likely end users will too. |
I found the log file from the other day in its entirety:
|
OK, so that might be a work-around.
Hmh... I did some benchmarks during the initial development of this package, and using LLVM made quite a positive impact. I'll try again (code has changed a lot since). In general, I really think the build environment should be fixed: @DanBurton That clearly looks like an LLVM version mismatch indeed. Thanks for posting the log. |
Re-enable the `reedsolomon` package, but disable the `llvm` Cabal flag: the Stackage build servers run a version of LLVM that's incompatible with the GHC version being used, causing the build to fail when the `llvm` flag (which passes `-fllvm` to GHC) is enabled. This reverts commit 10a218a. Conflicts: build-constraints.yaml Fixes: commercialhaskell#1279 See: commercialhaskell#1279
Revert "Disable reedsolomon per #1279"
Ping @NicolasT
Various errors all said the same thing when the stackage build server tried to build reedsolomon:
The text was updated successfully, but these errors were encountered: