bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45173: ‘guix search’ traverses all the modules when extra channels a


From: Ludovic Courtès
Subject: bug#45173: ‘guix search’ traverses all the modules when extra channels are used
Date: Tue, 26 Jan 2021 15:06:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Ludovic Courtès <ludovic.courtes@inria.fr> skribis:

> But with multiple channels, all of the guile-module-union directory is
> traversed, and that includes *everything*:
>
> $ /tmp/past/bin/guix describe
> Generacio 1     Dec 11 2020 10:26:58    (nuna)
>   guix-past 829923f
>     repository URL: https://gitlab.inria.fr/guix-hpc/guix-past
>     branch: master
>     commit: 829923f01f894f1e687735627025ada26230832f
>   guix f765577
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: f765577dec0340d035021d030f17b54a3a5fd6b1
> $ strace -o /tmp/,,s /tmp/past/bin/guix search sdfsdf
> $ grep gnu/services /tmp/,,s
> stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/share/guile/site/3.0/gnu/services.scm",
>  {st_mode=S_IFREG|0444, st_size=41045, ...}) = 0
> stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/lib/guile/3.0/site-ccache/gnu/services.go",
>  {st_mode=S_IFREG|0444, st_size=420021, ...}) = 0
> openat(AT_FDCWD, 
> "/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/lib/guile/3.0/site-ccache/gnu/services.go",
>  O_RDONLY|O_CLOEXEC) = 14
> stat("/gnu/store/3jnlvi2akawnxd1jq6m58kxc7nj07phc-guix-module-union/share/guile/site/3.0/gnu/services/shepherd.scm",
>  {st_mode=S_IFREG|0444, st_size=23156, ...}) = 0

False alarm!  This was caused by a #:use-module (gnu) statement in one
of the Guix-Past modules, fixed here:

  
https://gitlab.inria.fr/guix-hpc/guix-past/-/commit/4f5856f85578a04991dc646a06279d51f85973bf

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]