Skip to content
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

stack test fails during compilation #67

Open
zort opened this issue Aug 13, 2016 · 0 comments
Open

stack test fails during compilation #67

zort opened this issue Aug 13, 2016 · 0 comments

Comments

@zort
Copy link

zort commented Aug 13, 2016

I'm using Stack Version 1.1.2 (Git revision c6dac65e3174dea79df54ce6d56f3e98bc060ecc (3647 commits) x86_64 hpack-0.14.0) on Windows 7.

This is to do with unix-compat, but I don't understand anything beyond that.

Steps:

  1. git clone --recursive https://github.com/fpco/store.git
  2. stack test

Output:

$ stack test
store-0.2.1.0: unregistering (missing dependencies: cereal, cereal-vector, criterion, vector-binary-instances, weigh)
abstract-par-0.3.3: using precompiled package
abstract-deque-0.3: using precompiled package
ansi-wl-pprint-0.6.7.3: using precompiled package
Glob-0.7.5: download
cereal-0.5.1.0: using precompiled package
erf-2.0.0.0: using precompiled package
Glob-0.7.5: configure
ieee754-0.7.8: using precompiled package
Glob-0.7.5: build
blaze-builder-0.4.0.1: configure
blaze-builder-0.4.0.1: build
cereal-vector-0.2.0.1: configure
cereal-vector-0.2.0.1: build
monad-par-extras-0.3.3: configure
Glob-0.7.5: copy/register
monad-par-extras-0.3.3: build
optparse-applicative-0.12.1.0: using precompiled package
parallel-3.2.1.0: using precompiled package
cereal-vector-0.2.0.1: copy/register
parsec-3.1.9: configure
blaze-builder-0.4.0.1: copy/register
monad-par-extras-0.3.3: copy/register
parsec-3.1.9: build
scientific-0.3.4.6: configure
monad-par-0.3.4.7: download
hastache-0.6.1: configure
scientific-0.3.4.6: build
hastache-0.6.1: build
monad-par-0.3.4.7: configure
monad-par-0.3.4.7: build
scientific-0.3.4.6: copy/register
attoparsec-0.13.0.1: configure
monad-par-0.3.4.7: copy/register
attoparsec-0.13.0.1: build
vector-binary-instances-0.2.3.1: download
vector-binary-instances-0.2.3.1: configure
parsec-3.1.9: copy/register
vector-binary-instances-0.2.3.1: build
vector-th-unbox-0.2.1.4: download
vector-th-unbox-0.2.1.4: configure
vector-th-unbox-0.2.1.4: build
vector-binary-instances-0.2.3.1: copy/register
weigh-0.0.1: configure
vector-th-unbox-0.2.1.4: copy/register
math-functions-0.1.5.2: download
weigh-0.0.1: build
math-functions-0.1.5.2: configure
hastache-0.6.1: copy/register
math-functions-0.1.5.2: build
weigh-0.0.1: copy/register
math-functions-0.1.5.2: copy/register
attoparsec-0.13.0.1: copy/register
cassava-0.4.5.0: configure
cassava-0.4.5.0: build
aeson-0.9.0.1: configure
aeson-0.9.0.1: build
cassava-0.4.5.0: copy/register
aeson-0.9.0.1: copy/register
statistics-0.13.2.3: download
statistics-0.13.2.3: configure
statistics-0.13.2.3: build
statistics-0.13.2.3: copy/register
criterion-1.1.1.0: configure
criterion-1.1.1.0: build
criterion-1.1.1.0: copy/register
store-0.2.1.0: configure (lib + test)
store-0.2.1.0: build (lib + test)

--  While building package store-0.2.1.0 using:
      C:\Users\Eitan\AppData\Roaming\stack\setup-exe-cache\x86_64-windows\setup-Simple-Cabal-1.22.5.0-ghc-7.10.3.exe --builddir=.stack-work\dist\2672c1f3 build lib:store test:store-test test:store-weigh --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1
    Logs have been written to: C:\cygwin64\home\Eitan\store\.stack-work\logs\store-0.2.1.0.log

    Configuring store-0.2.1.0...
    Preprocessing library store-0.2.1.0...
    [ 1 of 10] Compiling System.IO.ByteBuffer ( src\System\IO\ByteBuffer.hs, .stack-work\dist\2672c1f3\build\System\IO\ByteBuffer.o )
    [ 2 of 10] Compiling Data.Store.Impl  ( src\Data\Store\Impl.hs, .stack-work\dist\2672c1f3\build\Data\Store\Impl.o )
    [ 3 of 10] Compiling Data.Store.TH    ( src\Data\Store\TH.hs, .stack-work\dist\2672c1f3\build\Data\Store\TH.o )
    [ 4 of 10] Compiling Data.Store.TH.Internal ( src\Data\Store\TH\Internal.hs, .stack-work\dist\2672c1f3\build\Data\Store\TH\Internal.o )
    [ 5 of 10] Compiling Data.Store.Internal ( src\Data\Store\Internal.hs, .stack-work\dist\2672c1f3\build\Data\Store\Internal.o )
    [ 6 of 10] Compiling Data.Store.Version ( src\Data\Store\Version.hs, .stack-work\dist\2672c1f3\build\Data\Store\Version.o )
    [ 7 of 10] Compiling Data.Store       ( src\Data\Store.hs, .stack-work\dist\2672c1f3\build\Data\Store.o )
    [ 8 of 10] Compiling Data.Store.Streaming ( src\Data\Store\Streaming.hs, .stack-work\dist\2672c1f3\build\Data\Store\Streaming.o )
    [ 9 of 10] Compiling Data.Store.TypeHash.Internal ( src\Data\Store\TypeHash\Internal.hs, .stack-work\dist\2672c1f3\build\Data\Store\TypeHash\Internal.o )
    [10 of 10] Compiling Data.Store.TypeHash ( src\Data\Store\TypeHash.hs, .stack-work\dist\2672c1f3\build\Data\Store\TypeHash.o )
    In-place registering store-0.2.1.0...
    Preprocessing test suite 'store-test' for store-0.2.1.0...
    [1 of 5] Compiling Data.StoreSpec.TH ( test\Data\StoreSpec\TH.hs, .stack-work\dist\2672c1f3\build\store-test\store-test-tmp\Data\StoreSpec\TH.o )
    [2 of 5] Compiling System.IO.ByteBufferSpec ( test\System\IO\ByteBufferSpec.hs, .stack-work\dist\2672c1f3\build\store-test\store-test-tmp\System\IO\ByteBufferSpec.o )
    [3 of 5] Compiling Data.Store.StreamingSpec ( test\Data\Store\StreamingSpec.hs, .stack-work\dist\2672c1f3\build\store-test\store-test-tmp\Data\Store\StreamingSpec.o )
    [4 of 5] Compiling Data.StoreSpec   ( test\Data\StoreSpec.hs, .stack-work\dist\2672c1f3\build\store-test\store-test-tmp\Data\StoreSpec.o )

    C:\cygwin64\home\Eitan\store\test\Data\StoreSpec.hs:85:27:
        Not in scope: type constructor or class `CUid'
        Perhaps you meant `CPid' (imported from System.Posix.Types)
        In the Template Haskell quotation ''CUid

    C:\cygwin64\home\Eitan\store\test\Data\StoreSpec.hs:87:43:
        Not in scope: type constructor or class `CTcflag'
        In the Template Haskell quotation ''CTcflag

    C:\cygwin64\home\Eitan\store\test\Data\StoreSpec.hs:87:64:
        Not in scope: type constructor or class `CRLim'
        In the Template Haskell quotation ''CRLim

    C:\cygwin64\home\Eitan\store\test\Data\StoreSpec.hs:88:25:
        Not in scope: type constructor or class `CNlink'
        In the Template Haskell quotation ''CNlink

    C:\cygwin64\home\Eitan\store\test\Data\StoreSpec.hs:88:52:
        Not in scope: type constructor or class `CGid'
        Perhaps you meant `CPid' (imported from System.Posix.Types)
        In the Template Haskell quotation ''CGid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant