-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Stackage View doesn't seem to build for me. I tried the usual:
git clone https://github.com/fpco/stackage-view.git
cd stackage-view/
cabal sandbox init
cabal install
The commit hash I was using was 55c30e0, which was the latest at the time of posting.
Cabal builds the dependencies without difficulty but when it reaches Stackage View itself it fails with the following output:
[8 of 17] Compiling Settings.StaticFiles ( server/Settings/StaticFiles.hs, dist/dist-sandbox-c8d8085a/build/Settings/StaticFiles.o )
[9 of 17] Compiling SharedTypes ( shared/SharedTypes.hs, dist/dist-sandbox-c8d8085a/build/SharedTypes.o )
[10 of 17] Compiling Stackage.View.Types ( server/Stackage/View/Types.hs, dist/dist-sandbox-c8d8085a/build/Stackage/View/Types.o )
[11 of 17] Compiling Foundation ( server/Foundation.hs, dist/dist-sandbox-c8d8085a/build/Foundation.o )
[12 of 17] Compiling Stackage.View.Cabal ( server/Stackage/View/Cabal.hs, dist/dist-sandbox-c8d8085a/build/Stackage/View/Cabal.o )
server/Stackage/View/Cabal.hs:84:37: Warning:
This binding for ‘lib’ shadows the existing binding
bound at server/Stackage/View/Cabal.hs:67:13
[13 of 17] Compiling Import ( server/Import.hs, dist/dist-sandbox-c8d8085a/build/Import.o )
[14 of 17] Compiling Handler.Home ( server/Handler/Home.hs, dist/dist-sandbox-c8d8085a/build/Handler/Home.o )
ghcjs app/Client.hs -o /tmp/run-ghcjs.10911 -iclient -ishared -XCPP -XTemplateHaskell -package ghcjs-react
<command line>: cannot satisfy -package ghcjs-react
(use -v for more information)
server/Handler/Home.hs:17:5:
Exception when trying to run compile-time code:
The GHCJS process failed with exit code 1.
Code: ghcjsFileDev
development
["-iclient", "-ishared", "-XCPP", "-XTemplateHaskell", ....]
"app/Client.hs"
In the splice:
$(ghcjsFileDev
development
["-iclient", "-ishared", "-XCPP", ....]
"app/Client.hs")
cabal: Error: some packages failed to install:
stackage-view-0.0.1 failed during the building phase. The exception was:
ExitFailure 1
Here are the version of things I'm using:
ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.8.4
ghcjs --version
The Glorious Glasgow Haskell Compilation System for JavaScript, version 0.1.0 (GHC 7.8.4)
cabal --version
cabal-install version 1.22.0.0
node --version
v0.12.1
alex --version
Alex version 3.1.4, (c) 2003 Chris Dornan and Simon Marlow
happy --version
Happy Version 1.19.4 Copyright (c) 1993-1996 Andy Gill, Simon Marlow (c) 1997-2005 Simon Marlow
Happy is a Yacc for Haskell, and comes with ABSOLUTELY NO WARRANTY.
This program is free software; you can redistribute it and/or modify
it under the terms given in the file 'LICENSE' distributed with
the Happy sources.
Metadata
Metadata
Assignees
Labels
No labels