[GHC] #8122: make binary-dist broken on OS X in HEAD
GHC
ghc-devs at haskell.org
Thu Aug 29 10:16:46 CEST 2013
#8122: make binary-dist broken on OS X in HEAD
------------------------------------------+--------------------------------
Reporter: danharaj | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version: 7.7
Resolution: | Keywords:
Operating System: MacOS X | Architecture: x86_64
Type of failure: Installing GHC failed | (amd64)
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets:
------------------------------------------+--------------------------------
Comment (by edsko):
In the case of `sh validate` this happens when the validate script calls
{{{
$make binary-dist-prep
}}}
which it only does if you don't specify `FAST`, which might be why the OP
was able to run validate. Tracking this down further, it gets stuck on:
{{{
# make -r --no-print-directory -f ghc.mk bindist BINDIST=YES
"cp" -p ghc/stage1/build/tmp/ inplace/lib/bin/ghc-stage1
cp: ghc/stage1/build/tmp/ is a directory (not copied).
make: *** [inplace/lib/bin/ghc-stage1] Error 1
}}}
This particular `cp` command comes from the following rule in `build-
prog.mk`:
{{{
# INPLACE_BIN might be empty if we're distcleaning
ifeq "$(findstring clean,$(MAKECMDGOALS))" ""
ifeq "$$($1_$2_INSTALL_INPLACE)" "YES"
$$($1_$2_INPLACE) : $1/$2/build/tmp/$$($1_$2_PROG_INPLACE) | $$$$(dir
$$$$@)/.
"$$(CP)" -p $$< $$@
endif
endif
}}}
(lines 294-300). At this point somebody more familiar with the build
system might have some idea?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8122#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list