[GHC] #14902: GHC HEAD cannot be booted GHC 8.4.1

#14902: GHC HEAD cannot be booted GHC 8.4.1 -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.5 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: -------------------------------------+------------------------------------- I get this when I try to boot GHC HEAD with GHC 8.4.1 (using official binaries): {{{ $ make ===--- building phase 0 make --no-print-directory -f ghc.mk phase=0 phase_0_builds utils/genprimopcode/ghc.mk:19: utils/genprimopcode/dist/package-data.mk: No such file or directory utils/deriveConstants/ghc.mk:19: utils/deriveConstants/dist/package- data.mk: No such file or directory utils/genapply/ghc.mk:23: utils/genapply/dist/package-data.mk: No such file or directory libraries/hpc/ghc.mk:3: libraries/hpc/dist-boot/package-data.mk: No such file or directory libraries/binary/ghc.mk:3: libraries/binary/dist-boot/package-data.mk: No such file or directory libraries/text/ghc.mk:3: libraries/text/dist-boot/package-data.mk: No such file or directory libraries/transformers/ghc.mk:3: libraries/transformers/dist-boot/package- data.mk: No such file or directory libraries/mtl/ghc.mk:3: libraries/mtl/dist-boot/package-data.mk: No such file or directory libraries/parsec/ghc.mk:3: libraries/parsec/dist-boot/package-data.mk: No such file or directory libraries/Cabal/Cabal/ghc.mk:3: libraries/Cabal/Cabal/dist-boot/package- data.mk: No such file or directory libraries/ghc-boot-th/ghc.mk:3: libraries/ghc-boot-th/dist-boot/package- data.mk: No such file or directory libraries/ghc-boot/ghc.mk:3: libraries/ghc-boot/dist-boot/package-data.mk: No such file or directory libraries/template-haskell/ghc.mk:3: libraries/template-haskell/dist-boot /package-data.mk: No such file or directory libraries/terminfo/ghc.mk:3: libraries/terminfo/dist-boot/package-data.mk: No such file or directory libraries/ghci/ghc.mk:3: libraries/ghci/dist-boot/package-data.mk: No such file or directory compiler/ghc.mk:446: compiler/stage1/package-data.mk: No such file or directory utils/hsc2hs/ghc.mk:21: utils/hsc2hs/dist/package-data.mk: No such file or directory utils/ghc-pkg/ghc.mk:70: utils/ghc-pkg/dist/package-data.mk: No such file or directory ghc/ghc.mk:111: ghc/stage1/package-data.mk: No such file or directory "inplace/bin/ghc-cabal" configure libraries/binary dist-boot --with- ghc="/home/omer/ghc_bins/ghc-8.4.1-bin/bin/ghc" --with-ghc- pkg="/home/omer/ghc_bins/ghc-8.4.1-bin/bin/ghc-pkg" --package- db=/home/omer/haskell/ghc/libraries/bootstrapping.conf --disable-library- for-ghci --enable-library-vanilla --enable-library-for-ghci --disable- library-profiling --disable-shared --configure-option=CFLAGS="-Wall -fno- stack-protector -Werror=unused-but-set-variable -Wno-error=inline" --configure- option=LDFLAGS=" " --configure-option=CPPFLAGS=" " --gcc-options="-Wall -fno-stack-protector -Werror=unused-but-set-variable -Wno-error=inline " --constraint "binary == 0.8.5.1" --constraint "text == 1.2.3.0" --constraint "transformers == 0.5.5.0" --constraint "mtl == 2.2.2" --constraint "parsec == 3.1.13.0" --constraint "Cabal == 2.2.0.0" --constraint "hpc == 0.6.0.3" --constraint "ghc-boot-th == 8.5" --constraint "ghc-boot == 8.5" --constraint "template-haskell == 2.13.0.0" --constraint "ghci == 8.5" --constraint "terminfo == 0.4.1.1" --with-gcc="gcc" --with-ld="ld.gold" --with-ar="ar" --with- alex="/home/omer/.local/bin/alex" --with- happy="/home/omer/.local/bin/happy" Warning: binary.cabal:19:24: unexpected unknown build-type: 'Simple' Simple ghc-cabal: dieVerbatim: user error (ghc-cabal: Failed parsing "./binary.cabal". ) libraries/binary/ghc.mk:3: recipe for target 'libraries/binary/dist-boot /package-data.mk' failed make[1]: *** [libraries/binary/dist-boot/package-data.mk] Error 1 Makefile:122: recipe for target 'all' failed make: *** [all] Error 2 }}} Switching to 8.2.1 works fine. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14902 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14902: GHC HEAD cannot be booted GHC 8.4.1 -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.4.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 osa1): * version: 8.5 => 8.4.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14902#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14902: GHC HEAD cannot be booted with GHC 8.4.1 -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.4.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: | -------------------------------------+------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14902#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14902: GHC HEAD cannot be booted with GHC 8.4.1 -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.4.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 hvr): Strange, I wasn't able to reproduce this -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14902#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14902: GHC HEAD cannot be booted with GHC 8.4.1 -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.4.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 Magiclouds): @hvr I reproduced this in two ways. 1. github source got me this. Also some submodules cannot be initialized, the cloning just stuck. 2. git.haskell.org source works, until somehow it broke ghc in my system. I did not install new ghc, no idea how it did it. I got messages like following when '''ghc-pkg check'''. cannot find any of ["libHSghc-prim-0.5.2.0.a","libHSghc- prim-0.5.2.0.p_a","libHSghc-prim-0.5.2.0-ghc8.4.3.so","libHSghc- prim-0.5.2.0-ghc8.4.3.dylib","HSghc-prim-0.5.2.0-ghc8.4.3.dll"] on library path There are problems in package rts-1.0: Warning: library-dirs: $HOME/src/Git/ghc/rts/dist/build doesn't exist or isn't a directory -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14902#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC