[Haskell-cafe] Yesod with lts-10.4

Yotam Ohad yotam2206 at gmail.com
Sun Feb 4 20:20:38 UTC 2018


Hi,
I'm trying to install yesod using stack and lts-10.4, but I get the
following result:
stack install yesod
aeson-1.2.3.0: configure
aeson-1.2.3.0: build
Progress: 1/26
--  While building custom Setup.hs for package aeson-1.2.3.0 using:

/home/yotam/.stack/setup-exe-cache/i386-linux-nopie/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2
--builddir=.stack-work/dist/i386-linux-nopie/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:
/home/yotam/TheMafsidan/.stack-work/logs/aeson-1.2.3.0.log

    Configuring aeson-1.2.3.0...
    Preprocessing library for aeson-1.2.3.0..
    Building library for aeson-1.2.3.0..
    [ 1 of 24] Compiling Data.Aeson.Compat ( Data/Aeson/Compat.hs,
.stack-work/dist/i386-linux-nopie/Cabal-2.0.1.0/build/Data/Aeson/Compat.o )
    [ 2 of 24] Compiling Data.Aeson.Internal.Functions (
Data/Aeson/Internal/Functions.hs,
.stack-work/dist/i386-linux-nopie/Cabal-2.0.1.0/build/Data/Aeson/Internal/Functions.o
)
    [ 3 of 24] Compiling Data.Aeson.Parser.UnescapePure (
pure/Data/Aeson/Parser/UnescapePure.hs,
.stack-work/dist/i386-linux-nopie/Cabal-2.0.1.0/build/Data/Aeson/Parser/UnescapePure.o
)
    [ 4 of 24] Compiling Data.Aeson.Parser.Unescape (
Data/Aeson/Parser/Unescape.hs,
.stack-work/dist/i386-linux-nopie/Cabal-2.0.1.0/build/Data/Aeson/Parser/Unescape.o
)
    [ 5 of 24] Compiling Data.Aeson.Types.Generic (
Data/Aeson/Types/Generic.hs,
.stack-work/dist/i386-linux-nopie/Cabal-2.0.1.0/build/Data/Aeson/Types/Generic.o
)
    [ 6 of 24] Compiling Data.Aeson.Types.Internal (
Data/Aeson/Types/Internal.hs,
.stack-work/dist/i386-linux-nopie/Cabal-2.0.1.0/build/Data/Aeson/Types/Internal.o
)
    [ 7 of 24] Compiling Data.Aeson.Parser.Internal (
Data/Aeson/Parser/Internal.hs,
.stack-work/dist/i386-linux-nopie/Cabal-2.0.1.0/build/Data/Aeson/Parser/Internal.o
)
    [ 8 of 24] Compiling Data.Aeson.Parser ( Data/Aeson/Parser.hs,
.stack-work/dist/i386-linux-nopie/Cabal-2.0.1.0/build/Data/Aeson/Parser.o )
    [ 9 of 24] Compiling Data.Attoparsec.Time.Internal (
attoparsec-iso8601/Data/Attoparsec/Time/Internal.hs,
.stack-work/dist/i386-linux-nopie/Cabal-2.0.1.0/build/Data/Attoparsec/Time/Internal.o
)
    [10 of 24] Compiling Data.Attoparsec.Time (
attoparsec-iso8601/Data/Attoparsec/Time.hs,
.stack-work/dist/i386-linux-nopie/Cabal-2.0.1.0/build/Data/Attoparsec/Time.o
)
    [11 of 24] Compiling Data.Aeson.Parser.Time (
Data/Aeson/Parser/Time.hs,
.stack-work/dist/i386-linux-nopie/Cabal-2.0.1.0/build/Data/Aeson/Parser/Time.o
)
    [12 of 24] Compiling Data.Aeson.Types.FromJSON (
Data/Aeson/Types/FromJSON.hs,
.stack-work/dist/i386-linux-nopie/Cabal-2.0.1.0/build/Data/Aeson/Types/FromJSON.o
)

    /tmp/stack15763/aeson-1.2.3.0/Data/Aeson/Types/FromJSON.hs:108:1: error:
        Bad interface file:
/home/yotam/.stack/snapshots/i386-linux-nopie/lts-10.4/8.2.2/lib/i386-linux-ghc-8.2.2/time-locale-compat-0.1.1.3-EeYCrKbfyeWLGJYmfXhrGy/Data/Time/Locale/Compat.hi
            Data.Binary.getPrim: end of file
        |
    108 | import Data.Time.Locale.Compat (defaultTimeLocale)
        | ^^

Is this a matter of just waiting for packages to update to 8.2.2 or is it
something I can change myself?

Yotam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180204/6eefe664/attachment.html>


More information about the Haskell-Cafe mailing list