Skip to content
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

Building opencv-extra on OS X fails #138

Open
basvandijk opened this issue Jan 5, 2019 · 0 comments
Open

Building opencv-extra on OS X fails #138

basvandijk opened this issue Jan 5, 2019 · 0 comments

Comments

@basvandijk
Copy link
Contributor

basvandijk commented Jan 5, 2019

> nix-build -A haskellPackages.opencv-extra
...
[10 of 11] Compiling OpenCV.Extra.XPhoto.WhiteBalancer ( src/OpenCV/Extra/XPhoto/WhiteBalancer.hs, dist/build/OpenCV/Extra/XPhoto/WhiteBalancer.p_o )
ld: warning: /nix/store/4fxq4wa5hmpy8r82lsq86r3jj2f1bjzq-libiconv-osx-10.11.6/lib/libiconv.dylib, ignoring unexpected dylib file
[11 of 11] Compiling OpenCV.Extra     ( src/OpenCV/Extra.hs, dist/build/OpenCV/Extra.p_o )
ld: warning: /nix/store/4fxq4wa5hmpy8r82lsq86r3jj2f1bjzq-libiconv-osx-10.11.6/lib/libiconv.dylib, ignoring unexpected dylib file
ld: warning: /nix/store/4fxq4wa5hmpy8r82lsq86r3jj2f1bjzq-libiconv-osx-10.11.6/lib/libiconv.dylib, ignoring unexpected dylib file
ghc: panic! (the 'impossible' happened)
  (GHC version 8.6.3 for x86_64-apple-darwin):
        Data.Binary.Get.runGet at position 8: Invalid magic number "INPUT(-l"
CallStack (from HasCallStack):
  error, called at libraries/binary/src/Data/Binary/Get.hs:351:5 in binary-0.8.6.0:Data.Binary.Get

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

builder for '/nix/store/4c73fdnhwgfb0qh9fzdm64fhw60ck72y-opencv-extra-0.2.0.1.drv' failed with exit code 1
error: build of '/nix/store/4c73fdnhwgfb0qh9fzdm64fhw60ck72y-opencv-extra-0.2.0.1.drv' failed

As instructed I reported this upstream: https://ghc.haskell.org/trac/ghc/ticket/16130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant