GNU bug report logs - #32456
'add-to-store' RPC rejects symlinks

Previous Next

Package: guix;

Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>

Date: Thu, 16 Aug 2018 16:10:02 UTC

Severity: normal

To reply to this bug, email your comments to 32456 AT debbugs.gnu.org.

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#32456; Package guix. (Thu, 16 Aug 2018 16:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Oleg Pykhalov <go.wigust <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 16 Aug 2018 16:10:02 GMT) Full text and rfc822 format available.

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

From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Guile failed to call package-derivation without pre-inst-env
Date: Thu, 16 Aug 2018 19:09:03 +0300
[Message part 1 (text/plain, inline)]
Hello Guix,

I have an issue with ‘package-derivation’ procedure.  When I use Guile
from my user's profile I get an error but not when I use ‘pre-inst-env’.

The %load-path is differ only in /home/natsu/src/guix when pre-inst-env.

guix (GNU Guix) 689aacc12f1d9c0b511e2010185b2e7a80de5201

--8<---------------cut here---------------start------------->8---
natsu <at> magnolia ~$ guile
GNU Guile 2.2.4
…
scheme@(guile-user)> (use-modules (guix) (guix ui) (guix store))
scheme@(guile-user)> (define c (open-connection))
scheme@(guile-user)> (package-derivation c (@@ (gnu packages base) hello))
guix/store.scm:928:31: In procedure add-to-store: Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "regular file expected" status: 1] 28703c0>)'.
Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guile-user) [1]> ,q

natsu <at> magnolia ~$ ~/src/guix/pre-inst-env guile
GNU Guile 2.2.4
…
scheme@(guile-user)> (use-modules (guix) (guix ui) (guix store))
scheme@(guile-user)> (define c (open-connection))
scheme@(guile-user)> (package-derivation c (@@ (gnu packages base) hello))
$1 = #<derivation /gnu/store/grd5g9m671nhrzl285c64npwlsy3prz2-hello-2.10.drv => /gnu/store/bihfrh609gkxb9dp7n96wlpigiv3krfy-hello-2.10 3c6d8c0>
--8<---------------cut here---------------end--------------->8---

Oleg.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#32456; Package guix. (Mon, 20 Aug 2018 09:56:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Oleg Pykhalov <go.wigust <at> gmail.com>
Cc: 32456 <at> debbugs.gnu.org
Subject: Re: bug#32456: Guile failed to call package-derivation without
 pre-inst-env
Date: Mon, 20 Aug 2018 11:55:28 +0200
Hi,

Oleg Pykhalov <go.wigust <at> gmail.com> skribis:

> I have an issue with ‘package-derivation’ procedure.  When I use Guile
> from my user's profile I get an error but not when I use ‘pre-inst-env’.
>
> The %load-path is differ only in /home/natsu/src/guix when pre-inst-env.
>
> guix (GNU Guix) 689aacc12f1d9c0b511e2010185b2e7a80de5201
>
> natsu <at> magnolia ~$ guile
> GNU Guile 2.2.4
> …
> scheme@(guile-user)> (use-modules (guix) (guix ui) (guix store))
> scheme@(guile-user)> (define c (open-connection))
> scheme@(guile-user)> (package-derivation c (@@ (gnu packages base) hello))
> guix/store.scm:928:31: In procedure add-to-store: Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "regular file expected" status: 1] 28703c0>)'.
> Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.

It might be that the Guix in $GUILE_LOAD_PATH is broken in some way.
Can you check which one that is?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#32456; Package guix. (Mon, 20 Aug 2018 20:43:01 GMT) Full text and rfc822 format available.

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

From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 32456 <at> debbugs.gnu.org
Subject: Re: bug#32456: Guile failed to call package-derivation without
 pre-inst-env
Date: Mon, 20 Aug 2018 23:42:33 +0300
[Message part 1 (text/plain, inline)]
Hello Ludovic,

Thank you for taking a look.

ludo <at> gnu.org (Ludovic Courtès) writes:

> Oleg Pykhalov <go.wigust <at> gmail.com> skribis:
>
>> I have an issue with ‘package-derivation’ procedure.  When I use Guile
>> from my user's profile I get an error but not when I use ‘pre-inst-env’.
>>
>> The %load-path is differ only in /home/natsu/src/guix when pre-inst-env.
>>
>> guix (GNU Guix) 689aacc12f1d9c0b511e2010185b2e7a80de5201
>>
>> natsu <at> magnolia ~$ guile
>> GNU Guile 2.2.4
>> …
>> scheme@(guile-user)> (use-modules (guix) (guix ui) (guix store))
>> scheme@(guile-user)> (define c (open-connection))
>> scheme@(guile-user)> (package-derivation c (@@ (gnu packages base) hello))
>> guix/store.scm:928:31: In procedure add-to-store: Throw to key
>> `srfi-34' with args `(#<condition &nix-protocol-error [message:
>> "regular file expected" status: 1] 28703c0>)'.
>> Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
>
> It might be that the Guix in $GUILE_LOAD_PATH is broken in some way.
> Can you check which one that is?

Sure, I hope the following output is what you mean.  Let me know if you
want another information, please.
--8<---------------cut here---------------start------------->8---
natsu <at> magnolia ~/src/guix$ for path in $(printenv GUILE_LOAD_PATH | tr ':' '\n'); do echo -e "\n"; env GUILE_LOAD_PATH=$path pr
intenv GUILE_LOAD_PATH; env GUILE_LOAD_PATH=$path guile -c '(use-modules (guix) (guix ui) (guix store)) (format #t "~s~%" (pack
age-derivation (open-connection) (@@ (gnu packages base) hello)))'; done


/home/natsu/.guix-profile/share/guile/site/2.2
Backtrace:
In guix/packages.scm:
   923:16 19 (expand-input #<build-daemon 256.97 20fdaf0> #<package…> …)
   878:14 18 (cache! #<weak-table 6/113> #<package perl-boot0 <at> 5.26.…> …)
In unknown file:
          17 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
In guix/packages.scm:
  1202:22 16 (thunk)
  1135:25 15 (bag->derivation #<build-daemon 256.97 20fdaf0> #<<bag…> …)
In srfi/srfi-1.scm:
   592:29 14 (map1 (("source" #<origin "mirror://cpan/src/5.0/p…>) …))
   592:17 13 (map1 (("make" #<package make-boot0 <at> 4.2.1 gnu/pack…>) …))
In guix/packages.scm:
   923:16 12 (expand-input #<build-daemon 256.97 20fdaf0> #<package…> …)
   878:14 11 (cache! #<weak-table 6/113> #<package make-boot0 <at> 4.2.1…> …)
In unknown file:
          10 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
In guix/packages.scm:
  1202:22  9 (thunk)
In guix/derivations.scm:
  1242:24  8 (build-expression->derivation #<build-daemon 256.97 20…> …)
  1004:18  7 (imported-files #<build-daemon 256.97 20fdaf0> ((. #) …) …)
In srfi/srfi-1.scm:
   592:29  6 (map1 (("guix/build/gnu-build-system.scm" . "/home/…") …))
   592:29  5 (map1 (("guix/build/utils.scm" . "/home/natsu/.guix…") …))
   592:29  4 (map1 (("guix/build/gremlin.scm" . "/home/natsu/.gu…") …))
   592:17  3 (map1 (("guix/elf.scm" . "/home/natsu/.guix-profile/s…")))
In guix/derivations.scm:
  1007:31  2 (_ _)
In guix/store.scm:
   948:24  1 (_ #<build-daemon 256.97 20fdaf0> "elf.scm" #f "sha256" …)
   928:31  0 (add-to-store #<build-daemon 256.97 20fdaf0> _ #f "sha…" …)

guix/store.scm:928:31: In procedure add-to-store:
Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "regular file expected" status: 1] 3539000>)'.


/run/current-system/profile/share/guile/site/2.2
#<derivation /gnu/store/p2hmc4wv59kxvhvxa1dwjjps0g38ikc1-hello-2.10.drv => /gnu/store/bihfrh609gkxb9dp7n96wlpigiv3krfy-hello-2.10 4c6e500>


/home/natsu/.guix-profile/share/guile/site/2.2
Backtrace:
In guix/packages.scm:
   923:16 19 (expand-input #<build-daemon 256.97 114a640> #<package…> …)
   878:14 18 (cache! #<weak-table 6/113> #<package perl-boot0 <at> 5.26.…> …)
In unknown file:
          17 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
In guix/packages.scm:
  1202:22 16 (thunk)
  1135:25 15 (bag->derivation #<build-daemon 256.97 114a640> #<<bag…> …)
In srfi/srfi-1.scm:
   592:29 14 (map1 (("source" #<origin "mirror://cpan/src/5.0/p…>) …))
   592:17 13 (map1 (("make" #<package make-boot0 <at> 4.2.1 gnu/pack…>) …))
In guix/packages.scm:
   923:16 12 (expand-input #<build-daemon 256.97 114a640> #<package…> …)
   878:14 11 (cache! #<weak-table 6/113> #<package make-boot0 <at> 4.2.1…> …)
In unknown file:
          10 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
In guix/packages.scm:
  1202:22  9 (thunk)
In guix/derivations.scm:
  1242:24  8 (build-expression->derivation #<build-daemon 256.97 11…> …)
  1004:18  7 (imported-files #<build-daemon 256.97 114a640> ((. #) …) …)
In srfi/srfi-1.scm:
   592:29  6 (map1 (("guix/build/gnu-build-system.scm" . "/home/…") …))
   592:29  5 (map1 (("guix/build/utils.scm" . "/home/natsu/.guix…") …))
   592:29  4 (map1 (("guix/build/gremlin.scm" . "/home/natsu/.gu…") …))
   592:17  3 (map1 (("guix/elf.scm" . "/home/natsu/.guix-profile/s…")))
In guix/derivations.scm:
  1007:31  2 (_ _)
In guix/store.scm:
   948:24  1 (_ #<build-daemon 256.97 114a640> "elf.scm" #f "sha256" …)
   928:31  0 (add-to-store #<build-daemon 256.97 114a640> _ #f "sha…" …)

guix/store.scm:928:31: In procedure add-to-store:
Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "regular file expected" status: 1] 27ba7e0>)'.


/run/current-system/profile/share/guile/site/2.2
#<derivation /gnu/store/p2hmc4wv59kxvhvxa1dwjjps0g38ikc1-hello-2.10.drv => /gnu/store/bihfrh609gkxb9dp7n96wlpigiv3krfy-hello-2.10 3933960>
--8<---------------cut here---------------end--------------->8---

Oleg.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#32456; Package guix. (Tue, 21 Aug 2018 10:06:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Oleg Pykhalov <go.wigust <at> gmail.com>
Cc: 32456 <at> debbugs.gnu.org
Subject: Re: bug#32456: Guile failed to call package-derivation without
 pre-inst-env
Date: Tue, 21 Aug 2018 12:05:38 +0200
Hi,

Oleg Pykhalov <go.wigust <at> gmail.com> skribis:

> natsu <at> magnolia ~/src/guix$ for path in $(printenv GUILE_LOAD_PATH | tr ':' '\n'); do echo -e "\n"; env GUILE_LOAD_PATH=$path pr
> intenv GUILE_LOAD_PATH; env GUILE_LOAD_PATH=$path guile -c '(use-modules (guix) (guix ui) (guix store)) (format #t "~s~%" (pack
> age-derivation (open-connection) (@@ (gnu packages base) hello)))'; done
>
>
> /home/natsu/.guix-profile/share/guile/site/2.2
> Backtrace:
> In guix/packages.scm:
>    923:16 19 (expand-input #<build-daemon 256.97 20fdaf0> #<package…> …)
>    878:14 18 (cache! #<weak-table 6/113> #<package perl-boot0 <at> 5.26.…> …)
> In unknown file:
>           17 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
> In guix/packages.scm:
>   1202:22 16 (thunk)
>   1135:25 15 (bag->derivation #<build-daemon 256.97 20fdaf0> #<<bag…> …)
> In srfi/srfi-1.scm:
>    592:29 14 (map1 (("source" #<origin "mirror://cpan/src/5.0/p…>) …))
>    592:17 13 (map1 (("make" #<package make-boot0 <at> 4.2.1 gnu/pack…>) …))
> In guix/packages.scm:
>    923:16 12 (expand-input #<build-daemon 256.97 20fdaf0> #<package…> …)
>    878:14 11 (cache! #<weak-table 6/113> #<package make-boot0 <at> 4.2.1…> …)
> In unknown file:
>           10 (_ #<procedure thunk ()> #<procedure list _> #<undefined>)
> In guix/packages.scm:
>   1202:22  9 (thunk)
> In guix/derivations.scm:
>   1242:24  8 (build-expression->derivation #<build-daemon 256.97 20…> …)
>   1004:18  7 (imported-files #<build-daemon 256.97 20fdaf0> ((. #) …) …)
> In srfi/srfi-1.scm:
>    592:29  6 (map1 (("guix/build/gnu-build-system.scm" . "/home/…") …))
>    592:29  5 (map1 (("guix/build/utils.scm" . "/home/natsu/.guix…") …))
>    592:29  4 (map1 (("guix/build/gremlin.scm" . "/home/natsu/.gu…") …))
>    592:17  3 (map1 (("guix/elf.scm" . "/home/natsu/.guix-profile/s…")))
> In guix/derivations.scm:
>   1007:31  2 (_ _)
> In guix/store.scm:
>    948:24  1 (_ #<build-daemon 256.97 20fdaf0> "elf.scm" #f "sha256" …)
>    928:31  0 (add-to-store #<build-daemon 256.97 20fdaf0> _ #f "sha…" …)
>
> guix/store.scm:928:31: In procedure add-to-store:
> Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "regular file expected" status: 1] 3539000>)'.

The problem here is that
~/.guix-profile/share/guile/site/2.2/guix/elf.scm is a symlink.  When
doing an ‘add-to-store’ RPC with #:recursive? #f, we pass that file
name, but the daemon rejects it because it’s not a regular file (it’s a
symlink; see nix-daemon.cc:416.)

I don’t understand the purpose of this check in nix-daemon.cc; I think
it’s useless.  However, removing it alone doesn’t solve the problem for
clients talking to old daemons.  So we’d need ‘add-to-store’ to resolve
symlinks when it’s talking to an old daemon.


However, I don’t understand why guix/elf.scm is a symlink in your
profile.  First that means you installed the ‘guix’ package in your
profile, which is not recommended (better have it in the ‘guix
pull’-managed profile.)  Second, that also means that two guix/
subdirectories were merged into one by ‘union-build’, which is
surprising: presumably only ‘guix’ provides such a subdirectory.
What do these commands report:

  ls -l ~/.guix-profile/share/guile/site/2.2/guix
  ls -l $(readlink ~/.guix-profile/share/guile/site/2.2/guix)

?

Thanks,
Ludo’.




Changed bug title to ''add-to-store' RPC rejects symlinks' from 'Guile failed to call package-derivation without pre-inst-env' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Tue, 21 Aug 2018 10:07:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#32456; Package guix. (Tue, 21 Aug 2018 21:04:01 GMT) Full text and rfc822 format available.

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

From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 32456 <at> debbugs.gnu.org
Subject: Re: bug#32456: Guile failed to call package-derivation without
 pre-inst-env
Date: Wed, 22 Aug 2018 00:02:41 +0300
[Message part 1 (text/plain, inline)]
Hello.

ludo <at> gnu.org (Ludovic Courtès) writes:

> Oleg Pykhalov <go.wigust <at> gmail.com> skribis:

[…]

> However, I don’t understand why guix/elf.scm is a symlink in your
> profile.  First that means you installed the ‘guix’ package in your
> profile, which is not recommended (better have it in the ‘guix
> pull’-managed profile.)

I don't have ‘guix’ package installed, but I have one not published
package with one script inside.  The script is a modified version of
‘guix edit’ script which opens a Hydra page for PACKAGE arguments.

guix-browse	0.1-1.83022c9	out
/gnu/store/…-guix-browse-0.1-1.83022c9
--8<---------------cut here---------------start------------->8---
/gnu/store/…-guix-browse-0.1-1.83022c9/share/guile/site/2.2/guix/scripts/browse.scm
--8<---------------cut here---------------end--------------->8---

> Second, that also means that two guix/ subdirectories were merged into
> one by ‘union-build’, which is surprising: presumably only ‘guix’
> provides such a subdirectory.  What do these commands report:
>
>   ls -l ~/.guix-profile/share/guile/site/2.2/guix
--8<---------------cut here---------------start------------->8---
total 272
lrwxrwxrwx 2 root root  102 Jan  1  1970 base16.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/base16.scm
lrwxrwxrwx 2 root root  102 Jan  1  1970 base32.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/base32.scm
lrwxrwxrwx 2 root root  102 Jan  1  1970 base64.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/base64.scm
lrwxrwxrwx 2 root root   97 Jan  1  1970 build -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/build
lrwxrwxrwx 2 root root  104 Jan  1  1970 build-system -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/build-system
lrwxrwxrwx 2 root root  108 Jan  1  1970 build-system.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/build-system.scm
lrwxrwxrwx 2 root root  101 Jan  1  1970 cache.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/cache.scm
lrwxrwxrwx 2 root root   98 Jan  1  1970 ci.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/ci.scm
lrwxrwxrwx 2 root root  107 Jan  1  1970 combinators.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/combinators.scm
lrwxrwxrwx 2 root root  102 Jan  1  1970 config.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/config.scm
lrwxrwxrwx 2 root root  100 Jan  1  1970 cpio.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/cpio.scm
lrwxrwxrwx 2 root root   99 Jan  1  1970 cve.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/cve.scm
lrwxrwxrwx 2 root root  108 Jan  1  1970 cvs-download.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/cvs-download.scm
lrwxrwxrwx 2 root root  107 Jan  1  1970 derivations.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/derivations.scm
lrwxrwxrwx 2 root root  105 Jan  1  1970 discovery.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/discovery.scm
lrwxrwxrwx 2 root root  102 Jan  1  1970 docker.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/docker.scm
lrwxrwxrwx 2 root root  104 Jan  1  1970 download.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/download.scm
lrwxrwxrwx 2 root root   99 Jan  1  1970 elf.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/elf.scm
lrwxrwxrwx 2 root root  106 Jan  1  1970 ftp-client.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/ftp-client.scm
lrwxrwxrwx 2 root root  102 Jan  1  1970 gcrypt.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/gcrypt.scm
lrwxrwxrwx 2 root root  100 Jan  1  1970 gexp.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/gexp.scm
lrwxrwxrwx 2 root root  108 Jan  1  1970 git-download.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/git-download.scm
lrwxrwxrwx 2 root root   99 Jan  1  1970 git.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/git.scm
lrwxrwxrwx 2 root root  100 Jan  1  1970 glob.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/glob.scm
lrwxrwxrwx 2 root root  111 Jan  1  1970 gnu-maintenance.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/gnu-maintenance.scm
lrwxrwxrwx 2 root root  101 Jan  1  1970 gnupg.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/gnupg.scm
lrwxrwxrwx 2 root root  102 Jan  1  1970 grafts.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/grafts.scm
lrwxrwxrwx 2 root root  101 Jan  1  1970 graph.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/graph.scm
lrwxrwxrwx 2 root root  100 Jan  1  1970 hash.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/hash.scm
lrwxrwxrwx 2 root root  107 Jan  1  1970 hg-download.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/hg-download.scm
lrwxrwxrwx 2 root root  107 Jan  1  1970 http-client.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/http-client.scm
lrwxrwxrwx 2 root root  100 Jan  1  1970 i18n.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/i18n.scm
lrwxrwxrwx 2 root root   98 Jan  1  1970 import -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/import
lrwxrwxrwx 2 root root  104 Jan  1  1970 inferior.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/inferior.scm
lrwxrwxrwx 2 root root  104 Jan  1  1970 licenses.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/licenses.scm
lrwxrwxrwx 2 root root  102 Jan  1  1970 man-db.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/man-db.scm
lrwxrwxrwx 2 root root  107 Jan  1  1970 memoization.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/memoization.scm
lrwxrwxrwx 2 root root  103 Jan  1  1970 modules.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/modules.scm
lrwxrwxrwx 2 root root  106 Jan  1  1970 monad-repl.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/monad-repl.scm
lrwxrwxrwx 2 root root  102 Jan  1  1970 monads.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/monads.scm
lrwxrwxrwx 2 root root   99 Jan  1  1970 nar.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/nar.scm
lrwxrwxrwx 2 root root  104 Jan  1  1970 packages.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/packages.scm
lrwxrwxrwx 2 root root  105 Jan  1  1970 pk-crypto.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/pk-crypto.scm
lrwxrwxrwx 2 root root   99 Jan  1  1970 pki.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/pki.scm
lrwxrwxrwx 2 root root   95 Jan  1  1970 process-engines -> /gnu/store/63clfx6533h0cqil2dk7wddvdpfbzxi4-gwl-0.1.1/share/guile/site/2.2/guix/process-engines
lrwxrwxrwx 2 root root   99 Jan  1  1970 process-engines.scm -> /gnu/store/63clfx6533h0cqil2dk7wddvdpfbzxi4-gwl-0.1.1/share/guile/site/2.2/guix/process-engines.scm
lrwxrwxrwx 2 root root   93 Jan  1  1970 processes.scm -> /gnu/store/63clfx6533h0cqil2dk7wddvdpfbzxi4-gwl-0.1.1/share/guile/site/2.2/guix/processes.scm
lrwxrwxrwx 2 root root  104 Jan  1  1970 profiles.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/profiles.scm
lrwxrwxrwx 2 root root  105 Jan  1  1970 profiling.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/profiling.scm
lrwxrwxrwx 2 root root  104 Jan  1  1970 progress.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/progress.scm
lrwxrwxrwx 2 root root  103 Jan  1  1970 records.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/records.scm
dr-xr-xr-x 2 root root 4096 Jan  1  1970 scripts
lrwxrwxrwx 2 root root  103 Jan  1  1970 scripts.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/scripts.scm
lrwxrwxrwx 2 root root  108 Jan  1  1970 search-paths.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/search-paths.scm
lrwxrwxrwx 2 root root  100 Jan  1  1970 self.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/self.scm
lrwxrwxrwx 2 root root  109 Jan  1  1970 serialization.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/serialization.scm
lrwxrwxrwx 2 root root  100 Jan  1  1970 sets.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/sets.scm
lrwxrwxrwx 2 root root   99 Jan  1  1970 ssh.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/ssh.scm
lrwxrwxrwx 2 root root   97 Jan  1  1970 store -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/store
lrwxrwxrwx 2 root root  101 Jan  1  1970 store.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/store.scm
lrwxrwxrwx 2 root root  108 Jan  1  1970 svn-download.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/svn-download.scm
lrwxrwxrwx 2 root root   98 Jan  1  1970 ui.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/ui.scm
lrwxrwxrwx 2 root root  104 Jan  1  1970 upstream.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/upstream.scm
lrwxrwxrwx 2 root root  101 Jan  1  1970 utils.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/utils.scm
lrwxrwxrwx 2 root root  103 Jan  1  1970 workers.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/workers.scm
lrwxrwxrwx 2 root root   89 Jan  1  1970 workflows -> /gnu/store/63clfx6533h0cqil2dk7wddvdpfbzxi4-gwl-0.1.1/share/guile/site/2.2/guix/workflows
lrwxrwxrwx 2 root root   93 Jan  1  1970 workflows.scm -> /gnu/store/63clfx6533h0cqil2dk7wddvdpfbzxi4-gwl-0.1.1/share/guile/site/2.2/guix/workflows.scm
lrwxrwxrwx 2 root root  100 Jan  1  1970 zlib.scm -> /gnu/store/k80mjdq8m17zb1k0vs8ahh8ank5w55gk-guix-0.15.0-2.8bbb79c/share/guile/site/2.2/guix/zlib.scm
--8<---------------cut here---------------end--------------->8---

>   ls -l $(readlink ~/.guix-profile/share/guile/site/2.2/guix)
--8<---------------cut here---------------start------------->8---
total 34868
-rw-r--r-- 1 natsu users     7489 May  9 22:44 0001-emacs-implement-recursive-import.patch
-rw-r--r-- 1 natsu users     2681 Jul 10 06:36 0001-git-Call-url-cache-directory-outside-update-cached-c.patch
-rw-r--r-- 1 natsu users     4788 Apr 16 16:57 0001-gnu-Add-emacs-emacsql.patch
-rw-r--r-- 1 natsu users     1957 May 14 18:38 0001-gnu-Add-emacs-ivy-yasnippet.patch
-rw-r--r-- 1 natsu users     6418 May  6 16:23 0001-gnu-Add-inxi.patch
-rw-r--r-- 1 natsu users     1098 Aug 16 15:31 0001-gnu-restic-Set-a-variable-to-disable-FUSE-tests.patch
-rw-r--r-- 1 natsu users     1406 Jun 19 00:27 0001-gnu-sbcl-stumpwm-Update-to-18.05.patch
-rw-r--r-- 1 natsu users     1111 Aug 11 15:43 0001-gnu-services-rsync-Require-loopback.patch
-rw-r--r-- 1 natsu users     1014 Jun 30 10:54 0001-import-elpa-Check-if-fetch-elpa-package-rest-argumen.patch
-rw-r--r-- 1 natsu users     8026 May 10 11:36 0001-import-elpa-Implement-recursive-import.patch
-rw-r--r-- 1 natsu users    18985 May 30 19:30 0001-import-utils-Add-recursive-import.patch
-rw-r--r-- 1 natsu users    10489 Aug  1 20:18 0001-services-Add-ddclient-service.patch
-rw-r--r-- 1 natsu users     3278 Jun 24 13:40 0001-services-sound-Properly-handle-alsa-plugins.patch
-rw-r--r-- 1 natsu users    93787 Nov 16  2017 ABOUT-NLS
-rw-r--r-- 1 natsu users    69518 Aug  4 15:19 aclocal.m4
-rw-r--r-- 1 natsu users      472 Jun 28  2017 AUTHORS
drwxr-xr-x 2 natsu users     4096 Aug  4 15:19 autom4te.cache
-rw-r--r-- 1 natsu users      118 Dec 11  2017 berlin.guixsd.org.pub
-rwxr-xr-x 1 natsu users       69 Jun 28  2017 bootstrap
drwxr-xr-x 4 natsu users     4096 Aug  4 15:19 build-aux
lrwxrwxrwx 1 natsu users       51 Aug 12 23:11 build-env -> /gnu/store/cq0yx6a83sj8kggbk5kymd2ikw0s3k6n-profile
-rw-r--r-- 1 natsu users      163 Jun 28  2017 ChangeLog
-rw-r--r-- 1 natsu users     3273 Aug  4 15:19 CODE-OF-CONDUCT
-rw-r--r-- 1 natsu users     5471 Aug  4 15:19 config-daemon.ac
-rw-r--r-- 1 natsu users    53769 Aug 20 10:14 config.log
-rwxr-xr-x 1 natsu users    46078 Aug  4 15:19 config.status
-rwxr-xr-x 1 natsu users   355153 Aug  4 15:19 configure
-rw-r--r-- 1 natsu users     8807 Aug  4 15:19 configure.ac
-rw-r--r-- 1 natsu users     9086 May 26 16:04 contributers.txt
-rw-r--r-- 1 natsu users    35147 Jun 28  2017 COPYING
-rw-r--r-- 1 natsu users   339545 Jun 28  2017 d3.v3.js
-rw-r--r-- 1 natsu users    56535 Jul 13 10:21 ddclient-debug
drwxr-xr-x 3 natsu users     4096 Aug 20 10:16 doc
drwxr-xr-x 5 natsu users     4096 Aug  4 15:19 etc
-rw-r--r-- 1 natsu users  2066071 Feb 17  2018 ghc-pandoc.log
-rw-r--r-- 1 natsu users   275437 Feb 17  2018 ghc-resourcet.log
drwxr-xr-x 8 natsu users     4096 Aug 20 10:14 gnu
-rw-r--r-- 1 natsu users    80541 Aug 15 19:56 gnu.go
-rw-r--r-- 1 natsu users     5309 Nov 13  2017 gnu.scm
-rw-r--r-- 1 natsu users     4207 Jun 28  2017 graph.js
drwxr-xr-x 8 natsu users     4096 Aug 20 10:15 guix
-rwxr-xr-x 1 natsu users 12312712 Aug  4 15:20 guix-daemon
-rw-r--r-- 1 natsu users    68797 Aug 15 19:56 guix.go
-rw-r--r-- 1 natsu users     1357 Dec 20  2017 guix.scm
-rw-r--r-- 1 natsu users     3161 Aug  4 15:19 HACKING
-rw-r--r-- 1 natsu users     1083 Jun 28  2017 hydra.gnu.org.pub
-r--r--r-- 1 natsu users    15756 Jul  6 06:12 INSTALL
-rw-r--r-- 1 natsu users   665782 Aug  4 15:19 libformat.a
-rw-r--r-- 1 natsu users 14436518 Aug  4 15:20 libstore.a
-rw-r--r-- 1 natsu users  3458238 Aug  4 15:20 libutil.a
-rw-r--r-- 1 natsu users     1014 Apr 28 11:51 log
drwxr-xr-x 2 natsu users     4096 Aug  4 15:19 m4
-rw-r--r-- 1 natsu users   272990 Aug 20 10:14 Makefile
-rw-r--r-- 1 natsu users    26222 Aug 20 10:14 Makefile.am
-rw-r--r-- 1 natsu users   287246 Aug 20 10:14 Makefile.in
-rw-r--r-- 1 natsu users   339826 Aug  4 15:19 NEWS
drwxr-xr-x 8 natsu users     4096 Aug  4 15:19 nix
drwxr-xr-x 2 natsu users     4096 Mar 20 19:29 patches
drwxr-xr-x 2 natsu users     4096 Mar 20 19:29 patches-emacs-epkg
drwxr-xr-x 2 natsu users     4096 Mar 25 12:55 patches-translate-shell
drwxr-xr-x 5 natsu users     4096 Aug  4 10:11 po
-rwxr-xr-x 1 natsu users     2681 Aug  4 15:19 pre-inst-env
-rwxr-xr-x 1 natsu users      650 Feb 10  2018 prepare-commit-msg
-rw-r--r-- 1 natsu users     6641 Aug  4 15:19 README
-rw-r--r-- 1 natsu users     4619 Jun 28  2017 release.nix
-rw-r--r-- 1 natsu users     3237 Jun 28  2017 ROADMAP
drwxr-xr-x 2 natsu users     4096 Aug 20 10:14 scripts
-rw-r--r-- 1 natsu users     2238 Jul 18 19:04 test
-rwxr-xr-x 1 natsu users     5911 Aug  4 15:19 test-env
drwxr-xr-x 2 natsu users    12288 Aug  4 15:19 tests
-rw-r--r-- 1 natsu users     2381 Jun 28  2017 THANKS
-rw-r--r-- 1 natsu users     2843 Nov 26  2017 TODO
-rw-r--r-- 1 natsu users     1285 Aug  8 20:50 todo.org
-rw-r--r-- 1 natsu users    11769 Jun 14 14:48 todo-restic.org
--8<---------------cut here---------------end--------------->8---

Regards,
Oleg.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#32456; Package guix. (Wed, 22 Aug 2018 13:34:03 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Oleg Pykhalov <go.wigust <at> gmail.com>
Cc: 32456 <at> debbugs.gnu.org
Subject: Re: bug#32456: Guile failed to call package-derivation without
 pre-inst-env
Date: Wed, 22 Aug 2018 15:32:48 +0200
Hi Oleg,

Oleg Pykhalov <go.wigust <at> gmail.com> skribis:

> ludo <at> gnu.org (Ludovic Courtès) writes:
>
>> Oleg Pykhalov <go.wigust <at> gmail.com> skribis:
>
> […]
>
>> However, I don’t understand why guix/elf.scm is a symlink in your
>> profile.  First that means you installed the ‘guix’ package in your
>> profile, which is not recommended (better have it in the ‘guix
>> pull’-managed profile.)
>
> I don't have ‘guix’ package installed, but I have one not published
> package with one script inside.  The script is a modified version of
> ‘guix edit’ script which opens a Hydra page for PACKAGE arguments.
>
> guix-browse	0.1-1.83022c9	out
> /gnu/store/…-guix-browse-0.1-1.83022c9
>
> /gnu/store/…-guix-browse-0.1-1.83022c9/share/guile/site/2.2/guix/scripts/browse.scm

Oh I see, that may be why guix/*.scm is a symlink (I’m guessing your
package has ‘guix’ in ‘propagated-inputs’, right?).

(It looks like a nice tool BTW, you should tell us more about it.  ;-)
I really think we should build more tools to interact with the CI
system, sort-of like what ‘guix weather’ does.)

I’ll see if I can work on the actual bug later on.

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#32456; Package guix. (Wed, 22 Aug 2018 21:12:01 GMT) Full text and rfc822 format available.

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

From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 32456 <at> debbugs.gnu.org
Subject: Re: bug#32456: Guile failed to call package-derivation without
 pre-inst-env
Date: Thu, 23 Aug 2018 00:11:38 +0300
[Message part 1 (text/plain, inline)]
Hello Ludovic,

ludo <at> gnu.org (Ludovic Courtès) writes:

[…]

>>> However, I don’t understand why guix/elf.scm is a symlink in your
>>> profile.  First that means you installed the ‘guix’ package in your
>>> profile, which is not recommended (better have it in the ‘guix
>>> pull’-managed profile.)
>>
>> I don't have ‘guix’ package installed, but I have one not published
>> package with one script inside.  The script is a modified version of
>> ‘guix edit’ script which opens a Hydra page for PACKAGE arguments.
>>
>> guix-browse	0.1-1.83022c9	out
>> /gnu/store/…-guix-browse-0.1-1.83022c9
>>
>> /gnu/store/…-guix-browse-0.1-1.83022c9/share/guile/site/2.2/guix/scripts/browse.scm
>
> Oh I see, that may be why guix/*.scm is a symlink (I’m guessing your
> package has ‘guix’ in ‘propagated-inputs’, right?).

Unfortunately, no.  The ‘guix’ package is not in propagated-inputs or in
any other inputs of ‘guix-browse’ package.

Taking a quick look onto ‘~/.guix-profile/manifest’ I found that the
‘gwl’ package has ‘guix’ inside ‘propagated-inputs’.

> (It looks like a nice tool BTW, you should tell us more about it.  ;-)
>
> I really think we should build more tools to interact with the CI
> system, sort-of like what ‘guix weather’ does.)

Sure, I will send an email after a refactoring.  :-) It doesn't do much
except calling a ‘$BROWSER’ though.

> I’ll see if I can work on the actual bug later on.

Thank you and be free to ask more information from me.

Oleg.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 6 years and 339 days ago.

Previous Next


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