
On Linux I get this validate failure all the time. What should I do? I've trained myself to ignore it, but that seems wrong Simon Unexpected failures: ../libraries/unix/tests/user001.run user001 [bad stdout] (normal) =====> user001(normal) 1 of 1 [0, 0, 0] cd "./user001.run" && "/5playpen/simonpj/HEAD/inplace/test spaces/ghc-stage2" -o user001 user001.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output -package unix cd "./user001.run" && ./user001 Actual stdout output differs from expected: diff -uw "./user001.run/user001.stdout.normalised" "./user001.run/user001.run.stdout.normalised" --- ./user001.run/user001.stdout.normalised 2017-12-08 10:22:59.835931843 +0000 +++ ./user001.run/user001.run.stdout.normalised 2017-12-08 10:22:59.835931843 +0000 @@ -4,8 +4,8 @@ getEffectiveGroupID: OK getGroups: OK getEffectiveUserName: OK -getGroupEntryForID: OK -getGroupEntryForName: OK +getGroupEntryForID: ERROR: getGroupEntryForID: does not exist (no such group) +getGroupEntryForName: ERROR: getGroupEntryForID: does not exist (no such group) getAllGroupEntries: OK getUserEntryForID: OK getAllUserEntries: OK *** unexpected failure for user001(normal)

Simon Peyton Jones via ghc-devs
On Linux I get this validate failure all the time. What should I do? I've trained myself to ignore it, but that seems wrong Simon
Unexpected failures:
../libraries/unix/tests/user001.run user001 [bad stdout] (normal)
It sounds like your machine may be misconfigured. The test attempts to lookup the entry in /etc/group corresponding to the process's group. However, it appears that such an entry doesn't exist. This would imply that your user doesn't have a valid group, which is quite odd. What does the `id` command say? Cheers, - Ben

| that your user doesn't have a valid group, which is quite odd. What
| does the `id` command say?
simonpj@cam-05-unx:~/tmp$ id
uid=501(simonpj) gid=1001 groups=1001,27(sudo)
| -----Original Message-----
| From: Ben Gamari [mailto:ben@well-typed.com]
| Sent: 08 December 2017 15:13
| To: Simon Peyton Jones

Simon Peyton Jones via ghc-devs
| that your user doesn't have a valid group, which is quite odd. What | does the `id` command say?
simonpj@cam-05-unx:~/tmp$ id uid=501(simonpj) gid=1001 groups=1001,27(sudo)
Indeed it looks like your group doesn't have an entry in /etc/group. Quite odd. Perhaps this was due to the upgrade? Is there an entry for group id 501 in /etc/group? Cheers, - Ben
participants (2)
-
Ben Gamari
-
Simon Peyton Jones