HeinrichApfelmus / hyper-haskell

The strongly hyped Haskell interpreter.
Other
363 stars 24 forks source link

stack build fails in OS X 10.11.4, stack 1.1.2 #1

Closed homam closed 8 years ago

homam commented 8 years ago
$ stack --stack-yaml=haskell/stack.yaml build

Fails with this error:

...
aeson-0.9.0.1: configure
aeson-0.9.0.1: build
wai-logger-2.2.5: copy/register
http-date-0.0.6.1: copy/register
aeson-0.9.0.1: copy/register
Progress: 5/29'cabal copy' failed.  Error message:

--  While building package hyper-0.1.0.0 using:
      /Users/homam/.stack/setup-exe-cache/x86_64-osx/setup-Simple-Cabal-1.22.5.0-ghc-7.10.3 --builddir=.stack-work/dist/x86_64-osx/Cabal-1.22.5.0 copy
    Process exited with code: ExitFailure 1
    Logs have been written to: /Users/homam/dev/haskell/hyper-haskell/haskell/.stack-work/logs/hyper-0.1.0.0.log

    Configuring hyper-0.1.0.0...
    Warning: The 'license-file' field refers to the file 'LICENSE' which does not
    exist.
    Preprocessing library hyper-0.1.0.0...

    src/Hyper/Internal.hs:1:33: Warning:
        -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS
    In-place registering hyper-0.1.0.0...
    setup-Simple-Cabal-1.22.5.0-ghc-7.10.3: LICENSE: does not exist

One possible cause of this issue is:
* No module named "Main". The 'main-is' source file should usually have a header indicating that it's a 'Main' module.

Stack version: Version 1.1.2 x86_64 hpack-0.14.0

HeinrichApfelmus commented 8 years ago

I don't quite understand what's going on, but I've fixed some of the warning / error messages. Please try again with commit d4c639d5c647cee516db6a8dd3abe65a17355314 . Does that help?

homam commented 8 years ago

Yeah, that fixed it.