0

GHC panics when building yesod-auth-1.4.13.2

On MacOs Sierra version 10.12.1, XCode version 8.1:

cabal install yesod

...

Failed to install yesod-auth-1.4.13.2

Build log ( /Users/andriusm/.cabal/logs/yesod-auth-1.4.13.2.log ):

Configuring yesod-auth-1.4.13.2...

Building yesod-auth-1.4.13.2...

Preprocessing library yesod-auth-1.4.13.2...

[ 1 of 12] Compiling Yesod.PasswordStore ( Yesod/PasswordStore.hs, dist/build/Yesod/PasswordStore.dyn_o )

 

Yesod/PasswordStore.hs:166:31: Warning:

    Defaulting the following constraint(s) to type ‘Integer’

      (Integral b0)

        arising from a use of ‘^’ at Yesod/PasswordStore.hs:166:31

      (Num b0)

        arising from the literal ‘32’ at Yesod/PasswordStore.hs:166:32-33

    In the first argument of ‘(-)’, namely ‘2 ^ 32’

    In the first argument of ‘(*)’, namely ‘(2 ^ 32 - 1)’

    In the second argument of ‘(>)’, namely ‘(2 ^ 32 - 1) * hLen’

 

Yesod/PasswordStore.hs:419:1: Warning:

    Defined but not used: ‘toStrict’

 

Yesod/PasswordStore.hs:422:1: Warning:

    Defined but not used: ‘fromStrict’

[ 2 of 12] Compiling Yesod.Auth.Message ( Yesod/Auth/Message.hs, dist/build/Yesod/Auth/Message.dyn_o )

 

Yesod/Auth/Message.hs:23:1: Warning:

    The import of ‘mappend’ from module ‘Data.Monoid’ is redundant

 

Yesod/Auth/Message.hs:698:1: Warning:

    Defined but not used: ‘croatianMessage’

 

Yesod/Auth/Message.hs:459:1: Warning:

    Pattern match(es) are overlapped

    In an equation for ‘finnishMessage’: finnishMessage Password = ...

 

Yesod/Auth/Message.hs:459:1: Warning:

    Pattern match(es) are non-exhaustive

    In an equation for ‘finnishMessage’:

        Patterns not matched: CurrentPassword

[ 3 of 12] Compiling Yesod.Auth.Routes ( Yesod/Auth/Routes.hs, dist/build/Yesod/Auth/Routes.dyn_o )

[ 4 of 12] Compiling Yesod.Auth       ( Yesod/Auth.hs, dist/build/Yesod/Auth.dyn_o )

ghc: panic! (the 'impossible' happened)

  (GHC version 7.10.3 for x86_64-apple-darwin):

Loading temp shared object failed: dlopen(/var/folders/40/5tyzcx2s1h77jgncprg4zn6w0000gn/T/ghc32300_0/libghc_15.dylib, 5): no suitable image found.  Did find:

/var/folders/40/5tyzcx2s1h77jgncprg4zn6w0000gn/T/ghc32300_0/libghc_15.dylib: malformed mach-o: load commands size (36416) > 32768

 

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 

2 comments

Please sign in to leave a comment.