Skip to content

can not build transient-universe on mac os x #23

@deem0n

Description

@deem0n

on a clean system I can build with stack install transient-universe
on a clean system stack install axiom fails
after it fail I can not successfully run stack install transient-universe anymore, see the same error:

    /private/var/folders/jn/q10st3jd7ngb24nckb0cv49r0000gn/T/stack60149/transient-universe-0.4.6.1/tests/TestSuite.hs:84:35: error:
        Variable not in scope: shouldRun :: Node -> Cloud a0
       |
    84 |                   >> runAt node1 (shouldRun (node1)
       |

lts-11.7
ghc-8.2.2
mac os x 10.13.4
Darwin Kernel Version 17.5.0

log on a clean system (empty ~/.stack)

stack install axiom

deem0n$ stack install axiom
network-2.6.3.5: configure
async-2.1.1.1: download
stringsearch-0.3.6.6: download
text-1.2.3.0: download
atomic-primops-0.8.2: download
vector-0.12.0.1: download
ghcjs-perch-0.3.3.2: download
network-2.6.3.5: build
Cabal-2.0.1.1: configure
Cabal-2.0.1.1: build
async-2.1.1.1: configure
async-2.1.1.1: build
stringsearch-0.3.6.6: configure
stringsearch-0.3.6.6: build
atomic-primops-0.8.2: configure
atomic-primops-0.8.2: build
ghcjs-perch-0.3.3.2: configure
async-2.1.1.1: copy/register
zlib-0.6.2: download
ghcjs-perch-0.3.3.2: build
text-1.2.3.0: configure
atomic-primops-0.8.2: copy/register
transient-0.5.9.2: download
text-1.2.3.0: build
vector-0.12.0.1: configure
ghcjs-perch-0.3.3.2: copy/register
vector-0.12.0.1: build
zlib-0.6.2: configure
zlib-0.6.2: build
transient-0.5.9.2: configure
transient-0.5.9.2: build
network-2.6.3.5: copy/register
iproute-1.7.4: download
iproute-1.7.4: configure
iproute-1.7.4: build
stringsearch-0.3.6.6: copy/register
zlib-0.6.2: copy/register
transient-0.5.9.2: copy/register
iproute-1.7.4: copy/register
text-1.2.3.0: copy/register
blaze-builder-0.4.1.0: download
hashable-1.2.7.0: download
parsec-3.1.13.0: download
hashable-1.2.7.0: configure
hashable-1.2.7.0: build
parsec-3.1.13.0: configure
parsec-3.1.13.0: build
blaze-builder-0.4.1.0: configure
blaze-builder-0.4.1.0: build
hashable-1.2.7.0: copy/register
scientific-0.3.5.3: download
scientific-0.3.5.3: configure
case-insensitive-1.2.0.11: download
scientific-0.3.5.3: build
case-insensitive-1.2.0.11: configure
case-insensitive-1.2.0.11: build
blaze-builder-0.4.1.0: copy/register
streaming-commons-0.1.19: download
streaming-commons-0.1.19: configure
case-insensitive-1.2.0.11: copy/register
streaming-commons-0.1.19: build
parsec-3.1.13.0: copy/register
scientific-0.3.5.3: copy/register
network-uri-2.6.1.0: download
network-uri-2.6.1.0: configure
attoparsec-0.13.2.2: download
network-uri-2.6.1.0: build
attoparsec-0.13.2.2: configure
attoparsec-0.13.2.2: build
vector-0.12.0.1: copy/register
hashtables-1.2.3.0: download
hashtables-1.2.3.0: configure
hashtables-1.2.3.0: build
streaming-commons-0.1.19: copy/register
network-uri-2.6.1.0: copy/register
HTTP-4000.3.11: download
HTTP-4000.3.11: configure
HTTP-4000.3.11: build
hashtables-1.2.3.0: copy/register
RefSerialize-0.4.0: download
RefSerialize-0.4.0: configure
HTTP-4000.3.11: copy/register
RefSerialize-0.4.0: build
RefSerialize-0.4.0: copy/register
TCache-0.12.1: download
TCache-0.12.1: configure
TCache-0.12.1: build
TCache-0.12.1: copy/register
attoparsec-0.13.2.2: copy/register
Cabal-2.0.1.1: copy/register
entropy-0.3.8: download
entropy-0.3.8: configure
entropy-0.3.8: build
entropy-0.3.8: copy/register
websockets-0.12.4.0: download
websockets-0.12.4.0: configure
websockets-0.12.4.0: build
websockets-0.12.4.0: copy/register
transient-universe-0.4.6.1: download
transient-universe-0.4.6.1: configure
transient-universe-0.4.6.1: build
Progress 26/27

--  While building custom Setup.hs for package transient-universe-0.4.6.1 using:
      /Users/deem0n/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-2.0.1.0 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always"
    Process exited with code: ExitFailure 1
    Logs have been written to: /Users/deem0n/.stack/global-project/.stack-work/logs/transient-universe-0.4.6.1.log

    Configuring transient-universe-0.4.6.1...
    clang: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
    Preprocessing library for transient-universe-0.4.6.1..
    Building library for transient-universe-0.4.6.1..
    [1 of 5] Compiling Transient.Move.Internals ( src/Transient/Move/Internals.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Transient/Move/Internals.o )
    [2 of 5] Compiling Transient.Move   ( src/Transient/Move.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Transient/Move.o )
    [3 of 5] Compiling Transient.MapReduce ( src/Transient/MapReduce.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Transient/MapReduce.o )
    [4 of 5] Compiling Transient.Move.Utils ( src/Transient/Move/Utils.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Transient/Move/Utils.o )
    [5 of 5] Compiling Transient.Move.Services ( src/Transient/Move/Services.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/Transient/Move/Services.o )
    Preprocessing executable 'monitorService' for transient-universe-0.4.6.1..
    Building executable 'monitorService' for transient-universe-0.4.6.1..
    [1 of 1] Compiling Main             ( app/server/Transient/Move/Services/MonitorService.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/monitorService/monitorService-tmp/Main.o )
    Linking .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/monitorService/monitorService ...
    clang: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
    clang: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
    Preprocessing executable 'test-transient1' for transient-universe-0.4.6.1..
    Building executable 'test-transient1' for transient-universe-0.4.6.1..

    <no location info>: warning: [-Wmissing-home-modules]
        These modules are needed for compilation but not listed in your .cabal file's other-modules: Transient.MapReduce
                                                                                                     Transient.Move
                                                                                                     Transient.Move.Internals
                                                                                                     Transient.Move.Services
                                                                                                     Transient.Move.Utils
    [1 of 6] Compiling Transient.Move.Internals ( src/Transient/Move/Internals.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/test-transient1/test-transient1-tmp/Transient/Move/Internals.o )
    [2 of 6] Compiling Transient.Move   ( src/Transient/Move.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/test-transient1/test-transient1-tmp/Transient/Move.o )
    [3 of 6] Compiling Transient.MapReduce ( src/Transient/MapReduce.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/test-transient1/test-transient1-tmp/Transient/MapReduce.o )
    [4 of 6] Compiling Transient.Move.Utils ( src/Transient/Move/Utils.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/test-transient1/test-transient1-tmp/Transient/Move/Utils.o )
    [5 of 6] Compiling Transient.Move.Services ( src/Transient/Move/Services.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/test-transient1/test-transient1-tmp/Transient/Move/Services.o )
    [6 of 6] Compiling Main             ( tests/TestSuite.hs, .stack-work/dist/x86_64-osx/Cabal-2.0.1.0/build/test-transient1/test-transient1-tmp/Main.o )

    /private/var/folders/jn/q10st3jd7ngb24nckb0cv49r0000gn/T/stack46999/transient-universe-0.4.6.1/tests/TestSuite.hs:84:35: error:
        Variable not in scope: shouldRun :: Node -> Cloud a0
       |
    84 |                   >> runAt node1 (shouldRun (node1)
       |                                   ^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions