-
Notifications
You must be signed in to change notification settings - Fork 44
Travis CI fails on Haddock #107
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
Comments
The following might or might not be related:
I'm trying to force haddock to tell GHC to use the C++ compiler but the following produces the same warning:
|
I'm trying to do the same thing as above but using a custom Setup.hs. No luck so far... |
I also get these warnings during normal compilation (not Haddock) using nix.
So this is likely not related to Haddock not passing the appriopriate options to GHC. |
Ah, I feared this would come up (it was prophesied here). Word is it won't be until |
Running ghc with All The two C files contain double Z encoded references to the zDecodeString $ zDecodeString "zdopencvzm0zi0zi2zi1zmGPqmEeOdChtBw6r6pPytIlzdOpenCVziHighGuizdopencvzzm0zzi0zzi2zzi1zzmGPqmEeOdChtBw6r6pPytIlzuOpenCVzziHighGuizuinlinezzuczzuffizzu6989586621679664641"
"$opencv-0.0.2.1-GPqmEeOdChtBw6r6pPytIl$OpenCV.HighGui$opencv-0.0.2.1-GPqmEeOdChtBw6r6pPytIl_OpenCV.HighGui_inline_c_ffi_6989586621679664641" They are generated because of the I don't know if this is in any way related to Haddock crashing when invoked on Travis CI. |
These should be fixed when haskell/cabal#5075 goes out:
@roelvandijk did you try building without |
haskell/cabal#3700 fix went out in Cabal-2.2.0.0 which was released in March. Unfortunately I've completely forgotten if/how I could repro this locally. |
Ah, after a bit more digging, we're now waiting on this: commercialhaskell/stack#3954 Once that's out we should be able to revert 8029834, and use the new |
Good news: Progress being made with commercialhaskell/stack#3954 Bad news: As identified here, I identified this by updating the
It looks like once fpco/inline-c#66 is merged in then we'll just have to get To do that we'll need to submit a PR re-enabling it by reverting this: |
fpco/inline-c#66 was fixed, and released in 0.6.0.6 🎉 I've made the PR to get it in to the stackage nightly: commercialhaskell/stackage#3578 |
I'm now trying to switch to Cabal-2.2 so that we can use the new |
BTW we're blocked on #116. |
Since #116 is fixed now I started upgrading the stackage resolver to https://travis-ci.org/LumiGuide/haskell-opencv/builds/382581629#L2462 Any ideas how to fix this one? |
I see that stack is passing |
At ZuriHac I was finally able to fix the travis build. |
After fixing #104 we get a lot further through the Travis CI build. But it still fails.
See https://travis-ci.org/LumiGuide/haskell-opencv/builds/331686385#L1603:
The text was updated successfully, but these errors were encountered: