#5172: unix-compat does not build because of strangeness in GHC's header files.
-----------------------------+----------------------------------------------
Reporter: rtvd | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Runtime System | Version: 7.0.3
Resolution: worksforme | Keywords: unix-compat
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: Other |
-----------------------------+----------------------------------------------
Changes (by jystic):
* cc: jystic@… (added)
Comment:
I have uploaded a new version of unix-compat (0.2.1.2) to Hackage which
does not include `HsUnix.h`.
Given the new information from byorgey though, there is still some issues.
The decision about whether `setSymbolicLinkOwnerAndGroup` is required is
made in `HsUnixCompat.h`:
{{{
#define NEED_setSymbolicLinkOwnerAndGroup !HAVE_LCHOWN
}}}
And in the `unix` package, the decision is made like so:
{{{
#if HAVE_LCHOWN
setSymbolicLinkOwnerAndGroup,
#endif
}}}
So definitely something strange going on, I wonder what `HAVE_LCHOWN` is
defined as (or not defined as)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5172#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs