
#12078: ghc-boot-th package reveals issue with build system's treatment of transitive dependencies -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 8.0.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: | -------------------------------------+------------------------------------- Description changed by bgamari: @@ -10,1 +10,3 @@ - `rules/build-prog.mk` which builds programs (including `ghc-pkg`). + `rules/build-prog.mk` which builds programs (including `ghc-pkg`). It + doesn't seem like this should be necessary, but with Hadian being so near + it seems like a good enough work around. New description: The `ghc-boot-th` introduced in the resolution of #12052 seems to have uncovered a bug in the build system's treatment of transitive dependencies. Namely, it seems to be possible for the build system to attempt to link `ghc-pkg` before `libghc-boot-th` has been produced. This is odd since `ghc-pkg` has a dependency on `ghc-boot`, which in turn has a dependency on `ghc-boot-th`. In the interest of moving the 8.0.1 release along I'm going to work around this for the time being by adding transitive dependencies to the rule in `rules/build-prog.mk` which builds programs (including `ghc-pkg`). It doesn't seem like this should be necessary, but with Hadian being so near it seems like a good enough work around. -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12078#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler