[GHC] #14466: Error while installing codeworld-api

#14466: Error while installing codeworld-api -------------------------------------+------------------------------------- Reporter: Zalathorm | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- 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 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14466 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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

#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: | -------------------------------------+------------------------------------- Comment (by nomeata): Why do you need GHCJS? This seems to be normal ghc compiling codeoworld- api. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14466#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14466: Error while installing codeworld-api -------------------------------------+------------------------------------- Reporter: Zalathorm | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14393 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: infoneeded => closed * resolution: => duplicate * related: => #14393 Comment: Ah, my bad. I saw the list of dependencies on the [http://hackage.haskell.org/package/codeworld-api-0.2.1.0 Hackage page] and mistakenly assumed that `ghcjs-base` was a mandatory dependency (when in reality, it's an optional dependency guarded behind a `.cabal` flag). I just installed `codeworld-api-0.2.1.0` with GHC 8.2.2-rc3 without seeing this panic, so I think it's safe to conclude that this is a duplicate of #14393. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14466#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC