[GHC] #8139: ghc 7.6.3 and ghc HEAD fails to build on OS X 10.9
GHC
ghc-devs
Sat Oct 12 05:54:41 UTC 2013
#8139: ghc 7.6.3 and ghc HEAD fails to build on OS X 10.9
-------------------------------------+-------------------------------------
Reporter: darinmorrison | Owner: darinmorrison
Type: bug | Status: patch
Priority: highest | Milestone: 7.8.1
Component: Compiler | Version: 7.7
Resolution: | Keywords:
Operating System: MacOS X | Architecture: x86_64 (amd64)
Type of failure: Building GHC | Difficulty: Easy (less than 1
failed | hour)
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+-------------------------------------
Comment (by Austin Seipp <austin@?>):
In [changeset:"feb76385b6eb88ceb8c3bd0a21d9723a607e2944/ghc"]:
{{{
#!CommitTicketReference repository="ghc"
revision="feb76385b6eb88ceb8c3bd0a21d9723a607e2944"
Fix mkdirhier.sh on OS X 10.9 (#8139)
Mac OS X 10.9 mkdir is apparently stricter than the Mac OS X 10.8
mkdir about which paths are considered valid arguments. For example,
in a typical build on Mac OS X 10.9, the first of the following
invocations of mkdirhier.sh will succeed but the second will fail:
"inplace/bin/mkdirhier" utils/ghc-cabal/dist/build/tmp//. # WORKS
"inplace/bin/mkdirhier" bootstrapping/. # FAILS
Simply prefixing the path arguments with "./" causes both to succeed:
"inplace/bin/mkdirhier" ./utils/ghc-cabal/dist/build/tmp//. # WORKS
"inplace/bin/mkdirhier" ./bootstrapping/. # WORKS
Testing indicates failure on paths satisfying all of these criteria:
- path is suffixed with "/."
- path is only 1 level deep (e.g., "foo/."; _not_ "foo/bar/.")
- path is _not_ prefixed with "./"
This workaround prefixes "./" to the path argument passed to mkdir.
Signed-off-by: Austin Seipp <austin at well-typed.com>
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8139#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list