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
Link error when attempting to run tests with Stackage #459
Comments
@snoyberg will be interested in this. In general there are some land mines with sqlite linking with cabal or stack. You can build with postgres or mongoDB if you don't want to have any native dependencies |
I'm already trying to repro ;) |
I reproed the problem and fixed it by adding a missing c-sources to the test suite. However, I have no idea why Travis didn't catch this. I'll try to repro with cabal in the morning. |
Thanks! Don't want to open a new issue in case I'm doing something stupid or it's related, but it now stops during the SQLite tests:
|
The problem on Travis is indeed that it was not building or running the sqlite versions of the tests, which is why this went undiscovered. Adding the missing c-sources is in fact the correct fix. @scshunt That problem now appears on Travis as well, I'll look into solving it next. |
OK, I think I've fixed that name collision now, give it a shot. |
closing for now. please re-open if the issue still exists |
Attempting to do a Stackage configuration, when I run
stack test
, I get:I do not know what is up, and I haven't yet set up a cabal sandbox to test if this is a general issue or exclusive to using stack to test.
The text was updated successfully, but these errors were encountered: