[GHC] #15004: Building HEAD fails with -j3 because of unrecorded dependencies.

#15004: Building HEAD fails with -j3 because of unrecorded dependencies. -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: Building GHC Unknown/Multiple | failed Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- There seem to be some missing dependencies. {{{ "inplace/bin/ghc-stage1" -hisuf hi -osuf o -hcsuf hc -static -O -H64m -Wall -this-unit-id ghc-prim-0.5.2.0 -hide-all-packages -i -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build -Ilibraries /ghc-prim/dist-install/build -ilibraries/ghc-prim/dist- install/build/./autogen -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/. -optP-include -optPlibraries/ghc-prim/dist- install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc- prim -XHaskell2010 -O2 -no-user-package-db -rtsopts -Wno-trustworthy- safe -Wno-deprecated-flags -Wnoncanonical-monad-instances -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim/dist- install/build -stubdir libraries/ghc-prim/dist-install/build -dynamic- too -c libraries/ghc-prim/./GHC/Magic.hs -o libraries/ghc-prim/dist- install/build/GHC/Magic.o -dyno libraries/ghc-prim/dist- install/build/GHC/Magic.dyn_o libraries/base/GHC/IO.hs-boot:9:12: error: • Failed to load interface for ‘GHC.Integer.Type’ There are files missing in the ‘integer-gmp-1.0.1.0’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. • In the type signature: mplusIO :: IO a -> IO a -> IO a | 9 | mplusIO :: IO a -> IO a -> IO a | ^^^^^^^^^^^^^^^^^^^^ }}} It seems Magic.hs depends in integer-gmp. Which happened to be not yet built so it fails. I'm not sure which import it is that is missing but recording it here. Commit for head is 72b5f649ede82ab3bb429aa72ee1c572f415b0eb Building single threaded for a while and then continuing the build with -j3 seems to be a valid workaround. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15004 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15004: Building HEAD fails with -j3 because of unrecorded dependencies. -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4560 Wiki Page: | -------------------------------------+------------------------------------- Changes (by AndreasK): * differential: => Phab:D4560 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15004#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15004: Building HEAD fails with -j3 because of unrecorded dependencies. -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4560 Wiki Page: | -------------------------------------+------------------------------------- Comment (by sgraf): Relevant `ghc-devs` thread: https://www.mail-archive.com/ghc- devs@haskell.org/msg15305.html -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15004#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#15004: Building HEAD fails with -j3 because of unrecorded dependencies.
-------------------------------------+-------------------------------------
Reporter: AndreasK | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version:
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Building GHC | Unknown/Multiple
failed | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4560
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ryan Scott

#15004: Building HEAD fails with -j3 because of unrecorded dependencies. -------------------------------------+------------------------------------- Reporter: AndreasK | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Build System | Version: Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4560 Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => closed * resolution: => fixed Comment: I believe this should be fixed now. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15004#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC