all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Fabrice Tudoret <fabrice.tudoret@univ-rennes1.fr>
Cc: 73602@debbugs.gnu.org, 73601@debbugs.gnu.org
Subject: bug#73601: bug#73602: bug#73601: failed to compute the derivation for Guix
Date: Mon, 28 Oct 2024 16:52:49 +0100	[thread overview]
Message-ID: <878qu85ini.fsf@gmail.com> (raw)
In-Reply-To: <cb889e50-85ca-418c-b93e-68cf79a34160@univ-rennes1.fr>

Hi,

Sorry for the late reply.

On Mon, 14 Oct 2024 at 14:03, Fabrice Tudoret <fabrice.tudoret@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@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@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





      parent reply	other threads:[~2024-10-28 16:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-02 14:58 bug#73602: failed to compute the derivation for Guix Fabrice Tudoret
2024-10-11 16:30 ` bug#73602: bug#73601: " Simon Tournier
2024-10-14 12:03   ` Fabrice Tudoret
2024-10-18  6:12     ` Fabrice Tudoret
2024-10-28 15:52     ` Simon Tournier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878qu85ini.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=73601@debbugs.gnu.org \
    --cc=73602@debbugs.gnu.org \
    --cc=fabrice.tudoret@univ-rennes1.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.