No 'guix pull' substitutes for foreign distros?

  • Done
  • quality assurance status badge
Details
2 participants
  • Nigko Yerden
  • pelzflorian (Florian Pelz)
Owner
unassigned
Submitted by
Nigko Yerden
Severity
normal
N
N
Nigko Yerden wrote on 15 May 05:46 +0200
(address . bug-guix@gnu.org)
4ea9df12-31ab-4cec-ac46-8306f8b604ad@gmail.com
Hello Guix!

I have two systems: first (A) is a full Guix system and second (B) is a
foreign distribution with Guix package manager installed onto. I have
noticed when I'm performing 'guix pull' system B always build 'guix
pull' derivations by itself while system A most often just download
substitutes for them. The latter, of course, is much faster.

Here is how it looks on system B (commit
014875b29e68da6357a5323e6dd1eaa74a05b753):

$ guix pull
Updating channel 'guix' from Git repository at
Authenticating channel 'guix', commits 9edb3f6 to 08360a2 (781 new
commits)...
Building from these channels:
substitute: updating substitutes from
26,4 MB will be downloaded
....
The following derivations will be built:
/gnu/store/q9b8yr9452im7mmah1cfk2dpy44y755v-profile.drv
/gnu/store/87avc5s6q4xq1rdk26cnlviai7hfjzi0-inferior-script.scm.drv
/gnu/store/saji8f542jbrmj6315lxrgmgjdgrzlx4-guix-08360a2cd.drv
/gnu/store/3j2xd5l3q0s1jf9798fr4s3k3ky5fw07-guix-manual.drv
/gnu/store/42bwpkmcv6jsdzhsxc0pwc13k1fgxh25-guix-08360a2cd-modules.drv

/gnu/store/2cl0dr63d900v6406hs10qgjsp7iaysi-guix-packages-base-modules.drv
/gnu/store/j8av01zjcx9kimjm0yrdrkhmiba7wwmj-guix-packages-base.drv
/gnu/store/a7w5hbq6kppl90838b3iwpgn4v93jv75-guix-extra.drv
/gnu/store/gd8lqzj70wx5qgx39lnh3lh4g5slln5g-guix-core-source.drv
/gnu/store/2f0z0x4nqpwgwmrk5qs7ka0p3y2a2gny-config.scm.drv
/gnu/store/6r0k3wg5bcjnjdjlx8rvxr2q3izyhgvh-guix-system-tests-modules.drv
/gnu/store/7pmrsz3mlnhiggm3pz99wiyrddahl9mb-guix-system-tests.drv
/gnu/store/3jwjfb0rjxsvv4xy0m65db0nmbg56nx7-guix-cli.drv
/gnu/store/87yna60fdd0gv70nb4svqvxq8br4cbm6-guix-cli-core.drv
/gnu/store/b28ayyn4jqfz5dbgcshh5gmayzms65wj-guix-system.drv
/gnu/store/x5x97w98q16myzx3rfik1gs06n1vbccr-guix-packages.drv
/gnu/store/sxhm9vii5lwig55vjpc4jz639r9ygdyx-guix-home.drv
/gnu/store/7i2z4b2imjxc0qd5kgis9c045ybq0wwy-guix-system-modules.drv
/gnu/store/f3qxxs77klhk0q8bvsxdly1xr147wb9s-guix-cli-modules.drv
/gnu/store/fl6m42fdnykhd5drv42s1zn5x18vbiy9-guix-extra-modules.drv
/gnu/store/h7ynn7s9p8ywd5s2s4g43l6rgkqdidqd-guix-home-modules.drv
/gnu/store/i0qnblii1as7yk2pz3vvvfd9mh28fdzv-guix-config-modules.drv
/gnu/store/m02vi15w4chc27kgrf2x55riacsl20gc-guix-config-source.drv
/gnu/store/6z80pzmm18nmbmblk9mh2vjl1hvdzm02-config.scm.drv
/gnu/store/jilxlihmy07h9xhr1pbxw5i01b4l1js1-guix-cli-core-modules.drv
/gnu/store/ng76j3d6m66w7jfk0gds9204zp4l727p-guix-packages-modules.drv
/gnu/store/znffqlp69qjbvzpnjvvfmpc4fq6q9b8w-guix-core-modules.drv
/gnu/store/qxaqgq36bg5mi210yflrg31hz3nxjfb3-guix-command.drv
/gnu/store/as05nvh2dq4s0pb0lxkmcyf407c7wjcm-guix-module-union.drv
/gnu/store/qxsz62r8giy0hf8qqzzv8f35g6470kcj-guix-daemon.drv
/gnu/store/za0rf8ypn7v1a9a7cc7fmnnh7pig5580-guix-misc.drv
/gnu/store/pf1h4mhpp6qhvixzr4172v81wqy1wj1x-inferior-script.scm.drv
/gnu/store/3aci63l4yq7i9jh4v55f0lyk3hji8z1w-inferior-script.scm.drv
/gnu/store/3kjkjx8fayv97p48rgdmi51mlwx6lb7c-profile.drv

3,0 MB will be downloaded
module-import-compiled 128KiB 57KiB/s 00:02
???????????????????? 100.0%
guix-config 4KiB 647KiB/s 00:00
???????????????????? 100.0%
guix-core 1.8MiB 418KiB/s 00:04
???????????????????? 100.0%
guix-translated-texinfo 1.7MiB 971KiB/s 00:02
???????????????????? 100.0%
module-import-compiled 8KiB 13KiB/s 00:01
???????????????????? 100.0%
module-import-compiled 47KiB 88KiB/s 00:01
???????????????????? 100.0%
module-import-compiled 66KiB 20KiB/s 00:03
???????????????????? 100.0%
module-import-compiled 97KiB 6KiB/s 00:17
???????????????????? 100.0%
module-import-compiled 54KiB 8KiB/s 00:07
???????????????????? 100.0%
building /gnu/store/2f0z0x4nqpwgwmrk5qs7ka0p3y2a2gny-config.scm.drv...
building /gnu/store/6z80pzmm18nmbmblk9mh2vjl1hvdzm02-config.scm.drv...
applying 9 grafts for gd-2.3.2 ...
applying 5 grafts for gts-0.7.6 ...
building
/gnu/store/m02vi15w4chc27kgrf2x55riacsl20gc-guix-config-source.drv...
applying 19 grafts for graphviz-minimal-7.0.1 ...
building
/gnu/store/i0qnblii1as7yk2pz3vvvfd9mh28fdzv-guix-config-modules.drv...
building /gnu/store/gd8lqzj70wx5qgx39lnh3lh4g5slln5g-guix-core-source.drv...
building /gnu/store/za0rf8ypn7v1a9a7cc7fmnnh7pig5580-guix-misc.drv...
building
/gnu/store/znffqlp69qjbvzpnjvvfmpc4fq6q9b8w-guix-core-modules.drv...
building /gnu/store/a7w5hbq6kppl90838b3iwpgn4v93jv75-guix-extra.drv...
building
/gnu/store/87avc5s6q4xq1rdk26cnlviai7hfjzi0-inferior-script.scm.drv...
building
/gnu/store/fl6m42fdnykhd5drv42s1zn5x18vbiy9-guix-extra-modules.drv...
building
/gnu/store/j8av01zjcx9kimjm0yrdrkhmiba7wwmj-guix-packages-base.drv...
building
/gnu/store/pf1h4mhpp6qhvixzr4172v81wqy1wj1x-inferior-script.scm.drv...
building /gnu/store/87yna60fdd0gv70nb4svqvxq8br4cbm6-guix-cli-core.drv...
building
/gnu/store/2cl0dr63d900v6406hs10qgjsp7iaysi-guix-packages-base-modules.drv...
building
/gnu/store/jilxlihmy07h9xhr1pbxw5i01b4l1js1-guix-cli-core-modules.drv...
building /gnu/store/x5x97w98q16myzx3rfik1gs06n1vbccr-guix-packages.drv...
applying 3 grafts for libfontenc-1.1.4 ...
building
/gnu/store/ng76j3d6m66w7jfk0gds9204zp4l727p-guix-packages-modules.drv...
building /gnu/store/b28ayyn4jqfz5dbgcshh5gmayzms65wj-guix-system.drv...
applying 8 grafts for mkfontscale-1.2.2 ...
building /gnu/store/sxhm9vii5lwig55vjpc4jz639r9ygdyx-guix-home.drv...
building
/gnu/store/7i2z4b2imjxc0qd5kgis9c045ybq0wwy-guix-system-modules.drv...
building /gnu/store/3jwjfb0rjxsvv4xy0m65db0nmbg56nx7-guix-cli.drv...
building
/gnu/store/h7ynn7s9p8ywd5s2s4g43l6rgkqdidqd-guix-home-modules.drv...
building /gnu/store/f3qxxs77klhk0q8bvsxdly1xr147wb9s-guix-cli-modules.drv...
building
/gnu/store/7pmrsz3mlnhiggm3pz99wiyrddahl9mb-guix-system-tests.drv...
applying 2 grafts for mkfontdir-1.0.7 ...
building
/gnu/store/6r0k3wg5bcjnjdjlx8rvxr2q3izyhgvh-guix-system-tests-modules.drv...
applying 6 grafts for texinfo-6.8 ...
building
/gnu/store/42bwpkmcv6jsdzhsxc0pwc13k1fgxh25-guix-08360a2cd-modules.drv...
building /gnu/store/3j2xd5l3q0s1jf9798fr4s3k3ky5fw07-guix-manual.drv...
building
/gnu/store/as05nvh2dq4s0pb0lxkmcyf407c7wjcm-guix-module-union.drv...
building /gnu/store/qxaqgq36bg5mi210yflrg31hz3nxjfb3-guix-command.drv...
building /gnu/store/qxsz62r8giy0hf8qqzzv8f35g6470kcj-guix-daemon.drv...
building /gnu/store/saji8f542jbrmj6315lxrgmgjdgrzlx4-guix-08360a2cd.drv...
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
...


And there how it looks on system A (the same commit
014875b29e68da6357a5323e6dd1eaa74a05b753):
Updating channel 'guix' from Git repository at
Authenticating channel 'guix', commits 9edb3f6 to 08360a2 (781 new
commits)...
Building from these channels:
26,4 MB will be downloaded
...
substitute: updating substitutes from
...
The following derivations will be built:
/gnu/store/pfs471chzsnwyl3zdkz3wkzl5gpsqchm-profile.drv
/gnu/store/87avc5s6q4xq1rdk26cnlviai7hfjzi0-inferior-script.scm.drv

/gnu/store/1mwhp5crimgvqd4jmlfsj3017yk8vxsv-guix-packages-base-modules.drv
/gnu/store/4bay72mqflnhx3382gy5lmcjiv0k673s-guix-system-tests-modules.drv
/gnu/store/5dsx6hxbrsy8iljmz6sjn08f1c9q5zi9-guix-system-modules.drv
/gnu/store/j33qgaybzml6fbfldw5nljgq4haxd34f-guix-cli-core-modules.drv
/gnu/store/rzwb58zr3mnz5pff4v0581nr8bhh4bj5-guix-cli-modules.drv
/gnu/store/yhv9fr3rzlnk8dmgiwz73rjz6xalip94-guix-extra-modules.drv
/gnu/store/hmcds0yp3bxl8y8gaf6a42jfipvqgsii-guix-daemon.drv
/gnu/store/x91k63vwwj6mahn804hjg5n9xzsjj4sn-guix-command.drv
/gnu/store/pf1h4mhpp6qhvixzr4172v81wqy1wj1x-inferior-script.scm.drv
/gnu/store/2x3s1sx169y9lk9wdnz8p21c88jr8jkd-profile.drv
/gnu/store/mkq51lalsi9vy94afskmi92854sx1cxm-inferior-script.scm.drv

70,0 MB will be downloaded
substitute: updating substitutes from
...
module-import-compiled 128KiB 43.7MiB/s 00:00
???????????????????? 100.0%
guix-cli 315KiB 27KiB/s 00:12
???????????????????? 100.0%
guix-cli-core 922KiB 21KiB/s 00:44
???????????????????? 100.0%
guix-cli-modules 260B 56KiB/s 00:00
???????????????????? 100.0%
guix-cli-core-modules 261B 46KiB/s 00:00
???????????????????? 100.0%
guix-extra 2.8MiB 10KiB/s 04:45
???????????????????? 100.0%
guix-manual 5.2MiB 13KiB/s 06:58
???????????????????? 100.0%
guix-extra-modules 260B 61KiB/s 00:00
???????????????????? 100.0%
module-import-compiled 66KiB 34KiB/s 00:02
???????????????????? 100.0%
guix-packages-base 17.4MiB 777KiB/s 00:23
???????????????????? 100.0%
guix-system 7.9MiB 702KiB/s 00:12
???????????????????? 100.0%
guix-packages-base-modules 268B 140KiB/s 00:00
???????????????????? 100.0%
guix-system-modules 261B 101KiB/s 00:00
???????????????????? 100.0%
guix-system-tests 921KiB 368KiB/s 00:03
???????????????????? 100.0%
module-import-compiled 54KiB 69KiB/s 00:01
???????????????????? 100.0%
guix-system-tests-modules 263B 57KiB/s 00:00
???????????????????? 100.0%
building
/gnu/store/87avc5s6q4xq1rdk26cnlviai7hfjzi0-inferior-script.scm.drv...
applying 8 grafts for mkfontscale-1.2.2 ...
guix-08360a2cd-modules 31.2MiB 1.9MiB/s 00:17
???????????????????? 100.0%
building
/gnu/store/pf1h4mhpp6qhvixzr4172v81wqy1wj1x-inferior-script.scm.drv...
guix-module-union 2KiB 149KiB/s 00:00
???????????????????? 100.0%
applying 2 grafts for mkfontdir-1.0.7 ...
guix-command 653B 436KiB/s 00:00
???????????????????? 100.0%
applying 6 grafts for texinfo-6.8 ...
guix-daemon 402B 105KiB/s 00:00
???????????????????? 100.0%
guix-08360a2cd 800B 94KiB/s 00:00
???????????????????? 100.0%
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
...


Shouldn't 'guix pull' substitutes also work on foreign distros?
If they should, why don't sytem B get them?

Regards,
Nigko
P
P
pelzflorian (Florian Pelz) wrote on 15 May 10:07 +0200
(name . Nigko Yerden)(address . nigko.yerden@gmail.com)(address . 70954@debbugs.gnu.org)
87ttizh50r.fsf@pelzflorian.de
Hello Nigko Yerden. You could definitely test if substitutes are never
available if you used


which should guarantee that it will use a version of Guix where guix
pull has substitutes. When not using
channel-with-substitutes-available, it might be bad timing.

Regards,
Florian
N
N
Nigko Yerden wrote on 16 May 07:53 +0200
(name . pelzflorian (Florian Pelz))(address . pelzflorian@pelzflorian.de)(address . 70954@debbugs.gnu.org)
369c3048-b0e3-45cd-85d0-38ae4815baa9@gmail.com
Hi Florian Pelz,

Toggle quote (1 lines)
Yes, I'm aware about this feature. It doesn't help.

Toggle quote (1 lines)
>> it might be bad timing.
I think this possibility can be excluded because of:

1) I have performed 'guix pull' on the system B for the last few
months (maybe half a year) a few dozens of times and every time I
observed it build all the derivations by itself.

2) I had performed the experiment. I queried [1] for the latest
commit with substitutes and performed 'guix pull --commit="obtained commit"'
on systems A and B (they are both x86_64). The results of this experiment
are presented in my first message.

3) Today I have preformed the similar experiment. According to [1] the
latest commit with substitutes was "5a624adfd". Again, the system B
have built all the derivations by itself while the system A have
downloaded substitutes.


Regards,
Nigko

pelzflorian (Florian Pelz) wrote:
Toggle quote (11 lines)
> Hello Nigko Yerden. You could definitely test if substitutes are never
> available if you used
>
> https://guix.gnu.org/manual/en/html_node/Channels-with-Substitutes.html
>
> which should guarantee that it will use a version of Guix where guix
> pull has substitutes. When not using
> channel-with-substitutes-available, it might be bad timing.
>
> Regards,
> Florian
P
P
pelzflorian (Florian Pelz) wrote on 16 May 14:00 +0200
(name . Nigko Yerden)(address . nigko.yerden@gmail.com)(address . 70954@debbugs.gnu.org)
87zfsqotjj.fsf@pelzflorian.de
I had not understood that you used the --commit option, sorry for the
misunderstanding.

Foreign distros are not treated specially, but configuration for
substitute authorization could be missing as described at the end
of [1]. I do not believe they are missing though:

Could you try “guix pull -q” to disable any other channels?

guix pull -q --commit=08360a2cd0f1c447c9ad25bef8ed317abcdb0c91

on my x86_64 Guix System laptop, like your machine A (that downloads
substitutes), builds
/gnu/store/1mwhp5crimgvqd4jmlfsj3017yk8vxsv-guix-packages-base-modules.drv
whose store path is different on your machine B (that does *not* get
substitutes).

Regards,
Florian

N
N
Nigko Yerden wrote on 17 May 07:15 +0200
(name . pelzflorian (Florian Pelz))(address . pelzflorian@pelzflorian.de)(address . 70954@debbugs.gnu.org)
8b29059d-8203-4f5e-8974-a6130d3f9f40@gmail.com
Toggle quote (2 lines)
> I had not understood that you used the --commit option, sorry for the
> misunderstanding.
Technically I wasn't because at the time of experiment 08360a2cd
was the latest commit (not only the latest commit with substitutes).

Toggle quote (3 lines)
> Foreign distros are not treated specially, but configuration for
> substitute authorization could be missing as described at the end
> of [1].
Sorry, I couldn't find any mention of substitute authorization at [1].
On system B substitute public keys were configured according to [2].
I have checked the content of /etc/guix/acl file. All keys are there.

Toggle quote (1 lines)
> Could you try “guix pull -q” to disable any other channels?
Sure! Here are the final parts of the outputs (after the words
"The following derivations will be built:"):

On system B (foreign distro):
$ guix pull -q --commit=08360a2cd0f1c447c9ad25bef8ed317abcdb0c91
...
The following derivations will be built:
/gnu/store/cj32m9h2fyd54nqlagn17ha8virfkrcb-profile.drv
/gnu/store/s76agwq3r05ghybjc18chd07v4bspj1b-guix-08360a2cd.drv
/gnu/store/37bsxlp93cxriknqrzs98ja8is6l7agw-guix-daemon.drv
/gnu/store/ffi9d4y6xavq2r8kw78zmnvg78z5jnah-guix-command.drv
/gnu/store/lq0yq5n43awhdcygy1zxs8aq2gzhl24b-guix-module-union.drv
/gnu/store/xd79q4s0dz93a8hcyyn6f70ak7h2sl7k-guix-08360a2cd-modules.drv
/gnu/store/2cl0dr63d900v6406hs10qgjsp7iaysi-guix-packages-base-modules.drv
/gnu/store/j8av01zjcx9kimjm0yrdrkhmiba7wwmj-guix-packages-base.drv
/gnu/store/a7w5hbq6kppl90838b3iwpgn4v93jv75-guix-extra.drv
/gnu/store/gd8lqzj70wx5qgx39lnh3lh4g5slln5g-guix-core-source.drv
/gnu/store/2f0z0x4nqpwgwmrk5qs7ka0p3y2a2gny-config.scm.drv
/gnu/store/6r0k3wg5bcjnjdjlx8rvxr2q3izyhgvh-guix-system-tests-modules.drv
/gnu/store/7pmrsz3mlnhiggm3pz99wiyrddahl9mb-guix-system-tests.drv
/gnu/store/3jwjfb0rjxsvv4xy0m65db0nmbg56nx7-guix-cli.drv
/gnu/store/87yna60fdd0gv70nb4svqvxq8br4cbm6-guix-cli-core.drv
/gnu/store/b28ayyn4jqfz5dbgcshh5gmayzms65wj-guix-system.drv
/gnu/store/x5x97w98q16myzx3rfik1gs06n1vbccr-guix-packages.drv
/gnu/store/sxhm9vii5lwig55vjpc4jz639r9ygdyx-guix-home.drv
/gnu/store/7i2z4b2imjxc0qd5kgis9c045ybq0wwy-guix-system-modules.drv
/gnu/store/bf17y9g9fnxfgcmqz5ivp51k1j9ik6cv-guix-config-modules.drv
/gnu/store/c99v1k78lcg84isjq7iaqdrrrczjwv3r-guix-config-source.drv
/gnu/store/2nkjhm0w9ql8y2sw55cdpsq0fsvs1zx5-config.scm.drv
/gnu/store/vbnqf2zbrz3wgfywmyqpy12pb8g1lrsa-guix-config.drv
/gnu/store/f3qxxs77klhk0q8bvsxdly1xr147wb9s-guix-cli-modules.drv
/gnu/store/fl6m42fdnykhd5drv42s1zn5x18vbiy9-guix-extra-modules.drv
/gnu/store/h7ynn7s9p8ywd5s2s4g43l6rgkqdidqd-guix-home-modules.drv
/gnu/store/jilxlihmy07h9xhr1pbxw5i01b4l1js1-guix-cli-core-modules.drv
/gnu/store/ng76j3d6m66w7jfk0gds9204zp4l727p-guix-packages-modules.drv
/gnu/store/znffqlp69qjbvzpnjvvfmpc4fq6q9b8w-guix-core-modules.drv
/gnu/store/3j2xd5l3q0s1jf9798fr4s3k3ky5fw07-guix-manual.drv
/gnu/store/za0rf8ypn7v1a9a7cc7fmnnh7pig5580-guix-misc.drv
/gnu/store/3kv36y4g8s8m20nbdx8q53jhp48gy4bd-profile.drv
/gnu/store/lld7s6z1pnj919y59npi7svdysl28pc5-inferior-script.scm.drv

3,0 MB will be downloaded
module-import-compiled 128KiB
guix-core 1.8MiB
guix-translated-texinfo 1.7MiB
module-import-compiled 8KiB
module-import-compiled 47KiB
module-import-compiled 66KiB
module-import-compiled 97KiB
module-import-compiled 54KiB
building /gnu/store/2f0z0x4nqpwgwmrk5qs7ka0p3y2a2gny-config.scm.drv...
building /gnu/store/2nkjhm0w9ql8y2sw55cdpsq0fsvs1zx5-config.scm.drv...
applying 19 grafts for graphviz-minimal-7.0.1 ...
building /gnu/store/c99v1k78lcg84isjq7iaqdrrrczjwv3r-guix-config-source.drv...
building /gnu/store/gd8lqzj70wx5qgx39lnh3lh4g5slln5g-guix-core-source.drv...
building /gnu/store/vbnqf2zbrz3wgfywmyqpy12pb8g1lrsa-guix-config.drv...
building /gnu/store/znffqlp69qjbvzpnjvvfmpc4fq6q9b8w-guix-core-modules.drv...
building /gnu/store/bf17y9g9fnxfgcmqz5ivp51k1j9ik6cv-guix-config-modules.drv...
building /gnu/store/a7w5hbq6kppl90838b3iwpgn4v93jv75-guix-extra.drv...
building /gnu/store/za0rf8ypn7v1a9a7cc7fmnnh7pig5580-guix-misc.drv...
building /gnu/store/fl6m42fdnykhd5drv42s1zn5x18vbiy9-guix-extra-modules.drv...
building /gnu/store/j8av01zjcx9kimjm0yrdrkhmiba7wwmj-guix-packages-base.drv...
applying 3 grafts for libfontenc-1.1.4 ...
building /gnu/store/87yna60fdd0gv70nb4svqvxq8br4cbm6-guix-cli-core.drv...
building /gnu/store/2cl0dr63d900v6406hs10qgjsp7iaysi-guix-packages-base-modules.drv...
building /gnu/store/jilxlihmy07h9xhr1pbxw5i01b4l1js1-guix-cli-core-modules.drv...
building /gnu/store/x5x97w98q16myzx3rfik1gs06n1vbccr-guix-packages.drv...
applying 8 grafts for mkfontscale-1.2.2 ...
building /gnu/store/ng76j3d6m66w7jfk0gds9204zp4l727p-guix-packages-modules.drv...
building /gnu/store/b28ayyn4jqfz5dbgcshh5gmayzms65wj-guix-system.drv...
applying 2 grafts for mkfontdir-1.0.7 ...
building /gnu/store/sxhm9vii5lwig55vjpc4jz639r9ygdyx-guix-home.drv...
building /gnu/store/7i2z4b2imjxc0qd5kgis9c045ybq0wwy-guix-system-modules.drv...
building /gnu/store/3jwjfb0rjxsvv4xy0m65db0nmbg56nx7-guix-cli.drv...
building /gnu/store/h7ynn7s9p8ywd5s2s4g43l6rgkqdidqd-guix-home-modules.drv...
building /gnu/store/f3qxxs77klhk0q8bvsxdly1xr147wb9s-guix-cli-modules.drv...
building /gnu/store/7pmrsz3mlnhiggm3pz99wiyrddahl9mb-guix-system-tests.drv...
applying 6 grafts for texinfo-6.8 ...
building /gnu/store/6r0k3wg5bcjnjdjlx8rvxr2q3izyhgvh-guix-system-tests-modules.drv...
building /gnu/store/3j2xd5l3q0s1jf9798fr4s3k3ky5fw07-guix-manual.drv...
building /gnu/store/xd79q4s0dz93a8hcyyn6f70ak7h2sl7k-guix-08360a2cd-modules.drv...
building /gnu/store/lq0yq5n43awhdcygy1zxs8aq2gzhl24b-guix-module-union.drv...
building /gnu/store/ffi9d4y6xavq2r8kw78zmnvg78z5jnah-guix-command.drv...
building /gnu/store/37bsxlp93cxriknqrzs98ja8is6l7agw-guix-daemon.drv...
building /gnu/store/s76agwq3r05ghybjc18chd07v4bspj1b-guix-08360a2cd.drv...
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 1 package...
building /gnu/store/lld7s6z1pnj919y59npi7svdysl28pc5-inferior-script.scm.drv...
building package cache...
building profile with 1 package...


On system A (Guix system):
$ guix pull -q --commit=08360a2cd0f1c447c9ad25bef8ed317abcdb0c91
...
The following derivations will be built:
/gnu/store/dnmf3rg7x9gszykqslzykv54ag4cpi7n-profile.drv
/gnu/store/mx48ryifmx932snc1zsbda7yz38hz4rs-guix-08360a2cd.drv
/gnu/store/80rqq8fx33623sm8bbhm9db01h5yb1cy-guix-command.drv
/gnu/store/8qgvl4im2bqkvzp32lrkad8b3vbf521v-guix-module-union.drv
/gnu/store/i8035a4qm04gzf9bqivb6vm1nyjs901f-guix-08360a2cd-modules.drv
/gnu/store/0z5klnkrjnynfazi06p71lh93vwf2wda-guix-core-modules.drv
/gnu/store/gd8lqzj70wx5qgx39lnh3lh4g5slln5g-guix-core-source.drv
/gnu/store/1mwhp5crimgvqd4jmlfsj3017yk8vxsv-guix-packages-base-modules.drv
/gnu/store/4bay72mqflnhx3382gy5lmcjiv0k673s-guix-system-tests-modules.drv
/gnu/store/5dsx6hxbrsy8iljmz6sjn08f1c9q5zi9-guix-system-modules.drv
/gnu/store/bf17y9g9fnxfgcmqz5ivp51k1j9ik6cv-guix-config-modules.drv
/gnu/store/c99v1k78lcg84isjq7iaqdrrrczjwv3r-guix-config-source.drv
/gnu/store/2nkjhm0w9ql8y2sw55cdpsq0fsvs1zx5-config.scm.drv
/gnu/store/vbnqf2zbrz3wgfywmyqpy12pb8g1lrsa-guix-config.drv
/gnu/store/blq2s8cj9130rwd240bkyvch75s69wky-guix-packages-modules.drv
/gnu/store/j33qgaybzml6fbfldw5nljgq4haxd34f-guix-cli-core-modules.drv
/gnu/store/rzwb58zr3mnz5pff4v0581nr8bhh4bj5-guix-cli-modules.drv
/gnu/store/sgh48ylj7r4w2d4p1x7m0n91knjniz01-guix-home-modules.drv
/gnu/store/yhv9fr3rzlnk8dmgiwz73rjz6xalip94-guix-extra-modules.drv
/gnu/store/b6a298acz3lm2lvp1gh57n5as0y9mfln-guix-daemon.drv
/gnu/store/b75vlmyw5vpj8l2q0zcrp2lw76fhy4g2-guix-misc.drv
/gnu/store/8cc301dx0j3fjki7zml115363q7v64rq-inferior-script.scm.drv
/gnu/store/jqg3i92sxbhnxia5blif0idrz9cfynv2-profile.drv

41,6 MB will be downloaded
module-import-compiled 128KiB
guix-cli 315KiB
guix-cli-core 922KiB
guix-core 1.8MiB
guix-extra 2.8MiB
guix-home 751KiB
guix-manual 5.2MiB
guix-packages 1.5MiB
guix-packages-base 17.4MiB
guix-system 7.9MiB
guix-system-tests 921KiB
module-import-compiled 8KiB
module-import-compiled 67KiB
module-import-compiled 97KiB
module-import-compiled 54KiB
building /gnu/store/2nkjhm0w9ql8y2sw55cdpsq0fsvs1zx5-config.scm.drv...
building /gnu/store/j33qgaybzml6fbfldw5nljgq4haxd34f-guix-cli-core-modules.drv...
building /gnu/store/rzwb58zr3mnz5pff4v0581nr8bhh4bj5-guix-cli-modules.drv...
building /gnu/store/c99v1k78lcg84isjq7iaqdrrrczjwv3r-guix-config-source.drv...
building /gnu/store/gd8lqzj70wx5qgx39lnh3lh4g5slln5g-guix-core-source.drv...
building /gnu/store/vbnqf2zbrz3wgfywmyqpy12pb8g1lrsa-guix-config.drv...
building /gnu/store/0z5klnkrjnynfazi06p71lh93vwf2wda-guix-core-modules.drv...
building /gnu/store/bf17y9g9fnxfgcmqz5ivp51k1j9ik6cv-guix-config-modules.drv...
building /gnu/store/yhv9fr3rzlnk8dmgiwz73rjz6xalip94-guix-extra-modules.drv...
building /gnu/store/sgh48ylj7r4w2d4p1x7m0n91knjniz01-guix-home-modules.drv...
building /gnu/store/b75vlmyw5vpj8l2q0zcrp2lw76fhy4g2-guix-misc.drv...
building /gnu/store/1mwhp5crimgvqd4jmlfsj3017yk8vxsv-guix-packages-base-modules.drv...
building /gnu/store/blq2s8cj9130rwd240bkyvch75s69wky-guix-packages-modules.drv...
building /gnu/store/5dsx6hxbrsy8iljmz6sjn08f1c9q5zi9-guix-system-modules.drv...
building /gnu/store/4bay72mqflnhx3382gy5lmcjiv0k673s-guix-system-tests-modules.drv...
applying 8 grafts for mkfontscale-1.2.2 ...
building /gnu/store/i8035a4qm04gzf9bqivb6vm1nyjs901f-guix-08360a2cd-modules.drv...
applying 2 grafts for mkfontdir-1.0.7 ...
building /gnu/store/8qgvl4im2bqkvzp32lrkad8b3vbf521v-guix-module-union.drv...
applying 6 grafts for texinfo-6.8 ...
building /gnu/store/80rqq8fx33623sm8bbhm9db01h5yb1cy-guix-command.drv...
building /gnu/store/b6a298acz3lm2lvp1gh57n5as0y9mfln-guix-daemon.drv...
building /gnu/store/mx48ryifmx932snc1zsbda7yz38hz4rs-guix-08360a2cd.drv...
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 1 package...
building /gnu/store/8cc301dx0j3fjki7zml115363q7v64rq-inferior-script.scm.drv...
building package cache...
building profile with 1 package...

Toggle quote (5 lines)
> on my x86_64 Guix System laptop, like your machine A (that downloads
> substitutes), builds
> /gnu/store/1mwhp5crimgvqd4jmlfsj3017yk8vxsv-guix-packages-base-modules.drv
> whose store path is different on your machine B (that does *not* get
> substitutes).
It looks like these 'guix pull' derivations (not only guix-packages-base-modules.drv)
are almost completely different on system A and B.

Regards,
Nigko

P
P
pelzflorian (Florian Pelz) wrote on 17 May 12:50 +0200
(name . Nigko Yerden)(address . nigko.yerden@gmail.com)(address . 70954@debbugs.gnu.org)
87h6ewk8zj.fsf@pelzflorian.de
Hello Nigko, I can reproduce your bug by using Guix in a Debian testing
VM, their Debian guix package, and get
/gnu/store/2cl0dr63d900v6406hs10qgjsp7iaysi-guix-packages-base-modules.drv
like you.

The difference between bad (i.e. not substituted)
/gnu/store/2cl0dr63d900v6406hs10qgjsp7iaysi-guix-packages-base-modules.drv
and good
/gnu/store/1mwhp5crimgvqd4jmlfsj3017yk8vxsv-guix-packages-base-modules.drv
are different out output hashes of referenced derivations.

When I stop the guix-daemon from the debian guix package and start a
pulled guix-daemon,

sudo systemctl stop guix-daemon.service
sudo ~/.config/guix/current/bin/guix-daemon --build-users-group=_guixbuild &

then I get the substitutable
/gnu/store/1mwhp5crimgvqd4jmlfsj3017yk8vxsv-guix-packages-base-modules.drv
instead.

Does Debian’s guix-daemon need to be patched somehow? To be
investigated.

Nigko Yerden <nigko.yerden@gmail.com> writes:
Toggle quote (2 lines)
> Sorry, I couldn't find any mention of substitute authorization at [1].

I should have linked to
but it is not the cause anyway.

Regards,
Florian
N
N
Nigko Yerden wrote on 17 May 19:29 +0200
(name . pelzflorian (Florian Pelz))(address . pelzflorian@pelzflorian.de)(address . 70954@debbugs.gnu.org)
6fdaad7a-5b0b-4527-a55b-1d3aebc2ce40@gmail.com
Hello Florian,

These are great news! Thanks a lot for investigating this!

Indeed, foreign distros still run guix-daemon from Guix v1.4,
which is very old now. It makes sense that old guix-daemon + recent
remaining parts of Guix might have produced modified derivations.

For foreign distros using systemd, the following workaround may be
useful to replace old guix-daemon by guix-daemon from USER profile:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~guix-daemon.service
...
[Service]
ExecStart=/home/USER/.config/guix/current/bin/guix-daemon \
--build-users-group=_guixbuild --discover=no \
--substitute-urls='.....'

Environment='GUIX_LOCPATH=/home/USER/.guix-profile/lib/locale'
...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Regards,
Nigko
P
P
pelzflorian (Florian Pelz) wrote on 18 May 14:15 +0200
(name . Nigko Yerden)(address . nigko.yerden@gmail.com)(address . 70954-done@debbugs.gnu.org)
877cfrnwok.fsf@pelzflorian.de
Hello Nigko, I’m glad the problem is solved for you.

From testing old Guix System system generations, I believe September
2023’s new daemon feature “builtin:git-download” has caused the change
in hashes, but no further action is advisable. I’m closing this bug.

But I would like to know, does \ work in systemd by now:

Nigko Yerden <nigko.yerden@gmail.com> writes:
Toggle quote (11 lines)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~guix-daemon.service
> ...
> [Service]
> ExecStart=/home/USER/.config/guix/current/bin/guix-daemon \
> --build-users-group=_guixbuild --discover=no \
> --substitute-urls='.....'
>
> Environment='GUIX_LOCPATH=/home/USER/.guix-profile/lib/locale'
> ...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

or have you changed the ExecStart line for the e-mail? The way I know,
\ cannot be used. If this has changed, it could solve problems with
overlong lines in the cookbook PDF.

Regards,
Florian
Closed
N
N
Nigko Yerden wrote on 18 May 17:43 +0200
(address . 70954-done@debbugs.gnu.org)
e9607749-4ce7-4c9f-beb0-234ab213d026@gmail.com
Hello Florian,

Toggle quote (3 lines)
> From testing old Guix System system generations, I believe September
> 2023’s new daemon feature “builtin:git-download” has caused the change
> in hashes
As far as I remember, approximately at that time, in the late
autumn, I have started to experience very long 'guix pull'.

Toggle quote (1 lines)
> I’m closing this bug.
No objections.

Toggle quote (1 lines)
> But I would like to know, does \ work in systemd by now
Yes, \ works in systemd service files. I didn't know that \ was forbidden
in the past.

Regards,
Nigko
Closed
?