* bug#34573: Backtrace of guix pull failed
@ 2019-02-19 9:55 Vincent Rouvreau
2019-02-19 15:42 ` Andreas Enge
2019-02-19 16:08 ` Ricardo Wurmus
0 siblings, 2 replies; 6+ messages in thread
From: Vincent Rouvreau @ 2019-02-19 9:55 UTC (permalink / raw)
To: 34573
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@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#34573: Backtrace of guix pull failed
2019-02-19 9:55 bug#34573: Backtrace of guix pull failed Vincent Rouvreau
@ 2019-02-19 15:42 ` Andreas Enge
2019-02-19 16:48 ` Vincent Rouvreau
2019-02-19 16:08 ` Ricardo Wurmus
1 sibling, 1 reply; 6+ messages in thread
From: Andreas Enge @ 2019-02-19 15:42 UTC (permalink / raw)
To: Vincent Rouvreau; +Cc: 34573
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#34573: Backtrace of guix pull failed
2019-02-19 9:55 bug#34573: Backtrace of guix pull failed Vincent Rouvreau
2019-02-19 15:42 ` Andreas Enge
@ 2019-02-19 16:08 ` Ricardo Wurmus
2019-03-04 22:02 ` Ludovic Courtès
1 sibling, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2019-02-19 16:08 UTC (permalink / raw)
To: Vincent Rouvreau; +Cc: 34573
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#34573: Backtrace of guix pull failed
2019-02-19 15:42 ` Andreas Enge
@ 2019-02-19 16:48 ` Vincent Rouvreau
2019-02-19 16:56 ` Leo Famulari
0 siblings, 1 reply; 6+ messages in thread
From: Vincent Rouvreau @ 2019-02-19 16:48 UTC (permalink / raw)
To: Andreas Enge, Ricardo Wurmus; +Cc: 34573
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@enge.fr>
> À: "vincent rouvreau" <vincent.rouvreau@inria.fr>
> Cc: 34573@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#34573: Backtrace of guix pull failed
2019-02-19 16:48 ` Vincent Rouvreau
@ 2019-02-19 16:56 ` Leo Famulari
0 siblings, 0 replies; 6+ messages in thread
From: Leo Famulari @ 2019-02-19 16:56 UTC (permalink / raw)
To: Vincent Rouvreau; +Cc: 34573
[-- Attachment #1: Type: text/plain, Size: 323 bytes --]
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'.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#34573: Backtrace of guix pull failed
2019-02-19 16:08 ` Ricardo Wurmus
@ 2019-03-04 22:02 ` Ludovic Courtès
0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2019-03-04 22:02 UTC (permalink / raw)
To: Vincent Rouvreau; +Cc: 34573
Hi Vincent,
Ricardo Wurmus <rekado@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’.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-03-04 22:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-19 9:55 bug#34573: Backtrace of guix pull failed Vincent Rouvreau
2019-02-19 15:42 ` Andreas Enge
2019-02-19 16:48 ` Vincent Rouvreau
2019-02-19 16:56 ` Leo Famulari
2019-02-19 16:08 ` Ricardo Wurmus
2019-03-04 22:02 ` Ludovic Courtès
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.