#2897: HsFFI.h is not in the default include path for hsc2hs
---------------------------+------------------------------------------------
Reporter: cjs | Type: bug
Status: new | Priority: normal
Milestone: 6.14.1 | Component: hsc2hs
Version: 6.10.1 | Keywords:
Testcase: | Blockedby:
Difficulty: Unknown | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
---------------------------+------------------------------------------------
Comment(by ezyang):
There are two “spurious” test failures in the MinGW test suite, namely
hsc2hs001 and hsc2hs002. They pass if you run the tests from the root
directory, but fail if you run them from the testsuite directory. The
invocation of hsc2hs is as follows:
{{{
In file included from hsc2hs002_hsc_make.c:1:
C:/cygwin/home/ezyang/ghc/inplace/lib/template-hsc.h:4:19: HsFFI.h: No
such file or directory
compiling hsc2hs002_hsc_make.c failed (exit code 1)
command was: C:/cygwin/home/ezyang/ghc/inplace/lib/../mingw/bin/gcc.exe -c
hsc2hs002_hsc_make.c -o hsc2hs002_hsc_make.o
-IC:/cygwin/home/ezyang/ghc/inplace/lib/include/
}}}
inplace/lib/include/ does not exist; maybe our build scripts should copy
the includes directory there, and then we should stop failing these two
tests.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2897#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs