Opened 9 years ago

Closed 8 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: 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 9 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 9 years ago by guest

  • Component changed from Compiler to libraries/base

comment:3 Changed 9 years ago by igloo

  • Milestone set to 6.8

comment:4 Changed 9 years ago by simonmar

  • Cc bringert@… added
  • Component changed from libraries/base to None
  • Milestone changed from 6.8 branch to Not 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 8 years ago by igloo

  • Resolution set to invalid
  • Status changed from new to closed

Bug forwarded to Bjorn, the unix-compat maintainer.

Note: See TracTickets for help on using tickets.