[GHC] #14466: Error while installing codeworld-api
GHC
ghc-devs at haskell.org
Tue Nov 14 23:55:00 UTC 2017
#14466: Error while installing codeworld-api
-------------------------------------+-------------------------------------
Reporter: Zalathorm | Owner: (none)
Type: bug | Status: infoneeded
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):
* status: new => infoneeded
Old description:
> C:\Users\****>cabal install codeworld-api
> Resolving dependencies...
> Configuring codeworld-api-0.2.1.0...
> Building codeworld-api-0.2.1.0...
> Failed to install codeworld-api-0.2.1.0
> Build log ( C:\Users\****\AppData\Roaming\cabal\logs\ghc-8.2.1\codeworld-
> api-0.2.1.0-FP1wjOCq6YC5GIs4ve2sRp.log ):
> Preprocessing library for codeworld-api-0.2.1.0..
> Building library for codeworld-api-0.2.1.0..
> [1 of 6] Compiling CodeWorld.Color ( src\CodeWorld\Color.hs,
> dist\build\CodeWorld\Color.o )
> [2 of 6] Compiling CodeWorld.Picture ( src\CodeWorld\Picture.hs,
> dist\build\CodeWorld\Picture.o )
> [3 of 6] Compiling CodeWorld.Event ( src\CodeWorld\Event.hs,
> dist\build\CodeWorld\Event.o )
> [4 of 6] Compiling CodeWorld.CollaborationUI (
> src\CodeWorld\CollaborationUI.hs, dist\build\CodeWorld\CollaborationUI.o
> )
> ghc.exe: panic! (the 'impossible' happened)
> (GHC version 8.2.1 for x86_64-unknown-mingw32):
> runtimeRepPrimRep
> typePrimRep (r_abQP :: TYPE rep_abQO)
> rep_abQO
> Call stack:
> CallStack (from HasCallStack):
> prettyCurrentCallStack, called at
> compiler\utils\Outputable.hs:1133:58 in ghc:Outputable
> callStackDoc, called at compiler\utils\Outputable.hs:1137:37 in
> ghc:Outputable
> pprPanic, called at compiler\simplStg\RepType.hs:360:5 in
> ghc:RepType
>
> Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
>
> cabal: Leaving directory 'C:\Users\****\AppData\Local\Temp\cabal-tmp-5456
> \codeworld-api-0.2.1.0'
> cabal: Error: some packages failed to install:
> codeworld-api-0.2.1.0-FP1wjOCq6YC5GIs4ve2sRp failed during the building
> phase.
> The exception was:
> ExitFailure 1
New description:
{{{
C:\Users\****>cabal install codeworld-api
Resolving dependencies...
Configuring codeworld-api-0.2.1.0...
Building codeworld-api-0.2.1.0...
Failed to install codeworld-api-0.2.1.0
Build log ( C:\Users\****\AppData\Roaming\cabal\logs\ghc-8.2.1\codeworld-
api-0.2.1.0-FP1wjOCq6YC5GIs4ve2sRp.log ):
Preprocessing library for codeworld-api-0.2.1.0..
Building library for codeworld-api-0.2.1.0..
[1 of 6] Compiling CodeWorld.Color ( src\CodeWorld\Color.hs,
dist\build\CodeWorld\Color.o )
[2 of 6] Compiling CodeWorld.Picture ( src\CodeWorld\Picture.hs,
dist\build\CodeWorld\Picture.o )
[3 of 6] Compiling CodeWorld.Event ( src\CodeWorld\Event.hs,
dist\build\CodeWorld\Event.o )
[4 of 6] Compiling CodeWorld.CollaborationUI (
src\CodeWorld\CollaborationUI.hs, dist\build\CodeWorld\CollaborationUI.o )
ghc.exe: panic! (the 'impossible' happened)
(GHC version 8.2.1 for x86_64-unknown-mingw32):
runtimeRepPrimRep
typePrimRep (r_abQP :: TYPE rep_abQO)
rep_abQO
Call stack:
CallStack (from HasCallStack):
prettyCurrentCallStack, called at
compiler\utils\Outputable.hs:1133:58 in ghc:Outputable
callStackDoc, called at compiler\utils\Outputable.hs:1137:37 in
ghc:Outputable
pprPanic, called at compiler\simplStg\RepType.hs:360:5 in
ghc:RepType
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
cabal: Leaving directory 'C:\Users\****\AppData\Local\Temp\cabal-tmp-5456
\codeworld-api-0.2.1.0'
cabal: Error: some packages failed to install:
codeworld-api-0.2.1.0-FP1wjOCq6YC5GIs4ve2sRp failed during the building
phase.
The exception was:
ExitFailure 1
}}}
--
Comment:
I think there is an extremely high chance that this is a duplicate of
#14393, but I don't have a GHCJS installation on hand to test this. Can
you try building `codeworld-api` with
[https://downloads.haskell.org/~ghc/8.2.2-rc3/ghc-8.2.1.20171108-x86_64
-unknown-mingw32.tar.xz GHC 8.2.2-rc3] and see if that resolves the issue?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14466#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list