GNU bug report logs - #34573
Backtrace of guix pull failed

Previous Next

Package: guix;

Reported by: Vincent Rouvreau <vincent.rouvreau <at> inria.fr>

Date: Tue, 19 Feb 2019 15:29:01 UTC

Severity: normal

Tags: notabug

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34573 in the body.
You can then email your comments to 34573 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#34573; Package guix. (Tue, 19 Feb 2019 15:29:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vincent Rouvreau <vincent.rouvreau <at> inria.fr>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 19 Feb 2019 15:29:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vincent Rouvreau <vincent.rouvreau <at> inria.fr>
To: bug-guix <at> gnu.org
Subject: Backtrace of guix pull failed
Date: Tue, 19 Feb 2019 10:55:58 +0100 (CET)
Hello,

I wanted to install python, numpy and conda on plafrim as explained here : https://www.plafrim.fr/en/guix/
And guix pull failed :

    guix package -i python python-numpy python-conda

    eval `guix package --search-paths=prefix`

    guix pull

Backtrace:
In ice-9/boot-9.scm:
  2887:24 19 (_)
   222:29 18 (map1 (((guix i18n)) ((guix gexp)) ((guix sets)) ((?)) ?))
   222:29 17 (map1 (((guix gexp)) ((guix sets)) ((guix utils)) (#) ?))
   222:29 16 (map1 (((guix sets)) ((guix utils)) ((guix store)) (#) ?))
   222:29 15 (map1 (((guix utils)) ((guix store)) ((guix config)) # ?))
   222:29 14 (map1 (((guix store)) ((guix config)) ((guix #)) ((?)) ?))
   222:29 13 (map1 (((guix config)) ((guix packages)) ((guix #)) # ?))
   222:29 12 (map1 (((guix packages)) ((guix profiles)) ((guix #)) ?))
   222:17 11 (map1 (((guix profiles)) ((guix derivations)) ((# #)) ?))
  2800:17 10 (resolve-interface (guix profiles) #:select _ #:hide _ # ?)
In ice-9/threads.scm:
    390:8  9 (_ _)
In ice-9/boot-9.scm:
  2726:13  8 (_)
In ice-9/threads.scm:
    390:8  7 (_ _)
In ice-9/boot-9.scm:
  2994:20  6 (_)
   2312:4  5 (save-module-excursion #<procedure 28cc6c0 at ice-9/boo?>)
  3014:26  4 (_)
In unknown file:
           3 (primitive-load-path "guix/profiles" #<procedure 27e7f8?>)
In ./guix/profiles.scm:
  1773:23  2 (_)
In ./guix/utils.scm:
   661:47  1 (xdg-directory _ "/.config" #:ensure? _)
In unknown file:
           0 (getpw 10837)

ERROR: In procedure getpw:
In procedure getpw: entry not found
guix pull: error: You found a bug: the program '/gnu/store/i49yy9zlv7h1bsds96ld7fhgni9ycvr6-compute-guix-derivation'
failed to compute the derivation for Guix (version: "be92b4b000dbe84a525de7857296fede318048d9"; system: "x86_64-linux";
host version: "a9ba0a3154f3f20097000407a96a390ad3dee100"; pull-version: 1).
Please report it by email to <bug-guix <at> gnu.org>.



I want to precise it is my first time with guix and I may misunderstood some points...

Regards,

Vincent Rouvreau - Service Expérimentation et Développement
INRIA Saclay
Tel: (+33).1.74.85.42.32




Information forwarded to bug-guix <at> gnu.org:
bug#34573; Package guix. (Tue, 19 Feb 2019 15:43:01 GMT) Full text and rfc822 format available.

Message #8 received at 34573 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Vincent Rouvreau <vincent.rouvreau <at> inria.fr>
Cc: 34573 <at> debbugs.gnu.org
Subject: Re: bug#34573: Backtrace of guix pull failed
Date: Tue, 19 Feb 2019 16:42:02 +0100
Bonjour Vincent,

On Tue, Feb 19, 2019 at 10:55:58AM +0100, Vincent Rouvreau wrote:
> And guix pull failed :
> 
>     guix package -i python python-numpy python-conda
>     eval `guix package --search-paths=prefix`

so the first two commands succeeded?

>     guix pull
> Backtrace:
> In ice-9/boot-9.scm:
>   2887:24 19 (_)
>    222:29 18 (map1 (((guix i18n)) ((guix gexp)) ((guix sets)) ((?)) ?))
>    222:29 17 (map1 (((guix gexp)) ((guix sets)) ((guix utils)) (#) ?))
>    222:29 16 (map1 (((guix sets)) ((guix utils)) ((guix store)) (#) ?))
>    222:29 15 (map1 (((guix utils)) ((guix store)) ((guix config)) # ?))
>    222:29 14 (map1 (((guix store)) ((guix config)) ((guix #)) ((?)) ?))
>    222:29 13 (map1 (((guix config)) ((guix packages)) ((guix #)) # ?))
>    222:29 12 (map1 (((guix packages)) ((guix profiles)) ((guix #)) ?))
>    222:17 11 (map1 (((guix profiles)) ((guix derivations)) ((# #)) ?))
>   2800:17 10 (resolve-interface (guix profiles) #:select _ #:hide _ # ?)
> In ice-9/threads.scm:
>     390:8  9 (_ _)
> In ice-9/boot-9.scm:
>   2726:13  8 (_)

Could you post the lines preceding this error message? I just experienced
a similar case, and the real error happened before (a package needed to be
compiled first and failed).

Could you please send the output of
   guix --version
and
   guix describe
?

Thanks,

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#34573; Package guix. (Tue, 19 Feb 2019 16:10:02 GMT) Full text and rfc822 format available.

Message #11 received at 34573 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Vincent Rouvreau <vincent.rouvreau <at> inria.fr>
Cc: 34573 <at> debbugs.gnu.org
Subject: Re: bug#34573: Backtrace of guix pull failed
Date: Tue, 19 Feb 2019 17:08:55 +0100
Hi Vincent,

> I wanted to install python, numpy and conda on plafrim as explained here : https://www.plafrim.fr/en/guix/
> And guix pull failed :
[…]
> In ./guix/profiles.scm:
>   1773:23  2 (_)
> In ./guix/utils.scm:
>    661:47  1 (xdg-directory _ "/.config" #:ensure? _)
> In unknown file:
>            0 (getpw 10837)
>
> ERROR: In procedure getpw:
> In procedure getpw: entry not found

This looks like nscd is not running.

The manual says this:

    2.6.2 Name Service Switch
    -------------------------

    When using Guix on a foreign distro, we _strongly recommend_ that the
    system run the GNU C library’s “name service cache daemon”, ‘nscd’,
    which should be listening on the ‘/var/run/nscd/socket’ socket.  Failing
    to do that, applications installed with Guix may fail to look up host
    names or user accounts, or may even crash.

Could you check that NSCD is in fact available and running?

-- 
Ricardo





Information forwarded to bug-guix <at> gnu.org:
bug#34573; Package guix. (Tue, 19 Feb 2019 16:49:02 GMT) Full text and rfc822 format available.

Message #14 received at 34573 <at> debbugs.gnu.org (full text, mbox):

From: Vincent Rouvreau <vincent.rouvreau <at> inria.fr>
To: Andreas Enge <andreas <at> enge.fr>, Ricardo Wurmus <rekado <at> elephly.net>
Cc: 34573 <at> debbugs.gnu.org
Subject: Re: bug#34573: Backtrace of guix pull failed
Date: Tue, 19 Feb 2019 17:48:01 +0100 (CET)
Hello,

I rolled back all my generations (I hope this is good - with command guix package --roll-back)

$ guix package -i python python-numpy python-conda
Les paquets suivants seront installés :
   python	3.7.0	/gnu/store/9z98cvjm7p7z21xdid1ryydxy5vyz6wr-python-3.7.0
   python-numpy	1.15.4	/gnu/store/hsdzxq5jvb96yffnxqp8h4lq5z59r29k-python-numpy-1.15.4
   python-conda	4.3.16	/gnu/store/gabw5n3216xzbbsjsc5j5vhjpninanyh-python-conda-4.3.16

$ eval `guix package --search-paths=prefix`

It seems there is no issue.

nscd seems to be launched. I am not admin on the server.
$ ps aux | grep nscd
vrou001   25642  0.0  0.0 112688   976 pts/37   S+   17:46   0:00 grep --color=auto nscd
nscd     135028  0.0  0.0 768500  4020 ?        Ssl  févr.11   2:17 /usr/sbin/nscd

Maybe this is not a guix bug but a server issue.
Sorry for the noise, I will see with the admin.

Regards,

Vincent Rouvreau

----- Mail original -----
> De: "Andreas Enge" <andreas <at> enge.fr>
> À: "vincent rouvreau" <vincent.rouvreau <at> inria.fr>
> Cc: 34573 <at> debbugs.gnu.org
> Envoyé: Mardi 19 Février 2019 16:42:02
> Objet: Re: bug#34573: Backtrace of guix pull failed

> Bonjour Vincent,
> 
> On Tue, Feb 19, 2019 at 10:55:58AM +0100, Vincent Rouvreau wrote:
>> And guix pull failed :
>> 
>>     guix package -i python python-numpy python-conda
>>     eval `guix package --search-paths=prefix`
> 
> so the first two commands succeeded?
> 
>>     guix pull
>> Backtrace:
>> In ice-9/boot-9.scm:
>>   2887:24 19 (_)
>>    222:29 18 (map1 (((guix i18n)) ((guix gexp)) ((guix sets)) ((?)) ?))
>>    222:29 17 (map1 (((guix gexp)) ((guix sets)) ((guix utils)) (#) ?))
>>    222:29 16 (map1 (((guix sets)) ((guix utils)) ((guix store)) (#) ?))
>>    222:29 15 (map1 (((guix utils)) ((guix store)) ((guix config)) # ?))
>>    222:29 14 (map1 (((guix store)) ((guix config)) ((guix #)) ((?)) ?))
>>    222:29 13 (map1 (((guix config)) ((guix packages)) ((guix #)) # ?))
>>    222:29 12 (map1 (((guix packages)) ((guix profiles)) ((guix #)) ?))
>>    222:17 11 (map1 (((guix profiles)) ((guix derivations)) ((# #)) ?))
>>   2800:17 10 (resolve-interface (guix profiles) #:select _ #:hide _ # ?)
>> In ice-9/threads.scm:
>>     390:8  9 (_ _)
>> In ice-9/boot-9.scm:
>>   2726:13  8 (_)
> 
> Could you post the lines preceding this error message? I just experienced
> a similar case, and the real error happened before (a package needed to be
> compiled first and failed).
> 
> Could you please send the output of
>   guix --version
> and
>   guix describe
> ?
> 
> Thanks,
> 
> Andreas




Information forwarded to bug-guix <at> gnu.org:
bug#34573; Package guix. (Tue, 19 Feb 2019 16:58:02 GMT) Full text and rfc822 format available.

Message #17 received at 34573 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Vincent Rouvreau <vincent.rouvreau <at> inria.fr>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, Andreas Enge <andreas <at> enge.fr>,
 34573 <at> debbugs.gnu.org
Subject: Re: bug#34573: Backtrace of guix pull failed
Date: Tue, 19 Feb 2019 11:56:52 -0500
[Message part 1 (text/plain, inline)]
On Tue, Feb 19, 2019 at 05:48:01PM +0100, Vincent Rouvreau wrote:
> Maybe this is not a guix bug but a server issue.
> Sorry for the noise, I will see with the admin.

This is likely related to <https://bugs.gnu.org/30298>.

If so, the solution is to either use nscd, as Ricardo suggested, or to
edit '/etc/nsswitch.conf'.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#34573; Package guix. (Mon, 04 Mar 2019 22:03:02 GMT) Full text and rfc822 format available.

Message #20 received at 34573 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: Vincent Rouvreau <vincent.rouvreau <at> inria.fr>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, 34573 <at> debbugs.gnu.org
Subject: Re: bug#34573: Backtrace of guix pull failed
Date: Mon, 04 Mar 2019 23:02:36 +0100
Hi Vincent,

Ricardo Wurmus <rekado <at> elephly.net> skribis:

>> I wanted to install python, numpy and conda on plafrim as explained here : https://www.plafrim.fr/en/guix/
>> And guix pull failed :
> […]
>> In ./guix/profiles.scm:
>>   1773:23  2 (_)
>> In ./guix/utils.scm:
>>    661:47  1 (xdg-directory _ "/.config" #:ensure? _)
>> In unknown file:
>>            0 (getpw 10837)
>>
>> ERROR: In procedure getpw:
>> In procedure getpw: entry not found
>
> This looks like nscd is not running.

Actually nscd *is* running but it’s been misconfigured on these machines
since a couple of weeks or so—the sysadmins are aware of it and will
take a look shortly.

What happens is that nscd returns nothing for “passwd” database lookups
and as a result, the application (in this case Guile) falls back to its
local NSS implementation, which in turns tries to load an incompatible
libnss*.so file, leading to this lookup failure.

Anyway, this really looks like a setup issue on this machine, so I’m
closing this bug and we can discuss it further with the admins if
needed, Vincent.

Thanks,
Ludo’.




Added tag(s) notabug. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 04 Mar 2019 22:04:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 34573 <at> debbugs.gnu.org and Vincent Rouvreau <vincent.rouvreau <at> inria.fr> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 04 Mar 2019 22:04:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 02 Apr 2019 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.