GNU bug report logs -
#73601
failed to compute the derivation for Guix
Previous Next
Full log
Message #25 received at 73601 <at> debbugs.gnu.org (full text, mbox):
Hi,
Sorry for the late reply.
On Mon, 14 Oct 2024 at 14:03, Fabrice Tudoret <fabrice.tudoret <at> univ-rennes1.fr> wrote:
>> c) Display the both derivations, as root and as regular user
>>
>> # guix build -e '(@@ (gnu packages commencement) python-boot0)' -S -d
>
> [root <at> cluster24 ~]# guix build -e '(@@ (gnu packages commencement) python-boot0)' -S -d
> /gnu/store/mbnrrqjizy3dvma9i3l8g5yvzi2p04ys-Python-3.5.9.tar.xz.drv
>
>>
>> $ guix build -e '(@@ (gnu packages commencement) python-boot0)' -S -d
>
> [fmenna <at> cluster24 ~]$ guix build -e '(@@ (gnu packages commencement) python-boot0)' -S -d
> user with UID 255759 not found
> /gnu/store/mbnrrqjizy3dvma9i3l8g5yvzi2p04ys-Python-3.5.9.tar.xz.drv
>
> I hope the message "user with UID 255759 not found" has nothing to do
> with the issue.
Well, this message comes from the Guix daemon (see nix-daemon.cc file):
/* Open the store. */
store = std::shared_ptr<StoreAPI>(new LocalStore(reserveSpace));
if (userId != (uid_t) -1) {
/* Create the user profile. */
struct passwd *pw = getpwuid(userId);
if (pw != NULL && pw->pw_name != NULL)
store->createUser(pw->pw_name, userId);
else
printMsg(lvlInfo, format("user with UID %1% not found") % userId);
}
Hum, that’s not clear for me. The daemon is a beast… Maybe this has an
impact. For sure, aside Guix, I think it would be better to fix it. :-)
Well, I do not know why but this other message:
> When I create the user home dir manually, the "guix pull" work's fine.
> So the trouble could come from a disorder with the automatic home dir
> creation.
> I wish it's the right track. I keep digging.
spots the light on UID. :-)
Cheers,
simon
This bug report was last modified 193 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.