After a fresh clone followed by stack build, the gl dependency will not build. If I remove the gl repo from stack.yaml and update the resolver to lts-8.17, the dependency builds fine (though Odin itself still fails to build, which I'll file separately)
Here's the relevant error:
-- While building package gl-0.8.0 using:
/Users/chuck/.stack/programs/x86_64-osx/ghc-8.0.2/bin/ghc --make -odir /Users/chuck/proj/hs/odin/.stack-work/downloaded/Zpw1QwqLgZxs/.stack-work/dist/x86_64-osx/Cabal-1.24.2.0/setup -hidir /Users/chuck/proj/hs/odin/.stack-work/downloaded/Zpw1QwqLgZxs/.stack-work/dist/x86_64-osx/Cabal-1.24.2.0/setup -i -i. -clear-package-db -global-package-db -package-db=/Users/chuck/.stack/snapshots/x86_64-osx/lts-8.0/8.0.2/pkgdb -package-db=/Users/chuck/proj/hs/odin/.stack-work/install/x86_64-osx/lts-8.0/8.0.2/pkgdb -hide-all-packages -package-id=Cabal-1.24.2.0 -package-id=base-4.9.1.0 -package-id=directory-1.3.0.0 -package-id=filepath-1.4.1.1 -package-id=hxt-9.3.1.16-C6pOQ0xFGQt4YvlUY7LC4u -optP-include -optP/Users/chuck/proj/hs/odin/.stack-work/downloaded/Zpw1QwqLgZxs/.stack-work/dist/x86_64-osx/Cabal-1.24.2.0/setup/setup_macros.h /Users/chuck/proj/hs/odin/.stack-work/downloaded/Zpw1QwqLgZxs/Setup.hs /Users/chuck/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -main-is StackSetupShim.mainOverride -o /Users/chuck/proj/hs/odin/.stack-work/downloaded/Zpw1QwqLgZxs/.stack-work/dist/x86_64-osx/Cabal-1.24.2.0/setup/setup -threaded
Process exited with code: ExitFailure 1
Logs have been written to: /Users/chuck/proj/hs/odin/.stack-work/logs/gl-0.8.0.log
[1 of 7] Compiling Utils ( Utils.hs, /Users/chuck/proj/hs/odin/.stack-work/downloaded/Zpw1QwqLgZxs/.stack-work/dist/x86_64-osx/Cabal-1.24.2.0/setup/Utils.o )
[2 of 7] Compiling Registry ( Registry.hs, /Users/chuck/proj/hs/odin/.stack-work/downloaded/Zpw1QwqLgZxs/.stack-work/dist/x86_64-osx/Cabal-1.24.2.0/setup/Registry.o )
[3 of 7] Compiling Parser ( Parser.hs, /Users/chuck/proj/hs/odin/.stack-work/downloaded/Zpw1QwqLgZxs/.stack-work/dist/x86_64-osx/Cabal-1.24.2.0/setup/Parser.o )
[4 of 7] Compiling Module ( Module.hs, /Users/chuck/proj/hs/odin/.stack-work/downloaded/Zpw1QwqLgZxs/.stack-work/dist/x86_64-osx/Cabal-1.24.2.0/setup/Module.o )
[5 of 7] Compiling Generator ( Generator.hs, /Users/chuck/proj/hs/odin/.stack-work/downloaded/Zpw1QwqLgZxs/.stack-work/dist/x86_64-osx/Cabal-1.24.2.0/setup/Generator.o )
Generator.hs:16:1: error:
Failed to load interface for ‘Control.Monad.Trans.State’
It is a member of the hidden package ‘transformers-0.5.2.0’.
Use -v to see a list of the files searched for.
Generator.hs:21:1: error:
Failed to load interface for ‘Data.Map’
It is a member of the hidden package ‘containers-0.5.7.1’.
Use -v to see a list of the files searched for.
Generator.hs:22:1: error:
Failed to load interface for ‘Data.Map’
It is a member of the hidden package ‘containers-0.5.7.1’.
Use -v to see a list of the files searched for.
Generator.hs:23:1: error:
Failed to load interface for ‘Data.Set’
It is a member of the hidden package ‘containers-0.5.7.1’.
Use -v to see a list of the files searched for.
Generator.hs:24:1: error:
Failed to load interface for ‘Data.Set’
It is a member of the hidden package ‘containers-0.5.7.1’.
Use -v to see a list of the files searched for.
After a fresh clone followed by
stack build
, thegl
dependency will not build. If I remove the gl repo from stack.yaml and update the resolver to lts-8.17, the dependency builds fine (though Odin itself still fails to build, which I'll file separately)Here's the relevant error: