[GHC] #7592: Building the latest master branch on FreeBSD 9.1 fails
GHC
cvs-ghc at haskell.org
Sat Feb 2 14:52:24 CET 2013
#7592: Building the latest master branch on FreeBSD 9.1 fails
---------------------------------+------------------------------------------
Reporter: kazu-yamamoto | Owner: pgj
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version: 7.7
Keywords: | Os: FreeBSD
Architecture: Unknown/Multiple | Failure: Building GHC failed
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
Comment(by igloo):
Hmm, on line 3039 of the log `inplace/bin/ghc-cabal` is created:
{{{
Invoking recipe from utils/ghc-cabal/ghc.mk:22 to update target
`inplace/bin/ghc-cabal'.
"cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal inplace/bin/ghc-cabal
}}}
but then on line 5291 it appears to be out-of-date and gets rebuilt:
{{{
Prerequisite `utils/ghc-cabal/dist/build/tmp/ghc-cabal' is newer than
target `inplace/bin/ghc-cabal'.
Prerequisite `inplace/bin//.' is order-only for target `inplace/bin
/ghc-cabal'.
Must remake target `inplace/bin/ghc-cabal'.
Need a job token; we don't have children
Invoking recipe from utils/ghc-cabal/ghc.mk:22 to update target
`inplace/bin/ghc-cabal'.
"cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal inplace/bin/ghc-cabal
}}}
I can't see any reason for it being out-of-date. Please could you try
modifying the `GHC_CABAL_INPLACE` rule on line 21 of `utils/ghc-
cabal/ghc.mk` to this:
{{{
$(GHC_CABAL_INPLACE) : $(GHC_CABAL_DIR)/dist/build/tmp/ghc-cabal$(exeext)
| $$(dir $$@)/.
-stat $<
-stat $@
"$(CP)" $< $@
-stat $<
-stat $@
}}}
and do a build? Perhaps the output will give some insight.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7592#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list