AUR makepkg does not complete, suspect stack
Closed this issue · 2 comments
someotherkyle commented
Building cairo and glib fails. I suspect this is upstream but I'm not familiar with haskell at all. Any insight would be appreciated!
stack setup
stack will use a sandboxed GHC it installed
For more information on paths, see 'stack path' and 'stack exec env'
To use this GHC and packages outside of a project, consider using:
stack ghc, stack ghci, stack runghc, or stack exec
stack install --local-bin-path .out
cairo > configure
cairo > [1 of 2] Compiling Main ( /tmp/stack-786b3d7e2a9dea4a/cairo-0.13.5.0/Setup.hs, /tmp/stack-786b3d7e2a9dea4a/cairo-0.13.5.0/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.2.0.1/setup/Main.o )
cairo > [2 of 2] Compiling StackSetupShim ( /home/kyle/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /tmp/stack-786b3d7e2a9dea4a/cairo-0.13.5.0/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.2.0.1/setup/StackSetupShim.o )
cairo > Linking /tmp/stack-786b3d7e2a9dea4a/cairo-0.13.5.0/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.2.0.1/setup/setup ...
cairo > Configuring cairo-0.13.5.0...
cairo > build
glib > configure
cairo > Preprocessing library for cairo-0.13.5.0..
cairo > setup: Error in C header file.
cairo >
cairo > cairo-gtk2hs.i:1: (column 1) [FATAL]
cairo > >>> Lexical error!
cairo > The character '#' does not fit here.
cairo >
glib > [1 of 2] Compiling Main ( /tmp/stack-786b3d7e2a9dea4a/glib-0.13.8.0/Setup.hs, /tmp/stack-786b3d7e2a9dea4a/glib-0.13.8.0/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.2.0.1/setup/Main.o )
glib > [2 of 2] Compiling StackSetupShim ( /home/kyle/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /tmp/stack-786b3d7e2a9dea4a/glib-0.13.8.0/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.2.0.1/setup/StackSetupShim.o )
glib > Linking /tmp/stack-786b3d7e2a9dea4a/glib-0.13.8.0/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.2.0.1/setup/setup ...
glib > Configuring glib-0.13.8.0...
glib > build
conduit-extra > configure
glib > Preprocessing library for glib-0.13.8.0..
glib > setup: Error in C header file.
glib >
glib > glib-object.i:1: (column 1) [FATAL]
glib > >>> Lexical error!
glib > The character '#' does not fit here.
glib >
igorepst commented
@someotherkyle This has something to do with newer version of gcc
- I investigated this once. For the time being, you may use the compiled executable under .out
subdirectory in the source tree
someotherkyle commented
Thanks for the feedback! As this is not a relevant issue to this project I will close.