New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elm-reactor install failure due to elm-lang/core: "bad version bounds" #179

Closed
justinmanley opened this Issue Feb 20, 2015 · 4 comments

Comments

Projects
None yet
2 participants
@justinmanley

justinmanley commented Feb 20, 2015

Trying to install elm-reactor from source with:

cabal sandbox init
cabal install

fails with the following error message:

Configuring elm-reactor-0.3...
Building elm-reactor-0.3...
Preprocessing executable 'elm-reactor' for elm-reactor-0.3...
[1 of 6] Compiling Paths_elm_reactor ( dist/dist-sandbox-3a98b1b0/build/autogen/Paths_elm_reactor.hs, dist/dist-sandbox-3a98b1b0/build/elm-rea[0/1468]-reactor-tmp/Paths_elm_reactor.o )
[2 of 6] Compiling Utils            ( backend/Utils.hs, dist/dist-sandbox-3a98b1b0/build/elm-reactor/elm-reactor-tmp/Utils.o )
[3 of 6] Compiling Compile          ( backend/Compile.hs, dist/dist-sandbox-3a98b1b0/build/elm-reactor/elm-reactor-tmp/Compile.o )
[4 of 6] Compiling Socket           ( backend/Socket.hs, dist/dist-sandbox-3a98b1b0/build/elm-reactor/elm-reactor-tmp/Socket.o )
[5 of 6] Compiling Index            ( backend/Index.hs, dist/dist-sandbox-3a98b1b0/build/elm-reactor/elm-reactor-tmp/Index.o )
[6 of 6] Compiling Main             ( backend/Main.hs, dist/dist-sandbox-3a98b1b0/build/elm-reactor/elm-reactor-tmp/Main.o )
Linking dist/dist-sandbox-3a98b1b0/build/elm-reactor/elm-reactor ...
Custom build step: creating and collecting all static resources
Failed to build SideBar.elm

Downloading elm-lang/core
Downloading evancz/elm-html
Downloading evancz/elm-markdown
Downloading evancz/virtual-dom
Packages configured successfully!

Error in package elm-lang/core 1.1.0 in module Signal:

Parse error at (line 285, column 24):
unexpected "\n"
unexpected keyword 'input', variables cannot be keywords


This error is probably due to bad version bounds. You should definitely
inform the maintainer of elm-lang/core to get this fixed.

In the meantime, you can attempt to get rid of the problematic dependency by
modifying elm-stuff/exact-dependencies.json, though that is not a long term
solution.

Failed to install elm-reactor-0.3
cabal: Error: some packages failed to install:
elm-reactor-0.3 failed during the building phase. The exception was:
ExitFailure 1
@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz Feb 20, 2015

Member

I'm actively developing on the master branch and things are in an intermediate state. If you want to build from source, make sure you are using the latest tags on each repo.

Member

evancz commented Feb 20, 2015

I'm actively developing on the master branch and things are in an intermediate state. If you want to build from source, make sure you are using the latest tags on each repo.

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz Feb 20, 2015

Member

To clarify, the compiler has some changes, so if you have literally the latest one, it won't be totally backwards compatible with everything that is online.

Member

evancz commented Feb 20, 2015

To clarify, the compiler has some changes, so if you have literally the latest one, it won't be totally backwards compatible with everything that is online.

@justinmanley

This comment has been minimized.

Show comment
Hide comment
@justinmanley

justinmanley Feb 20, 2015

Thanks - I was able to build the latest stable release from source successfully.

justinmanley commented Feb 20, 2015

Thanks - I was able to build the latest stable release from source successfully.

@evancz

This comment has been minimized.

Show comment
Hide comment
@evancz

evancz Feb 21, 2015

Member

Great, glad it got worked out!

Member

evancz commented Feb 21, 2015

Great, glad it got worked out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment