* Substitute not being used
@ 2022-07-25 18:42 Saku Laesvuori
2022-07-25 22:12 ` Csepp
2022-08-18 10:43 ` zimoun
0 siblings, 2 replies; 6+ messages in thread
From: Saku Laesvuori @ 2022-07-25 18:42 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 953 bytes --]
I'm trying to install telegram-desktop and I *think* guix should be able
to substitute it, but instead it tries to build it. (which then
consistently fails, which is why I started looking into it)
$ guix describe
Generation 11 Jul 25 2022 10:15:41 (current)
guix 2367469
repository URL: https://git.savannah.gnu.org/git/guix.git
commit: 236746900f062b34c857c4aab21709bcf1448ac7
There is a build for telegram-desktop for x86_64-linux
(https://ci.guix.gnu.org/build/1119886/details) that is part of an
evaluation on the same commit that my guix is on.
One confusing thing I've noticed while looking into this is that when
guix starts building telegram-desktop it says it's building
/gnu/store/aqhqhza58lzkvzxrspzbf8v9ssqvkxri-telegram-desktop-2.9.3.drv
but the derivation on ci.guix.gnu.org is
/gnu/store/gz50dz1rfaik7s33d22r2lmyzwd7f7bm-telegram-desktop-2.9.3.drv
Can someone explain what's happening here and what I have misunderstood?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Substitute not being used
2022-07-25 18:42 Substitute not being used Saku Laesvuori
@ 2022-07-25 22:12 ` Csepp
2022-08-18 18:14 ` Tobias Geerinckx-Rice
2022-08-18 10:43 ` zimoun
1 sibling, 1 reply; 6+ messages in thread
From: Csepp @ 2022-07-25 22:12 UTC (permalink / raw)
To: Saku Laesvuori; +Cc: help-guix
Saku Laesvuori <saku@laesvuori.fi> writes:
> [[PGP Signed Part:Undecided]]
> I'm trying to install telegram-desktop and I *think* guix should be able
> to substitute it, but instead it tries to build it. (which then
> consistently fails, which is why I started looking into it)
>
> $ guix describe
> Generation 11 Jul 25 2022 10:15:41 (current)
> guix 2367469
> repository URL: https://git.savannah.gnu.org/git/guix.git
> commit: 236746900f062b34c857c4aab21709bcf1448ac7
>
> There is a build for telegram-desktop for x86_64-linux
> (https://ci.guix.gnu.org/build/1119886/details) that is part of an
> evaluation on the same commit that my guix is on.
>
> One confusing thing I've noticed while looking into this is that when
> guix starts building telegram-desktop it says it's building
>
> /gnu/store/aqhqhza58lzkvzxrspzbf8v9ssqvkxri-telegram-desktop-2.9.3.drv
>
> but the derivation on ci.guix.gnu.org is
>
> /gnu/store/gz50dz1rfaik7s33d22r2lmyzwd7f7bm-telegram-desktop-2.9.3.drv
>
> Can someone explain what's happening here and what I have misunderstood?
>
> [[End of PGP Signed Part]]
An explanation I've heard is that the bordeaux signing key is not
authorized by default or something. I've had similar issues and could
not figure out a way to solve it, not even with that info.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Substitute not being used
@ 2022-07-26 1:29 Nathan Dehnel
0 siblings, 0 replies; 6+ messages in thread
From: Nathan Dehnel @ 2022-07-26 1:29 UTC (permalink / raw)
To: saku, help-guix
I have telegram-desktop installed and I've never seen a substitute
download for it. It always builds from source.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Substitute not being used
2022-07-25 18:42 Substitute not being used Saku Laesvuori
2022-07-25 22:12 ` Csepp
@ 2022-08-18 10:43 ` zimoun
2022-08-19 7:59 ` Saku Laesvuori
1 sibling, 1 reply; 6+ messages in thread
From: zimoun @ 2022-08-18 10:43 UTC (permalink / raw)
To: Saku Laesvuori, help-guix
Hi,
On lun., 25 juil. 2022 at 21:42, Saku Laesvuori <saku@laesvuori.fi> wrote:
> I'm trying to install telegram-desktop and I *think* guix should be able
> to substitute it, but instead it tries to build it. (which then
> consistently fails, which is why I started looking into it)
Do you have allowed substitutes?
> $ guix describe
> Generation 11 Jul 25 2022 10:15:41 (current)
> guix 2367469
> repository URL: https://git.savannah.gnu.org/git/guix.git
> commit: 236746900f062b34c857c4aab21709bcf1448ac7
>
> There is a build for telegram-desktop for x86_64-linux
> (https://ci.guix.gnu.org/build/1119886/details) that is part of an
> evaluation on the same commit that my guix is on.
--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=2367469 -- weather telegram-desktop
computing 1 package derivations for x86_64-linux...
looking for 1 store items on https://ci.guix.gnu.org...
https://ci.guix.gnu.org
100.0% substitutes available (1 out of 1)
at least 44,6 MiB of nars (compressed)
100,2 MiB on disk (uncompressed)
at least 1 000 queued builds
powerpc64le-linux: 990 (99.0%)
i686-linux: 6 (.6%)
x86_64-linux: 4 (.4%)
build rate: 28.06 builds per hour
x86_64-linux: 11.92 builds per hour
aarch64-linux: 7.26 builds per hour
i686-linux: 5.42 builds per hour
powerpc64le-linux: 6.34 builds per hour
looking for 1 store items on https://bordeaux.guix.gnu.org...
https://bordeaux.guix.gnu.org
100.0% substitutes available (1 out of 1)
21,6 MiB of nars (compressed)
100,2 MiB on disk (uncompressed)
(continuous integration information unavailable)
--8<---------------cut here---------------end--------------->8---
> One confusing thing I've noticed while looking into this is that when
> guix starts building telegram-desktop it says it's building
>
> /gnu/store/aqhqhza58lzkvzxrspzbf8v9ssqvkxri-telegram-desktop-2.9.3.drv
>
> but the derivation on ci.guix.gnu.org is
>
> /gnu/store/gz50dz1rfaik7s33d22r2lmyzwd7f7bm-telegram-desktop-2.9.3.drv
>
> Can someone explain what's happening here and what I have misunderstood?
--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=2367469 -- build telegram-desktop -n -d
The following derivation would be built:
/gnu/store/aqhqhza58lzkvzxrspzbf8v9ssqvkxri-telegram-desktop-2.9.3.drv
$ guix time-machine --commit=2367469 -- build telegram-desktop -n -d --no-grafts
/gnu/store/gz50dz1rfaik7s33d22r2lmyzwd7f7bm-telegram-desktop-2.9.3.drv
--8<---------------cut here---------------end--------------->8---
However, as you noticed, the ungrafted version seems substituable and
not the grafted one.
I agree it is confusing that “guix weather” reports an avaibility when
it is not the case for “guix build”. Maybe, it can be considered as a
bug.
Cheers,
simon
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Substitute not being used
2022-07-25 22:12 ` Csepp
@ 2022-08-18 18:14 ` Tobias Geerinckx-Rice
0 siblings, 0 replies; 6+ messages in thread
From: Tobias Geerinckx-Rice @ 2022-08-18 18:14 UTC (permalink / raw)
To: Csepp; +Cc: Saku Laesvuori, help-guix
[-- Attachment #1: Type: text/plain, Size: 609 bytes --]
Csepp 写道:
> An explanation I've heard is that the bordeaux signing key is
> not
> authorized by default or something.
I'm not sure if you meant ‘that fact on its own is useless’ or ‘I
know how to fix that, but it didn't help’. If it was the former:
If ‘grep 7D602902D3A2DBB83F8 /etc/guix/acl’ shows output, it is
authorised.
If it is not authorised, you can download [0] and run
‘sudo guix archive --authorize < bordeaux.guix.gnu.org.pub’.
Kind regards,
T G-R
[0]:
https://git.savannah.gnu.org/cgit/guix.git/plain/etc/substitutes/bordeaux.guix.gnu.org.pub
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Substitute not being used
2022-08-18 10:43 ` zimoun
@ 2022-08-19 7:59 ` Saku Laesvuori
0 siblings, 0 replies; 6+ messages in thread
From: Saku Laesvuori @ 2022-08-19 7:59 UTC (permalink / raw)
To: zimoun; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 594 bytes --]
> > I'm trying to install telegram-desktop and I *think* guix should be able
> > to substitute it, but instead it tries to build it. (which then
> > consistently fails, which is why I started looking into it)
>
> Do you have allowed substitutes?
Yes. The build failure was caused by not having enough memory and was
fixed by adding swap space.
> However, as you noticed, the ungrafted version seems substituable and
> not the grafted one.
That explains it, thanks! I didn't realize grafting could affect
substituting (or be different on the same commit).
- Saku Laesvuori
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-08-19 7:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-25 18:42 Substitute not being used Saku Laesvuori
2022-07-25 22:12 ` Csepp
2022-08-18 18:14 ` Tobias Geerinckx-Rice
2022-08-18 10:43 ` zimoun
2022-08-19 7:59 ` Saku Laesvuori
-- strict thread matches above, loose matches on Subject: below --
2022-07-26 1:29 Nathan Dehnel
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).