Is there any reason why you are trying to install rather than do a build? <div><br></div><div>Regards, <br><br><div class="gmail_quote"><div dir="ltr">On Mon, Feb 5, 2018, 1:54 AM Yotam Ohad <<a href="mailto:yotam2206@gmail.com">yotam2206@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl"><div dir="ltr">Hi,<br></div><div dir="ltr">I'm trying to install yesod using stack and lts-10.4, but I get the following result:<br><span style="font-family:monospace,monospace">stack install yesod<br>aeson-1.2.3.0: configure<br>aeson-1.2.3.0: build<br>Progress: 1/26<br>--  While building custom Setup.hs for package aeson-1.2.3.0 using:<br>      /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"<br>    Process exited with code: ExitFailure 1<br>    Logs have been written to: /home/yotam/TheMafsidan/.stack-work/logs/aeson-1.2.3.0.log<br><br>    Configuring aeson-1.2.3.0...<br>    Preprocessing library for aeson-1.2.3.0..<br>    Building library for aeson-1.2.3.0..<br>    [ 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 )<br>    [ 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 )<br>    [ 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 )<br>    [ 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 )<br>    [ 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 )<br>    [ 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 )<br>    [ 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 )<br>    [ 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 )<br>    [ 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 )<br>    [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 )<br>    [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 )<br>    [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 )<br>    <br>    /tmp/stack15763/aeson-1.2.3.0/Data/Aeson/Types/FromJSON.hs:108:1: error:<br>        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<br>            Data.Binary.getPrim: end of file<br>        |<br>    108 | import Data.Time.Locale.Compat (defaultTimeLocale)<br>        | ^^</span><br><br></div><div dir="ltr">Is this a matter of just waiting for packages to update to 8.2.2 or is it something I can change myself?<br><br></div><div dir="ltr">Yotam<br></div></div>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div></div>