[GHC] #10559: the 'impossible' happened while building stack
GHC
ghc-devs at haskell.org
Mon Jun 22 05:43:35 UTC 2015
#10559: the 'impossible' happened while building stack
-------------------------------------+-------------------------------------
Reporter: barnaby | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple | Blocked By:
Test Case: | Related Tickets:
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
I ran stack update; stack install stack:latest
It errored out and told me to mail you ..
....
stack-0.0.3: build
Completed all 122 actions.
-- While building package stack-0.0.3 using:
/Users/test/.stack/programs/x86_64-osx/ghc-7.10.1/bin/runhaskell
-package=Cabal-1.22.2.0 -clear-package-db -global-package-db -package-
db=/Users/test/.stack/snapshots/x86_64-osx/nightly-2015-06-21/7.10.1/pkgdb/
/var/folders/gj/0zl8brn57zsb78slcjmjywrw0000gn/T/stack14231/stack-0.0.3/Setup.hs
--builddir=.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/ build
Process exited with code: ExitFailure 1
Logs have been written to: "/private/var/tmp/haskell/Moodler/Moodler
/.stack-work/logs/stack-0.0.3.log"
Configuring stack-0.0.3...
Building stack-0.0.3...
Preprocessing library stack-0.0.3...
[ 1 of 53] Compiling Data.Set.Monad ( src/Data/Set/Monad.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Data/Set/Monad.o )
[ 2 of 53] Compiling Network.HTTP.Download.Verified (
src/Network/HTTP/Download/Verified.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Network/HTTP/Download/Verified.o
)
[ 3 of 53] Compiling System.Process.Log ( src/System/Process/Log.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/System/Process/Log.o )
[ 4 of 53] Compiling Data.Attoparsec.Combinators (
src/Data/Attoparsec/Combinators.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Data/Attoparsec/Combinators.o )
[ 5 of 53] Compiling Data.Maybe.Extra ( src/Data/Maybe/Extra.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/Data/Maybe/Extra.o )
[ 6 of 53] Compiling Stack.New ( src/Stack/New.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/New.o )
[ 7 of 53] Compiling System.Process.PagerEditor (
src/System/Process/PagerEditor.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/System/Process/PagerEditor.o )
[ 8 of 53] Compiling System.Process.Read ( src/System/Process/Read.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/System/Process/Read.o )
[ 9 of 53] Compiling System.Process.Run ( src/System/Process/Run.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/System/Process/Run.o )
[10 of 53] Compiling Paths_stack ( .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/autogen/Paths_stack.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Paths_stack.o )
[11 of 53] Compiling Path.IO ( src/Path/IO.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Path/IO.o )
[12 of 53] Compiling Path.Find ( src/Path/Find.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Path/Find.o )
[13 of 53] Compiling Data.Aeson.Extended ( src/Data/Aeson/Extended.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/Data/Aeson/Extended.o )
[14 of 53] Compiling Network.HTTP.Download (
src/Network/HTTP/Download.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Network/HTTP/Download.o )
[15 of 53] Compiling Stack.Types.PackageName (
src/Stack/Types/PackageName.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Types/PackageName.o )
[16 of 53] Compiling Stack.Types.Docker ( src/Stack/Types/Docker.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Types/Docker.o )
[17 of 53] Compiling Stack.Types.FlagName (
src/Stack/Types/FlagName.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Types/FlagName.o )
[18 of 53] Compiling Stack.Types.Version ( src/Stack/Types/Version.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Types/Version.o )
[19 of 53] Compiling Data.Binary.VersionTagged (
src/Data/Binary/VersionTagged.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Data/Binary/VersionTagged.o )
[20 of 53] Compiling Stack.Types.PackageIdentifier (
src/Stack/Types/PackageIdentifier.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Types/PackageIdentifier.o
)
[21 of 53] Compiling Stack.Types.GhcPkgId (
src/Stack/Types/GhcPkgId.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Types/GhcPkgId.o )
[22 of 53] Compiling Stack.Types.BuildPlan (
src/Stack/Types/BuildPlan.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Types/BuildPlan.o )
[23 of 53] Compiling Stack.Types.Config ( src/Stack/Types/Config.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Types/Config.o )
src/Stack/Types/Config.hs:12:1: Warning:
The import of ‘<*>, pure, <$>’
from module ‘Control.Applicative’ is redundant
[24 of 53] Compiling Stack.Constants ( src/Stack/Constants.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Constants.o )
[25 of 53] Compiling Stack.Types ( src/Stack/Types.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Types.o )
[26 of 53] Compiling Stack.Package ( src/Stack/Package.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Package.o )
[27 of 53] Compiling Stack.Exec ( src/Stack/Exec.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Exec.o )
[28 of 53] Compiling Stack.Build.Types ( src/Stack/Build/Types.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Build/Types.o )
[29 of 53] Compiling Stack.GhcPkg ( src/Stack/GhcPkg.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/GhcPkg.o )
[30 of 53] Compiling Stack.PackageDump ( src/Stack/PackageDump.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/PackageDump.o )
src/Stack/PackageDump.hs:316:22: Warning:
In the use of ‘S.breakByte’ (imported from Data.ByteString):
Deprecated: "It is an internal function and should never have been
exported. Use 'break (== x)' instead. (There are rewrite rules that handle
this special case of 'break'.)"
[31 of 53] Compiling Stack.Path ( src/Stack/Path.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Path.o )
[32 of 53] Compiling Stack.Build.Cache ( src/Stack/Build/Cache.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Build/Cache.o )
[33 of 53] Compiling Control.Concurrent.Execute (
src/Control/Concurrent/Execute.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Control/Concurrent/Execute.o )
[34 of 53] Compiling Stack.Build.Doc ( src/Stack/Build/Doc.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Build/Doc.o )
[35 of 53] Compiling Stack.Upload ( src/Stack/Upload.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Upload.o )
src/Stack/Upload.hs:29: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()
[36 of 53] Compiling Stack.Docker.GlobalDB (
src/Stack/Docker/GlobalDB.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Docker/GlobalDB.o )
[37 of 53] Compiling Stack.Types.Internal (
src/Stack/Types/Internal.hs, .stack-
work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Types/Internal.o )
[38 of 53] Compiling Stack.Types.StackT ( src/Stack/Types/StackT.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/Types/StackT.o )
[39 of 53] Compiling Stack.PackageIndex ( src/Stack/PackageIndex.hs,
.stack-work/dist/x86_64-osx/Cabal-1.22.2.0/build/Stack/PackageIndex.o )
ghc: panic! (the 'impossible' happened)
(GHC version 7.10.1 for x86_64-apple-darwin):
Loading temp shared object failed:
dlopen(/var/folders/gj/0zl8brn57zsb78slcjmjywrw0000gn/T/ghc27479_0/libghc27479_197.dylib,
5): Symbol not found:
_stackzu7QSuU95iv0I3hQSByROmsn_SystemziProcessziLog_showProcessArgDebug_closure
Referenced from:
/var/folders/gj/0zl8brn57zsb78slcjmjywrw0000gn/T/ghc27479_0/libghc27479_197.dylib
Expected in: flat namespace
in
/var/folders/gj/0zl8brn57zsb78slcjmjywrw0000gn/T/ghc27479_0/libghc27479_197.dylib
Please report this as a GHC bug:
http://www.haskell.org/ghc/reportabug
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10559>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list