
#11960: GHC parallel build failure during "make" -------------------------------------+------------------------------------- Reporter: ilovezfs | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Build System | Version: 8.0.1-rc3 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: -------------------------------------+------------------------------------- This keeps happening (in the same place every time): {{{ config.status: executing libtool commands config.status: executing include commands config.status: executing src commands # wc on OS X has spaces in its output, which libffi's Makefile # doesn't expect, so we tweak it to sed them out mv libffi/build/Makefile libffi/build/Makefile.orig sed "s#wc -w#wc -w | sed 's/ //g'#" < libffi/build/Makefile.orig > libffi/build/Makefile "touch" libffi/stamp.ffi.static-shared.configure make: *** [all] Error 2 }}} Adding some sleep in various places seems to work around it, so it appears to be a race of some kind during parallel builds. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11960 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler