unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57965: Problem with freecad substitute
@ 2022-09-21  4:54 Aleksandr Vityazev
  2022-09-21  7:25 ` Christopher Baines
  0 siblings, 1 reply; 7+ messages in thread
From: Aleksandr Vityazev @ 2022-09-21  4:54 UTC (permalink / raw)
  To: 57965

Hi,

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

--8<---------------cut here---------------start------------->8---
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

--8<---------------cut here---------------end--------------->8---

This also happens with telegram-desktop.


-- 
Best regards, 
Aleksandr Vityazev




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#57965: Problem with freecad substitute
  2022-09-21  4:54 bug#57965: Problem with freecad substitute Aleksandr Vityazev
@ 2022-09-21  7:25 ` Christopher Baines
  2022-09-21  8:22   ` Aleksandr Vityazev
  2022-10-19 10:54   ` zimoun
  0 siblings, 2 replies; 7+ messages in thread
From: Christopher Baines @ 2022-09-21  7:25 UTC (permalink / raw)
  To: Aleksandr Vityazev; +Cc: 57965

[-- Attachment #1: Type: text/plain, Size: 302 bytes --]


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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#57965: Problem with freecad substitute
  2022-09-21  7:25 ` Christopher Baines
@ 2022-09-21  8:22   ` Aleksandr Vityazev
  2022-09-21  8:26     ` Christopher Baines
  2022-10-19 10:54   ` zimoun
  1 sibling, 1 reply; 7+ messages in thread
From: Aleksandr Vityazev @ 2022-09-21  8:22 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 57965

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:

--8<---------------cut here---------------start------------->8---
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.
--8<---------------cut here---------------end--------------->8---


all packages except the ones marked are installed normally.

-- 
Best regards,
Aleksandr Vityazev




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#57965: Problem with freecad substitute
  2022-09-21  8:22   ` Aleksandr Vityazev
@ 2022-09-21  8:26     ` Christopher Baines
  2022-09-21 10:45       ` Aleksandr Vityazev
  0 siblings, 1 reply; 7+ messages in thread
From: Christopher Baines @ 2022-09-21  8:26 UTC (permalink / raw)
  To: Aleksandr Vityazev; +Cc: 57965

[-- Attachment #1: Type: text/plain, Size: 1244 bytes --]


Aleksandr Vityazev <avityazev@posteo.org> writes:

> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#57965: Problem with freecad substitute
  2022-09-21  8:26     ` Christopher Baines
@ 2022-09-21 10:45       ` Aleksandr Vityazev
  2022-09-21 11:27         ` Christopher Baines
  0 siblings, 1 reply; 7+ messages in thread
From: Aleksandr Vityazev @ 2022-09-21 10:45 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 57965

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.
>

cat /etc/guix/acl:

--8<---------------cut here---------------start------------->8---
(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)
   )
  )
 )
--8<---------------cut here---------------end--------------->8---

guix-daemon arguments:

--8<---------------cut here---------------start------------->8---
/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
--8<---------------cut here---------------end--------------->8---


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




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#57965: Problem with freecad substitute
  2022-09-21 10:45       ` Aleksandr Vityazev
@ 2022-09-21 11:27         ` Christopher Baines
  0 siblings, 0 replies; 7+ messages in thread
From: Christopher Baines @ 2022-09-21 11:27 UTC (permalink / raw)
  To: Aleksandr Vityazev; +Cc: 57965

[-- Attachment #1: Type: text/plain, Size: 1475 bytes --]


Aleksandr Vityazev <avityazev@posteo.org> writes:

> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#57965: Problem with freecad substitute
  2022-09-21  7:25 ` Christopher Baines
  2022-09-21  8:22   ` Aleksandr Vityazev
@ 2022-10-19 10:54   ` zimoun
  1 sibling, 0 replies; 7+ messages in thread
From: zimoun @ 2022-10-19 10:54 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 57965, Aleksandr Vityazev

Hi,

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

>> 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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-19 14:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21  4:54 bug#57965: Problem with freecad substitute Aleksandr Vityazev
2022-09-21  7:25 ` Christopher Baines
2022-09-21  8:22   ` Aleksandr Vityazev
2022-09-21  8:26     ` Christopher Baines
2022-09-21 10:45       ` Aleksandr Vityazev
2022-09-21 11:27         ` Christopher Baines
2022-10-19 10:54   ` zimoun

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).