Build failure after updating to latest master
Summary
Built ghc
successfully from master
branch. Later fetched the latest version and tried to build again. Got a build failure with the error:
<no location info>: error:
‘GHC.Tc.Errors.Hole.FitTypes.HoleFitPlugin’ is exported by the hs-boot file, but not exported by the module
Steps to reproduce
- Checked out
master
(commit 994bda56) and submodules - Do a full build with
./boot && ./configure && hadrian/build --flavour=quick -j
. - A week or two later did an update (to commit 273ff0c7):
git fetch origin && git reset --hard origin/master
- Do an incremental build:
hadrian/build --flavour=quick -j
Here's the git reflog
showing what commits I pulled and updated to:
273ff0c786 (HEAD -> wip/lylek/deriving-kinded-parameter, origin/master, origin/HEAD, master) HEAD@{0}: checkout: moving from master to wip/lylek/deriving-kinded-parameter
273ff0c786 (HEAD -> wip/lylek/deriving-kinded-parameter, origin/master, origin/HEAD, master) HEAD@{1}: reset: moving to origin/master
273ff0c786 (HEAD -> wip/lylek/deriving-kinded-parameter, origin/master, origin/HEAD, master) HEAD@{2}: reset: moving to origin/master
273ff0c786 (HEAD -> wip/lylek/deriving-kinded-parameter, origin/master, origin/HEAD, master) HEAD@{3}: reset: moving to origin/master
0cb23ce245 HEAD@{4}: checkout: moving from master to master
0cb23ce245 HEAD@{5}: cherry-pick: Work around #22451
69fdbece5f HEAD@{6}: reset: moving to HEAD
69fdbece5f HEAD@{7}: pull: Fast-forward
994bda5636 HEAD@{8}: clone: from https://gitlab.haskell.org/ghc/ghc.git
Expected behavior
What do you expect the reproducer described above to do?
Build ghc
without errors
Environment
- GHC version used: 9.4.5
Optional:
- Operating System: macOS 13.4
- System Architecture: aarch64