Problem with freecad substitute

  • Open
  • quality assurance status badge
Details
3 participants
  • Aleksandr Vityazev
  • Christopher Baines
  • zimoun
Owner
unassigned
Submitted by
Aleksandr Vityazev
Severity
normal
A
A
Aleksandr Vityazev wrote on 21 Sep 2022 06:54
(name . bug-guix)(address . bug-guix@gnu.org)
87k05x1g4c.fsf@posteo.org
Hi,

I want to install freecad, substitute available but the package starts
building locally.

Toggle snippet (24 lines)
guix pull

guix weather --substitute-urls="https://bordeaux.guix.gnu.org" freecad
computing 1 package derivations for x86_64-linux...
looking for 1 store items on https://bordeaux.guix.gnu.org...
https://bordeaux.guix.gnu.org ☀
100.0% substitutes available (1 out of 1)
53.5 MiB of nars (compressed)
241.7 MiB on disk (uncompressed)
1.328 seconds per request (1.3 seconds in total)
0.8 requests per second
(continuous integration information unavailable)


guix package --substitute-urls="https://bordeaux.guix.gnu.org" -i freecad
The following package will be installed:
freecad 0.20.1

substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
The following derivation will be built:
/gnu/store/ks669hl57lll1h1qaspiwlr4ls0lg1rm-freecad-0.20.1.drv


This also happens with telegram-desktop.


--
Best regards,
Aleksandr Vityazev
C
C
Christopher Baines wrote on 21 Sep 2022 09:25
(name . Aleksandr Vityazev)(address . avityazev@posteo.org)(address . 57965@debbugs.gnu.org)
87leqdw5l5.fsf@cbaines.net
Aleksandr Vityazev <avityazev@posteo.org> writes:

Toggle quote (3 lines)
> I want to install freecad, substitute available but the package starts
> building locally.

-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmMqvLZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XfLERAAnzpIk+qSxP70kpouf1eiBMmlNoWWhy5A
vLt3S/uVcrYzSIz3SGI9wZ26FtkRVhPi/5pGOW7R7J4TDP3vSs0N38B/xYk7YwOf
l3B/AvzXm+uZjmcC/h5rNiBJpy/n1VmnXXVVPOwEt0iGbXXptq2eI5KwtGyuF4Jz
KsmCqXgAjH+buv9zq9ROCB2p/MmzR4O0TAZC8PmuSa1fPj1KqY96tXfZKv6GW6Ws
GgWR/OeLPmI/SAJ9QWDV/ATyPcpQNaxhx0yDy1ULkkbw+qSAmD1onwLqGmbYsyII
NJbsJ9kNUoT97scWdBS1z8O8tuawSVkmKJ1KDTnCEDLWNDyYfY0yOmj1ujDQo6dO
todSp7iUgVUMSkOP7x//SyAArLyEKa0giUdVRERQZjcxUn9mPlx6DvrAlfVgqglp
K2qi1NN7TXp+wBqA/whQGHdq3Vh1spwxJlfaEUI4Zln7p16VxRGWg/0ga1A0roQ0
iA/37ojB54UzoosYCQMzjkVaFwX5t/lyJB5xnorc3MdY8IhCI2zocY0SJXrO7Sww
ato3OZWuZDSBI44/KISX/j61AqVp816+2PejdfciWo05+KQ3IL7bKMv8KbkLNOlg
kjlQI/VUQ33Z5KJHXxmTiJrtpkjiMX7FMnJFz7r63AzNdbzxwsx8GRuzmSj6IQbS
zp2UEoDwt8g=
=89mP
-----END PGP SIGNATURE-----

A
A
Aleksandr Vityazev wrote on 21 Sep 2022 10:22
(name . Christopher Baines)(address . mail@cbaines.net)(address . 57965@debbugs.gnu.org)
87fsgl16hr.fsf@posteo.org
Hi,

On 2022-09-21, 08:25 +0100, Christopher Baines <mail@cbaines.net> wrote:

Toggle quote (9 lines)
> Aleksandr Vityazev <avityazev@posteo.org> writes:
>
>> I want to install freecad, substitute available but the package starts
>> building locally.
>
> This is probably due to you ACL, see
> https://guix.gnu.org/en/manual/devel/en/html_node/Substitute-Server-Authorization.html#Substitute-Server-Authorization
>

It says at the beginning of the section:

Toggle snippet (6 lines)
Note: If you are using Guix System, you can skip this section: Guix
System authorizes substitutes from ‘ci.guix.gnu.org’ and
‘bordeaux.guix.gnu.org’ by default.


all packages except the ones marked are installed normally.

--
Best regards,
Aleksandr Vityazev
C
C
Christopher Baines wrote on 21 Sep 2022 10:26
(name . Aleksandr Vityazev)(address . avityazev@posteo.org)(address . 57965@debbugs.gnu.org)
87h711w2nu.fsf@cbaines.net
Aleksandr Vityazev <avityazev@posteo.org> writes:

Toggle quote (22 lines)
> Hi,
>
> On 2022-09-21, 08:25 +0100, Christopher Baines <mail@cbaines.net> wrote:
>
>> Aleksandr Vityazev <avityazev@posteo.org> writes:
>>
>>> I want to install freecad, substitute available but the package starts
>>> building locally.
>>
>> This is probably due to you ACL, see
>> https://guix.gnu.org/en/manual/devel/en/html_node/Substitute-Server-Authorization.html#Substitute-Server-Authorization
>>
>
> It says at the beginning of the section:
>
> Note: If you are using Guix System, you can skip this section: Guix
> System authorizes substitutes from ‘ci.guix.gnu.org’ and
> ‘bordeaux.guix.gnu.org’ by default.
>
>
> all packages except the ones marked are installed normally.

Ok, if you are using guix system, you need to check the configuration
for the guix-daemon, in particular the substitute URLs and ACL
(authorized-keys).

Assuming you're using a recent revision of Guix, boreaux.guix.gnu.org
should be in the default substitute URLs and default authorized-keys.

If you're still having problems, sharing the contents of /etc/guix/acl
as well as the arguments the guix-daemon is running with will help.

Thanks,

Chris
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmMqy4VfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XdyCxAAk3pe5O+WJTh6MRT7hXytZr9ccZ+wCsPN
E8qCEAab97LvkwynzVrljvoQgU8jIGTeB69snca+LOtXX1M+jVuyQNW0OrrLwtxY
icWcuYJTqWCDanTO+E78BaUJiQNEJF3KdD9Ywfh34ZHvaOFTJQMafPGu08CYTMo0
I5rQyx8nox8EzrZiKzAnlzsGeXj34GREWq9Y+f2lbDSBe5++nCuLiTXJ/uJCA6/o
UoTMCNRuPgHmplMZCkk+SxIMm2V4LmBg11X06YiCSZQ7JjyMMivg/zZ5k/lfac84
JurYi6QpHeQbin9b5aQU/I6vC9d10ohOrnFiZAkMN5YJwXv/Tj9w4/AB5LDcFtye
aBlV2RAsuKIvsdj7IclqAADbHLX5Im7UE51YrPoi6SoLhQhX2PpxbVME65RqRL1s
DN8IyAfrVMtWpq977SotUkEPQ1xhalXgAs/cWUDyTo1zbh7WnHyLnu/E7H8Ti8hu
eKAEfcfaM2SZG+aJFie1Rrxvr100mRmYCaO/HycqB2n8rV0uNtluQWe+j8TlTHvt
ZpTeYH/tHiQEChIuBwNXTZlL4TGfuTID747wvcqW6C4Wgg0dmTSI8qO3J9nTvd61
TrkMCJEYuWVgZkilQgeuabMJeBoQGmZ7ipim05Ddnxm6DTxl83hiKgEUEP9GrMTZ
w28pMXnUaNs=
=/Lvf
-----END PGP SIGNATURE-----

A
A
Aleksandr Vityazev wrote on 21 Sep 2022 12:45
(name . Christopher Baines)(address . mail@cbaines.net)(address . 57965@debbugs.gnu.org)
87a66t0zwi.fsf@posteo.org
On 2022-09-21, 09:26 +0100, Christopher Baines <mail@cbaines.net> wrote:

Toggle quote (7 lines)
> Assuming you're using a recent revision of Guix, boreaux.guix.gnu.org
> should be in the default substitute URLs and default authorized-keys.
>
> If you're still having problems, sharing the contents of /etc/guix/acl
> as well as the arguments the guix-daemon is running with will help.
>

cat /etc/guix/acl:

Toggle snippet (37 lines)
(acl
(entry
(public-key
(ecc
(curve Ed25519)
(q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#)
)
)
(tag
(guix import)
)
)
(entry
(public-key
(ecc
(curve Ed25519)
(q #8D156F295D24B0D9A86FA5741A840FF2D24F60F7B6C4134814AD55625971B394#)
)
)
(tag
(guix import)
)
)
(entry
(public-key
(ecc
(curve Ed25519)
(q #7D602902D3A2DBB83F8A0FB98602A754C5493B0B778C8D1DD4E0F41DE14DE34F#)
)
)
(tag
(guix import)
)
)
)

guix-daemon arguments:

Toggle snippet (7 lines)
/gnu/store/d2ls3qlfm6kwwwfqwv11lqnfvbqzs87j-guix-1.3.0-29.9e46320/bin/guix-daemon --build-users-group
guixbuild --max-silent-time 0 --timeout 0 --log-compression gzip
--discover=no --substitute-urls http://ci.guix.trop.in\
https://bordeaux.guix.gnu.org\ https://substitutes.nonguix.org


http://ci.guix.trop.in just a proxy of https://ci.guix.gnu.org

As I said, installing with substitutes of all but two packages,
telegram-desktop and freecad, works fine.

--
Best regards,
Aleksandr Vityazev
C
C
Christopher Baines wrote on 21 Sep 2022 13:27
(name . Aleksandr Vityazev)(address . avityazev@posteo.org)(address . 57965@debbugs.gnu.org)
87czbpvu6e.fsf@cbaines.net
Aleksandr Vityazev <avityazev@posteo.org> writes:

Toggle quote (14 lines)
> On 2022-09-21, 09:26 +0100, Christopher Baines <mail@cbaines.net> wrote:
>
>> Assuming you're using a recent revision of Guix, boreaux.guix.gnu.org
>> should be in the default substitute URLs and default authorized-keys.
>>
>> If you're still having problems, sharing the contents of /etc/guix/acl
>> as well as the arguments the guix-daemon is running with will help.
>>
>
> ...
>
> As I said, installing with substitutes of all but two packages,
> telegram-desktop and freecad, works fine.

Your ACL and guix-daemon arguments look fine.

Caching is one possibility, /var/guix/substitute/cache/ is usually where
substitute information gathered up by the guix-daemon is stored. It
could be that the absence of this output has been stored. You could try
deleting the contents of /var/guix/substitute/cache/.

Otherwise, dealing with the outputs directly does make debugging this
easier. If you compute the derivation, that contains the output near the
top. You can then ask guix build to substitute it.

→ guix build --no-grafts -d freecad
/gnu/store/q3pka0ql599z85zdy507fh8vrabaz5lp-freecad-0.20.1.drv

→ cat /gnu/store/q3pka0ql599z85zdy507fh8vrabaz5lp-freecad-0.20.1.drv
Derive([("out","/gnu/store/yxys4jxxgyllblm31244r2l23wvkjpv2-freecad-0.20.1","","")]...

→ guix build --substitute-urls=https://bordeaux.guix.gnu.org/gnu/store/yxys4jxxgyllblm31244r2l23wvkjpv2-freecad-0.20.1
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmMq9nlfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9Xc69RAAlMICfO5N2SaqYQ1/sl1n2TApJ74QF4rh
Kebqrhr1gqRGNA1D4aaz4+7fTd/1oDLfE85S3IzjZs81DNNvhiSp/gpS62qcBP6r
ovYbKchgsH2Emz7Q7xmTykl8c8l2ufN5QmIZKqKmNQ5KPl3/AbstQRX1JkVMcrLN
P9esfUbqKCYEsX47d9VH8uEkeXx3xQKcXP4l+5/ySS7mfuBwjclhIsSUU85QCLIF
C9tXdlhgewKdPfTMIXe04ILTxBIUqtWSTmhDGO/jLpwgg66LT7HMJj0ClsMdUWwq
b4/2NprngenluC2e65S8CnURek7JHWsXg0X26VqHhwcAhNiY7NhGON9BF3RD7rWZ
UrS3O/fzm+EQQFp4SIhnFyev9uk5N9Lojrm/C8TzifKrqo54KqWp/KtZHJ4Fzgtk
RBxR+uHqfUT3oKgNFqRcOL4Z3AmGq9X8RHyaqTDtaGru7mGjFeeeHvUYur+JgKKa
VW1QCzvpVQKU2V4ZkLUWsUZR/ABMRdiNVnDqpE1nfwr6vKadaIa7MBX0MFVyAAvZ
a/EMx6XGok+0ePNk/thNAgZzp02iEicNdU+gIKvJWnIh9QtUaGCCHtK8BFC4O9/I
C/yLC1Nu+KuOXM3+n8O120aSLGFCCW+04QBuWTeKLLrDuuHj9Eapzfm7h6Gubn/U
b1KqPS81wrM=
=XHfU
-----END PGP SIGNATURE-----

Z
Z
zimoun wrote on 19 Oct 2022 12:54
(name . Christopher Baines)(address . mail@cbaines.net)
86r0z4nkx8.fsf@gmail.com
Hi,

On Wed, 21 Sep 2022 at 08:25, Christopher Baines <mail@cbaines.net> wrote:

Toggle quote (6 lines)
>> I want to install freecad, substitute available but the package starts
>> building locally.
>
> This is probably due to you ACL, see
> https://guix.gnu.org/en/manual/devel/en/html_node/Substitute-Server-Authorization.html#Substitute-Server-Authorization

Do we promote Bordeaux to be in the list of authorized substitute
servers? If it is not already the case. :-)

Otherwise, I am in favour to close this report. WDYT?


Cheers,
simon
?