You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a simple Stack project which references LibClang-3.4.0 via an extra-deps entry in stack.yaml. Attempts to build this project fail due to the following compilation error in LibClang:
Preprocessing library LibClang-3.4.0...
[ 1 of 25] Compiling Clang.Internal.FFIConstants ( .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Internal/FFIConstants.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Internal/FFIConstants.o )
[ 2 of 25] Compiling Paths_LibClang ( .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/autogen/Paths_LibClang.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Paths_LibClang.o )
[ 3 of 25] Compiling Clang.Internal.BitFlags ( src/Clang/Internal/BitFlags.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Internal/BitFlags.o )
[ 4 of 25] Compiling Clang.Internal.Monad ( src/Clang/Internal/Monad.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Internal/Monad.o )
[ 5 of 25] Compiling Clang.Internal.FFI ( .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Internal/FFI.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Internal/FFI.o )
[ 6 of 25] Compiling Clang.Index ( src/Clang/Index.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Index.o )
[ 7 of 25] Compiling Clang.TranslationUnit ( src/Clang/TranslationUnit.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/TranslationUnit.o )
[ 8 of 25] Compiling Clang.Internal.Comment ( src/Clang/Internal/Comment.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Internal/Comment.o )
[ 9 of 25] Compiling Clang.Comment ( src/Clang/Comment.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Comment.o )
[10 of 25] Compiling Clang.Completion ( src/Clang/Completion.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Completion.o )
[11 of 25] Compiling Clang.Cursor ( src/Clang/Cursor.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Cursor.o )
[12 of 25] Compiling Clang.Debug ( src/Clang/Debug.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Debug.o )
[13 of 25] Compiling Clang.Diagnostic ( src/Clang/Diagnostic.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Diagnostic.o )
[14 of 25] Compiling Clang.File ( src/Clang/File.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/File.o )
[15 of 25] Compiling Clang.Location ( src/Clang/Location.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Location.o )
[16 of 25] Compiling Clang.Module ( src/Clang/Module.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Module.o )
[17 of 25] Compiling Clang.Range ( src/Clang/Range.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Range.o )
[18 of 25] Compiling Clang.Remapping ( src/Clang/Remapping.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Remapping.o )
[19 of 25] Compiling Clang.String ( src/Clang/String.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/String.o )
[20 of 25] Compiling Clang.Token ( src/Clang/Token.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Token.o )
[21 of 25] Compiling Clang.Type ( src/Clang/Type.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Type.o )
[22 of 25] Compiling Clang.UnsavedFile ( src/Clang/UnsavedFile.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/UnsavedFile.o )
[23 of 25] Compiling Clang.USR ( src/Clang/USR.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/USR.o )
[24 of 25] Compiling Clang.Version ( src/Clang/Version.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang/Version.o )
[25 of 25] Compiling Clang ( src/Clang.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Clang.o )
<command line>: does not exist: dist/build/Clang/Internal/FFI.chs.c
The text was updated successfully, but these errors were encountered:
I have a simple Stack project which references
LibClang-3.4.0
via anextra-deps
entry instack.yaml
. Attempts to build this project fail due to the following compilation error inLibClang
:The text was updated successfully, but these errors were encountered: