Opened 10 years ago

Closed 9 years ago

#1403 closed bug (invalid)

System.Posix.Types.UserID and others missing from Windows distribution

Reported by: jgbailey@… Owned by:
Priority: normal Milestone: Not GHC
Component: None Version: 6.6.1
Keywords: Cc: bringert@…
Operating System: Windows Architecture: x86
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


I have installed the binary package of GHC 6.6.1 prepared by Sigbjorn Finne. It's System.Posix.Types module does not export the UserID or GroupID data types. This breaks the unix-compat package (version 0.1), which depends on those types.

Is this an intentional omission or is it a bug?

Change History (5)

comment:1 Changed 10 years ago by bringert

Hmm, I don't think I have ever gotten around to actually testing unix-compat on Windows. I've only tested it on Linux and OS X with and without the unix package, as far as I recall.

Does it compile on Windows with any other GHC version?

/bringert, unix-compat author

comment:2 Changed 10 years ago by guest

Component: Compilerlibraries/base

comment:3 Changed 10 years ago by igloo

Milestone: 6.8

comment:4 Changed 9 years ago by simonmar

Cc: bringert@… added
Component: libraries/baseNone
Milestone: 6.8 branchNot GHC

mingw doesn't have the uid_t or gid_t types, which is why System.Posix.Types does not export them on Windows. I guess unix-compat should work around this somehow. Bjorn?

comment:5 Changed 9 years ago by igloo

Resolution: invalid
Status: newclosed

Bug forwarded to Bjorn, the unix-compat maintainer.

Note: See TracTickets for help on using tickets.