
#15900: Can't boot with GHC 8.6.2 -------------------------------------+------------------------------------- Reporter: osa1 | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.6.3 Component: Compiler | Version: 8.6.2 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 just installed GHC 8.6.2 on a fresh Ubuntu 18.04 and cloned the repo. This is what I get when I do `make` without a `build.mk`: {{{ "inplace/bin/ghc-stage2" -hisuf dyn_hi -osuf dyn_o -hcsuf dyn_hc -fPIC -dynamic -H32m -O -Wall -hide-all-packages -i -iutils/haddock/driver -iutils/haddock/haddock-api/src -iutils/haddock/haddock-library/src -iutils/haddock/dist/build -Iutils/haddock/dist/build -iutils/haddock/dist/build/haddock/autogen -Iutils/haddock/dist/build/haddock/autogen -optP-DIN_GHC_TREE -optP- include -optPutils/haddock/dist/build/haddock/autogen/cabal_macros.h -package-id Cabal-2.4.0.1 -package-id array-0.5.2.0 -package-id base-4.12.0.0 -package-id bytestring-0.10.8.2 -package-id containers-0.6.0.1 -package-id deepseq-1.4.4.0 -package-id directory-1.3.3.1 -package-id filepath-1.4.2.1 -package-id ghc-8.7 -package-id ghc-boot-8.7 -package-id parsec-3.1.13.0 -package-id text-1.2.3.1 -package-id transformers-0.5.5.0 -package-id xhtml-3000.2.2.1 -funbox-strict-fields -Wall -fwarn-tabs -O2 -threaded -XHaskell2010 -no- user-package-db -rtsopts -Wno-unused-imports -Wno-deprecations -Wnoncanonical-monad-instances -odir utils/haddock/dist/build -hidir utils/haddock/dist/build -stubdir utils/haddock/dist/build -c utils/haddock/haddock-api/src/Haddock/Types.hs -o utils/haddock/dist/build/Haddock/Types.dyn_o utils/haddock/haddock-api/src/Haddock/Types.hs:385:37: error: • Data constructor not in scope: NotPromoted :: BasicTypes.PromotionFlag • Perhaps you want to add ‘NotPromoted’ to the import list in the import of ‘BasicTypes’ (utils/haddock/haddock-api/src/Haddock/Types.hs:37:1-30). | 385 | tvar = L loc (HsTyVar NoExt NotPromoted (L loc name)) | ^^^^^^^^^^^ utils/haddock/haddock-api/src/Haddock/Types.hs:386:47: error: • Data constructor not in scope: NotPromoted :: BasicTypes.PromotionFlag • Perhaps you want to add ‘NotPromoted’ to the import list in the import of ‘BasicTypes’ (utils/haddock/haddock-api/src/Haddock/Types.hs:37:1-30). | 386 | mkType (UserTyVar _ name) = HsTyVar NoExt NotPromoted name | ^^^^^^^^^^^ utils/haddock/ghc.mk:20: recipe for target 'utils/haddock/dist/build/Haddock/Types.dyn_o' failed make[1]: *** [utils/haddock/dist/build/Haddock/Types.dyn_o] Error 1 Makefile:123: recipe for target 'all' failed make: *** [all] Error 2 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15900 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler