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
{{ message }}
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.
Trying to install hie, I'm running into the following build error:
Resolving dependencies...
Build profile: -w ghc-8.8.3 -O1
In order, the following will be built (use -v for more details):
- comonad-5.0.6 (lib:comonad) (requires build)
- lukko-0.1.1.2 (lib) (requires build)
- bifunctors-5.5.7 (lib) (requires build)
- assoc-1.0.1 (lib) (requires build)
- these-1.1 (lib) (requires build)
- aeson-1.5.2.0 (lib) (requires build)
- binary-instances-1.0.0.1 (lib) (requires build)
- cabal-install-parsers-0.3.0.1 (lib) (requires build)
- hie-install-0.8.1.0 (lib) (first run)
- fake-package-0 (exe:script) (first run)
Starting lukko-0.1.1.2 (lib)
Starting comonad-5.0.6 (all, legacy fallback)
Building lukko-0.1.1.2 (lib)
Building comonad-5.0.6 (all, legacy fallback)
Installing comonad-5.0.6 (all, legacy fallback)
Completed comonad-5.0.6 (all, legacy fallback)
Failed to build lukko-0.1.1.2.
Build log (
/home/jkaye/.cabal/logs/ghc-8.8.3/lukko-0.1.1.2-8e90129abeb2a1c19010837595dcf23dba44718fd7559022f6283b8f6e4e4e71.log
):
Configuring library for lukko-0.1.1.2..
Preprocessing library for lukko-0.1.1.2..
In file included from dist/build/Lukko/OFD_hsc_make.c:1:0:
OFD.hsc: In function ‘main’:
OFD.hsc:167:16: error: ‘F_OFD_SETLKW’ undeclared (first use in this function)
/home/jkaye/.ghcup/ghc/8.8.3/lib/ghc-8.8.3/template-hsc.h:38:10: note: in definition of macro ‘hsc_const’
if ((x) < 0) \
^
OFD.hsc:167:16: note: each undeclared identifier is reported only once for each function it appears in
/home/jkaye/.ghcup/ghc/8.8.3/lib/ghc-8.8.3/template-hsc.h:38:10: note: in definition of macro ‘hsc_const’
if ((x) < 0) \
^
OFD.hsc:168:16: error: ‘F_OFD_SETLK’ undeclared (first use in this function)
/home/jkaye/.ghcup/ghc/8.8.3/lib/ghc-8.8.3/template-hsc.h:38:10: note: in definition of macro ‘hsc_const’
if ((x) < 0) \
^
compiling dist/build/Lukko/OFD_hsc_make.c failed (exit code 1)
command was: /usr/lib64/ccache/gcc -c dist/build/Lukko/OFD_hsc_make.c -o dist/build/Lukko/OFD_hsc_make.o -std=gnu99 -std=gnu99 -D__GLASGOW_HASKELL__=808 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -DUSE_OFD_LOCKING -Idist/build/autogen -Idist/build/global-autogen -include dist/build/autogen/cabal_macros.h -I/home/jkaye/.ghcup/ghc/8.8.3/lib/ghc-8.8.3/base-4.13.0.0/include -I/home/jkaye/.ghcup/ghc/8.8.3/lib/ghc-8.8.3/integer-gmp-1.0.2.0/include -I/home/jkaye/.ghcup/ghc/8.8.3/lib/ghc-8.8.3/include -I/home/jkaye/.ghcup/ghc/8.8.3/lib/ghc-8.8.3/include/
cabal: Failed to build lukko-0.1.1.2 (which is required by exe:script from
fake-package-0). See the build log above for details.
I've tried building with both clang and gcc, both give the same error. Ghc and cabal both compile and run without issues, but I'm unable to install stack or hie due to this, and I can't seem to find much information about what is going on here or what I can do to fix it. Does anyone have any insight?
Thanks,
Jordan
The text was updated successfully, but these errors were encountered:
Hey all,
Trying to install hie, I'm running into the following build error:
I've tried building with both clang and gcc, both give the same error. Ghc and cabal both compile and run without issues, but I'm unable to install stack or hie due to this, and I can't seem to find much information about what is going on here or what I can do to fix it. Does anyone have any insight?
Thanks,
Jordan
The text was updated successfully, but these errors were encountered: