commercialhaskell / stack-ide

Stack-based JSON interface to ide-backend
98 stars 23 forks source link

Build failure (OS X) #60

Closed ghost closed 9 years ago

ghost commented 9 years ago

Stack Version 0.1.3.1 on OS X installed via nix.

    src/Data/Trie/ByteStringInternal.hs:68:19: Warning:
        In the use of ‘inlinePerformIO’
        (imported from Data.ByteString.Internal):
        Deprecated: "If you think you know what you are doing, use 'unsafePerformIO'. If you are sure you know what you are doing, use 'unsafeDupablePerformIO'. If you enjoy sharing an address space with a malevolent agent of chaos, try 'accursedUnutterablePerformIO'."

    src/Data/Trie/ByteStringInternal.hs:87:51: Warning:
        In the use of ‘inlinePerformIO’
        (imported from Data.ByteString.Internal):
        Deprecated: "If you think you know what you are doing, use 'unsafePerformIO'. If you are sure you know what you are doing, use 'unsafeDupablePerformIO'. If you enjoy sharing an address space with a malevolent agent of chaos, try 'accursedUnutterablePerformIO'."
    [2 of 6] Compiling Data.Trie.BitTwiddle ( src/Data/Trie/BitTwiddle.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/Data/Trie/BitTwiddle.o )
    [3 of 6] Compiling Data.Trie.Errors ( src/Data/Trie/Errors.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/Data/Trie/Errors.o )
    [4 of 6] Compiling Data.Trie.Internal ( src/Data/Trie/Internal.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/Data/Trie/Internal.o )
    [5 of 6] Compiling Data.Trie        ( src/Data/Trie.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/Data/Trie.o )
    [6 of 6] Compiling Data.Trie.Convenience ( src/Data/Trie/Convenience.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/Data/Trie/Convenience.o )
    ld: library not found for -lSystem
    clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)

--  While building package ansi-terminal-0.6.2.1 using:
      /Users/uri/.nix-profile/bin/runhaskell -package=Cabal-1.22.4.0 -clear-package-db -global-package-db -package-db=/Users/uri/.stack/snapshots/x86_64-osx/nightly-2015-08-06/7.10.2/pkgdb/ /var/folders/3l/zzbn3__n2dqd_hq1dj9tz5rw0000gn/T/stack51462/Setup.hs --builddir=.stack-work/dist/x86_64-osx/Cabal-1.22.4.0/ build --ghc-options -hpcdir .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/hpc/.hpc/ -ddump-hi -ddump-to-file
    Process exited with code: ExitFailure 1
    Logs have been written to: /Users/uri/src/stack-ide/.stack-work/logs/ansi-terminal-0.6.2.1.log

    Configuring ansi-terminal-0.6.2.1...
    Building ansi-terminal-0.6.2.1...
    Preprocessing library ansi-terminal-0.6.2.1...
    [1 of 3] Compiling System.Console.ANSI.Common ( System/Console/ANSI/Common.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/System/Console/ANSI/Common.o )
    [2 of 3] Compiling System.Console.ANSI.Unix ( System/Console/ANSI/Unix.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/System/Console/ANSI/Unix.o )

    includes/Common-Include.hs:2:1: Warning:
        The import of ‘Control.Applicative’ is redundant
          except perhaps to import instances from ‘Control.Applicative’
        To import instances alone, use: import Control.Applicative()
    [3 of 3] Compiling System.Console.ANSI ( System/Console/ANSI.hs, .stack-work/dist/x86_64-osx/Cabal-1.22.4.0/build/System/Console/ANSI.o )
    ld: library not found for -lSystem
    clang-3.6: error: linker command failed with exit code 1 (use -v to see invocation)
ghost commented 9 years ago

Installation issue.