GNU bug report logs -
#36692
[PATCH 0/2] Add GHC 8.6.5
Previous Next
Reported by: Robert Vollmert <rob <at> vllmrt.net>
Date: Tue, 16 Jul 2019 15:48:01 UTC
Severity: normal
Tags: patch
Done: Timothy Sample <samplet <at> ngyro.com>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 36692 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Robert Vollmert <rob <at> vllmrt.net> writes:
> I was able to run both tests from the build directory in /tmp,
> and they both passed fine. Also they both involve user ids, I
> suspect those might differ in the build container?
>
> main = do
> void $ forkIO $ forever $ getGroupEntryForID 0
> void $ forkIO $ forever $ getGroupEntryForID 0
> threadDelay (3*1000*1000)
>
> main = do
> root <- getUserEntryForName "root"
> putStrLn (ue2String root)
> root' <- getUserEntryForID (userID root)
> putStrLn (ue2String root')
> if homeDirectory root == homeDirectory root' &&
> userShell root == userShell root'
> then putStrLn "OK"
> else putStrLn “Mismatch"
The only reliable user ID available in the build container is 'nobody'
with UID and GID 65534 and the (see nix/libstore/build.cc:1862).
You can likely patch these tests to refer to that instead.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 5 years and 284 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.