Open nh2 opened 7 years ago
This might be related to: https://github.com/LumiGuide/haskell-opencv/issues/65. Are you running this on Nix? If so, you should try out the latest revision of haskell-opencv
.
I don't use stack myself. Does it have a verbosity flag? If so, could you share the output of stack build --fast -v
?
Are you running this on Nix?
@basvandijk No, I was running that without nix.
This might also be a general inline-c
problem. We should check it out again when addCStub
support has landed (https://github.com/fpco/inline-c/issues/21#issuecomment-279210548), maybe it helps somehow with this issue.
When I
stack build
with a package that hasopencv
as a dependency likein
stack.yml
everything runs through nicely.If then I run
stack build --fast
I get the utterly disturbingafter this has happened, even
stack build
without--fast
doesn't work anymore, I have tostack clean opencv
and thenstack build
works again.stack build --fast
never seems to work, even after a clean.I have no idea why it happens, but I observed that sometimes (e.g. when I do
stack build
afterstack clean myproject
) I get:Where would the
local file changes: src/OpenCV/Core/Types/Mat/Internal.cpp
come from? Given that Ilocation:
haskell-opencv
instack.yml
, I don't even have a way to change it, so where do the file changes come from? Maybe these file changes are related to the--fast
ghc error?