[GHC] #9010: TemplateHaskell leads to an "unknown symbol" error

GHC ghc-devs at haskell.org
Fri Dec 18 18:52:28 UTC 2015


#9010: TemplateHaskell leads to an "unknown symbol" error
-------------------------------------+-------------------------------------
        Reporter:  Feuerbach         |                Owner:
            Type:  bug               |               Status:  infoneeded
        Priority:  high              |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by basvandijk):

 The following is from inside `nix-shell -A env` (i.e. inside an
 environment which has `hs-opencv-binding` installed):

 {{{
 $ ghc-pkg describe hs-opencv-binding
 name: hs-opencv-binding
 version: 0.0.0
 id: hs-opencv-binding-0.0.0-8f2416af7a2ee3c9cd620cc714b1aad9
 key: hsope_LkixZPC131K3fnJ17eOHEn
 license: BSD3
 exposed: True
 exposed-modules:
     OpenCV
 trusted: False
 import-dirs: /nix/store/9i2cs3qbs78bx8zph68578awirvpk4ja-hs-opencv-
 binding-0.0.0/lib/ghc-7.10.2/hs-opencv-binding-0.0.0
 library-dirs: /nix/store/9i2cs3qbs78bx8zph68578awirvpk4ja-hs-opencv-
 binding-0.0.0/lib/ghc-7.10.2/hs-opencv-binding-0.0.0
               /nix/store/yd25dral2yg4sdn31iq3cbzf1k2lsqlh-opencv-3.0.0/lib
 data-dir: /nix/store/9i2cs3qbs78bx8zph68578awirvpk4ja-hs-opencv-
 binding-0.0.0/share/x86_64-linux-ghc-7.10.2/hs-opencv-binding-0.0.0
 hs-libraries: HShs-opencv-binding-0.0.0-LkixZPC131K3fnJ17eOHEn
 extra-libraries:
     opencv_shape opencv_stitching opencv_objdetect opencv_superres
     opencv_videostab opencv_calib3d opencv_features2d opencv_highgui
     opencv_videoio opencv_imgcodecs opencv_video opencv_photo opencv_ml
     opencv_imgproc opencv_flann opencv_core opencv_hal
 include-dirs: /nix/store/yd25dral2yg4sdn31iq3cbzf1k2lsqlh-
 opencv-3.0.0/include
               /nix/store/yd25dral2yg4sdn31iq3cbzf1k2lsqlh-
 opencv-3.0.0/include/opencv
 depends:
     base-4.8.1.0-4f7206fd964c629946bb89db72c80011
 haddock-interfaces: /nix/store/9i2cs3qbs78bx8zph68578awirvpk4ja-hs-opencv-
 binding-0.0.0/share/doc/x86_64-linux-ghc-7.10.2/hs-opencv-
 binding-0.0.0/html/hs-opencv-binding.haddock
 haddock-html: /nix/store/9i2cs3qbs78bx8zph68578awirvpk4ja-hs-opencv-
 binding-0.0.0/share/doc/x86_64-linux-ghc-7.10.2/hs-opencv-
 binding-0.0.0/html
 pkgroot:
 "/nix/store/ij6kvzi44hmwnvkxsxfimvlixaxwfhf4-ghc-7.10.2/lib/ghc-7.10.2"
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9010#comment:17>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list