GNU bug report logs - #57965
Problem with freecad substitute

Previous Next

Package: guix;

Reported by: Aleksandr Vityazev <avityazev <at> posteo.org>

Date: Wed, 21 Sep 2022 04:56:01 UTC

Severity: normal

Done: Aleksandr Vityazev <avityazew <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57965 in the body.
You can then email your comments to 57965 AT debbugs.gnu.org in the normal way.

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#57965; Package guix. (Wed, 21 Sep 2022 04:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Aleksandr Vityazev <avityazev <at> posteo.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 21 Sep 2022 04:56:01 GMT) Full text and rfc822 format available.

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

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: "bug-guix" <bug-guix <at> gnu.org>
Subject: Problem with freecad substitute
Date: Wed, 21 Sep 2022 04:54:59 +0000
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




Information forwarded to bug-guix <at> gnu.org:
bug#57965; Package guix. (Wed, 21 Sep 2022 07:27:02 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: Aleksandr Vityazev <avityazev <at> posteo.org>
Cc: 57965 <at> debbugs.gnu.org
Subject: Re: bug#57965: Problem with freecad substitute
Date: Wed, 21 Sep 2022 08:25:42 +0100
[Message part 1 (text/plain, inline)]
Aleksandr Vityazev <avityazev <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#57965; Package guix. (Wed, 21 Sep 2022 08:24:02 GMT) Full text and rfc822 format available.

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

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 57965 <at> debbugs.gnu.org
Subject: Re: bug#57965: Problem with freecad substitute
Date: Wed, 21 Sep 2022 08:22:56 +0000
Hi,

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

> Aleksandr Vityazev <avityazev <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#57965; Package guix. (Wed, 21 Sep 2022 08:31:02 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: Aleksandr Vityazev <avityazev <at> posteo.org>
Cc: 57965 <at> debbugs.gnu.org
Subject: Re: bug#57965: Problem with freecad substitute
Date: Wed, 21 Sep 2022 09:26:53 +0100
[Message part 1 (text/plain, inline)]
Aleksandr Vityazev <avityazev <at> posteo.org> writes:

> Hi,
>
> On 2022-09-21, 08:25 +0100, Christopher Baines <mail <at> cbaines.net> wrote:
>
>> Aleksandr Vityazev <avityazev <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#57965; Package guix. (Wed, 21 Sep 2022 10:46:01 GMT) Full text and rfc822 format available.

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

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 57965 <at> debbugs.gnu.org
Subject: Re: bug#57965: Problem with freecad substitute
Date: Wed, 21 Sep 2022 10:45:17 +0000
On 2022-09-21, 09:26 +0100, Christopher Baines <mail <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#57965; Package guix. (Wed, 21 Sep 2022 11:34:01 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: Aleksandr Vityazev <avityazev <at> posteo.org>
Cc: 57965 <at> debbugs.gnu.org
Subject: Re: bug#57965: Problem with freecad substitute
Date: Wed, 21 Sep 2022 12:27:49 +0100
[Message part 1 (text/plain, inline)]
Aleksandr Vityazev <avityazev <at> posteo.org> writes:

> On 2022-09-21, 09:26 +0100, Christopher Baines <mail <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#57965; Package guix. (Wed, 19 Oct 2022 14:01:01 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 57965 <at> debbugs.gnu.org, Aleksandr Vityazev <avityazev <at> posteo.org>
Subject: Re: bug#57965: Problem with freecad substitute
Date: Wed, 19 Oct 2022 12:54:11 +0200
Hi,

On Wed, 21 Sep 2022 at 08:25, Christopher Baines <mail <at> 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




Reply sent to Aleksandr Vityazev <avityazew <at> gmail.com>:
You have taken responsibility. (Mon, 01 May 2023 08:47:01 GMT) Full text and rfc822 format available.

Notification sent to Aleksandr Vityazev <avityazev <at> posteo.org>:
bug acknowledged by developer. (Mon, 01 May 2023 08:47:01 GMT) Full text and rfc822 format available.

Message #28 received at 57965-done <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazew <at> gmail.com>
To: 57965-done <at> debbugs.gnu.org
Date: Mon, 01 May 2023 11:46:17 +0300
-- 

Aleksandr Vityazev




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 29 May 2023 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 332 days ago.

Previous Next


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