Re: Indication of build failure from substitute servers?

2024-08-06 Thread pelzflorian (Florian Pelz)
by one and attempts to build them as > usual. IMPORTANT POINT: *if* the commit builds correctly, it gets pushed > by CI to master branch, and the substitute is already available. *If* > the commit does not build, it gets rejected, and it never goes to > master. In theory we have QA b

Re: Indication of build failure from substitute servers?

2024-08-06 Thread Ricardo Wurmus
"Jonathan Frederickson" writes: > Would it make sense to have some mechanism for substitute servers to be able > to provide a sort of "non-existence proof" for a given > package? Something that the CI system could publish to indicate that its > build attempt f

Re: Indication of build failure from substitute servers?

2024-08-06 Thread Ricardo Wurmus
by one and attempts to build them as > usual. IMPORTANT POINT: *if* the commit builds correctly, it gets pushed > by CI to master branch, and the substitute is already available. *If* > the commit does not build, it gets rejected, and it never goes to > master. > > I currently do

Re: Indication of build failure from substitute servers?

2024-08-05 Thread Marek Paśnikowski
inaries; for example, kernel of a microcomputer — absolutely necessary, yet the device does not have enough memory. This is why I believe that a clean solution is to guarantee proper substitute availability for systems that require it. > Would it make sense to have some mechanism for substitute servers to

Re: New North American based Guix Substitute Server, cuirass.genenetwork.org Now Available

2024-07-23 Thread Collin J. Doering
Hi Ludo, Thanks! Following your advice, I have adjusted the system configuration to no longer use the default guix substitute servers[1] and deployed it to cuirass.genenetwork.org. Kind regards, PS: originally sent this only to Ludo due to an issue with my mail client. Footnotes: [1] https

Indication of build failure from substitute servers?

2024-07-22 Thread Jonathan Frederickson
ed to build in CI! And I usually discover this when the package fails to build locally, usually for the same reason, and usually after a relatively long build process. Would it make sense to have some mechanism for substitute servers to be able to provide a sort of "non-existence proof&qu

Re: New North American based Guix Substitute Server, cuirass.genenetwork.org Now Available

2024-07-11 Thread Ludovic Courtès
Hi Collin, "Collin J. Doering" skribis: > I am excited to announce that Guix substitutes (for x86_64) are now available > in North America, thanks to the generous contribution of server hardware and > infrastructure from GeneNetwork.org. > > This new server enhances the availability and redund

New North American based Guix Substitute Server, cuirass.genenetwork.org Now Available

2024-07-06 Thread Collin J. Doering
-america/. Stay tuned for more information! # Using Substitutes from cuirass.genenetwork.org If you're using Guix System, you can use the cuirass.genenetwork.org substitute server completing the following: 1. Add `https://cuirass.genenetwork.org` to the list of substitute servers (usin

Re: Error handling when 'guix substitute' dies

2024-05-27 Thread Richard Sent
Hi Ludo! FYSA based on https://issues.guix.gnu.org/71238 I suspect the fix mentioned in that patch might not be applying properly in all cases. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: Error handling when 'guix substitute' dies

2024-04-10 Thread Christopher Baines
Ludovic Courtès writes: > Hi, > > Philip McGrath skribis: > >> I don't know if the root cause is related, but this reminded me of >> some networking errors I sometimes get accessing substitutes. I had >> the luck (good or bad?) to get an example while building >>

Re: Error handling when 'guix substitute' dies

2024-04-10 Thread Ludovic Courtès
Hi, Lars Bilke skribis: > I ran the command in a loop on 4 machines for around 2 hours doing 1 request > per machine per second but no errors occured... Hmm OK, thanks for testing. Not sure how to understand the problem then. It could be triggered keep-alive and connection reuse, who knows.

Re: Error handling when 'guix substitute' dies

2024-04-10 Thread Ludovic Courtès
Hi, Philip McGrath skribis: > I don't know if the root cause is related, but this reminded me of > some networking errors I sometimes get accessing substitutes. I had > the luck (good or bad?) to get an example while building > , so I thought I'd report. > >> i

Re: Bug in Guix? ... guix-command substitute' died unexpectedly

2024-04-06 Thread jbranso
;guix', commits 9edb3f6 to bfc6143 (4.470 new > commits)... > Building from this channel: > guix https://git.savannah.gnu.org/git/guix.git bfc6143 > substitute: updating substitutes from 'https://ci.guix.gnu.org > https://ci.guix.gnu.org/ '... 100.0% > substitute:

Bug in Guix? ... guix-command substitute' died unexpectedly

2024-04-06 Thread Zelphir Kaltstahl
ing channel 'guix', commits 9edb3f6 to bfc6143 (4.470 new commits)... Building from this channel: guixhttps://git.savannah.gnu.org/git/guix.git bfc6143 substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://

Re: Error handling when 'guix substitute' dies

2024-04-03 Thread Lars Bilke
Dear Ludo, I ran the command in a loop on 4 machines for around 2 hours doing 1 request per machine per second but no errors occured... On 29 Mar 2024, at 16:10, Ludovic Courtès wrote: > Hello, > > Ada Stevenson skribis: > >>> diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.

Re: Error handling when 'guix substitute' dies

2024-04-02 Thread Ada Stevenson
Hi Lars, On Tue, Apr 2 2024 at 10:42:18 AM +0200, Lars Bilke wrote: Dear Ludo, I ran the command in a loop on 4 machines for around 2 hours doing 1 request per machine per second but no errors occured... I did a similar thing. No errors at all. However, I was reconfiguring my system at uni

Re: Error handling when 'guix substitute' dies

2024-04-01 Thread Philip McGrath
6jcpvz404x6-chez-fmt-0.8.11.tar.gz failed guix build: error: corrupt input while restoring archive from # The last time this happened, I kept rerunning the command a bunch of times. When it succeeded with the first substitute with the problem, it hit the problem with another substitute, for seve

Re: Error handling when 'guix substitute' dies

2024-03-29 Thread Ludovic Courtès
Hello, Ada Stevenson skribis: >> diff --git a/guix/scripts/substitute.scm b/guix/scripts/substitute.scm >> index 37cd08e289..3af0bf0019 100755 >> --- a/guix/scripts/substitute.scm >> +++ b/guix/scripts/substitute.scm >> @@ -494,7 +494,9 @@ (define* (download-nar narinfo destination >> (defin

Re: Error handling when 'guix substitute' dies

2024-03-26 Thread Lars Bilke
Dear Ada and Ludo, thanks Ada for bringing this issue up again. I get the same error on `guix pull` almost always when I am on my enterprise network. Re-running `guix pull` a second time also almost always then runs fine. I checked with our IT: nothing suspicious on the network, i.e. no firewa

Re: Error handling when 'guix substitute' dies

2024-03-25 Thread Ada Stevenson
Hi Ludo', On 3/24/24 11:15 AM, Ludovic Courtès wrote: Hi Ada, Ada Stevenson skribis: Sometimes, usually when I'm on an enterprise network like my university's of library's wifi, the `guix substitute` process dies with a "TLS error in procedure 'write_to_sess

Re: Error handling when 'guix substitute' dies

2024-03-24 Thread Ludovic Courtès
Hi Ada, Ada Stevenson skribis: > Sometimes, usually when I'm on an enterprise network like my > university's of library's wifi, the `guix substitute` process dies > with a "TLS error in procedure 'write_to_session_record_port': Error > in the push func

Re: Error handling when 'guix substitute' dies

2024-03-17 Thread Ekaitz Zarraga
Hi Ada, On 2024-03-17 07:18, Ada Stevenson wrote: Hi Guix, I have this gripe with usability regarding using substitutes. Sometimes, usually when I'm on an enterprise network like my university's of library's wifi, the `guix substitute` process dies with a "TL

Error handling when 'guix substitute' dies

2024-03-16 Thread Ada Stevenson
Hi Guix, I have this gripe with usability regarding using substitutes. Sometimes, usually when I'm on an enterprise network like my university's of library's wifi, the `guix substitute` process dies with a "TLS error in procedure 'write_to_session_record_port'

Re: How to find a package file from substitute servers

2024-01-09 Thread Ludovic Courtès
Hello, Pan Xie skribis: > Unfortunately, I can't find a way to do the similar thing on GuixSD. I > know there is a “guix locate” to find files from store items, but > those store items must be already present in my gnu store. There’s a plan to allow ‘guix locate’ to download a file database fro

How to find a package file from substitute servers

2023-12-20 Thread Pan Xie
ry such informations from a substitute server? Will Guix plan to add a package file database in the future? Thanks Pan

Re: Corrupt substitute in test

2023-06-25 Thread Hilton Chain
nally with "--no-substitutes" if the substitute still doesn't work for you. guix build --source u-boot-sandbox --8<---cut here---start->8--- substitute: updating substitutes from 'https://mirror.sjtu.edu.cn/guix'...

Re: Corrupt substitute in test

2023-06-23 Thread Development of GNU Guix and the GNU System distribution.
Hi Hilton, On Fri, Jun 23, 2023 at 12:28 AM Hilton Chain wrote: > > You can download the tarball with "build --source", optionally with > "--no-substitutes" if the substitute still doesn't work for you. There is always something to learn in Guix. I also added

Corrupt substitute in test

2023-06-22 Thread Development of GNU Guix and the GNU System distribution.
Hi, A system test fails consistently due to a corrupt substitute. May I pass anything to 'make' that causes the package to be built locally? Thanks! KInd regards Felix * * * substituting /gnu/store/mm2bdrcapk20f7mim4p6xdcj02nl3d35-u-boot-2022.10.tar.xz... Backtrace: In ice-9/

The weather (substitute availability) is looking good today

2023-06-06 Thread Christopher Baines
Hey! Since the core-updates merge, substitute availability has been quite changeable. This has been more due to the large changes merged since the core-updates merge than the changes in core-updates itself. Substitute availability was quite high for a brief period around a couple of weeks ago

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-31 Thread Christopher Baines
Luis Felipe writes: > Hi Chris, > > El 31/05/23 a las 10:48, Christopher Baines escribió: >> Luis Felipe writes: >> >>> Another (faster) test from a different machine with Guix System 020184f, >>> same place and network (60 Mbps): >> Thanks for the information, although it looks like you're not

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-31 Thread Luis Felipe
Hi Chris, El 31/05/23 a las 10:48, Christopher Baines escribió: Luis Felipe writes: Another (faster) test from a different machine with Guix System 020184f, same place and network (60 Mbps): Thanks for the information, although it looks like you're not well connected to any of the three mach

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-31 Thread Christopher Baines
Luis Felipe writes: > Another (faster) test from a different machine with Guix System 020184f, > same place and network (60 Mbps): Thanks for the information, although it looks like you're not well connected to any of the three machines. The Singapore mirror is hosted by Vultr, and they do ha

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-31 Thread Simon Tournier
Hi Ludo, all, On Fri, 26 May 2023 at 18:05, Ludovic Courtès wrote: > 2023-05-26 17:59:41 (75.0 MB/s) - ‘/dev/null’ saved [208615205/208615205] > 2023-05-26 18:01:16 (16.1 MB/s) - ‘/dev/null’ saved [208615205/208615205] > 2023-05-26 18:02:49 (5.88 MB/s) - ‘/dev/null’ saved [208615205/208615205]

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-31 Thread Simon Tournier
Hi Chris, Thanks for this work. Numbers from Paris, running: $ wget -O/dev/null 1. From desktop at work Bordeaux : 38.4 MB/s US : 2.33 MB/s Singapore: 2.96 MB/s 2. From laptop at home Bordeaux : 529 KB/s US : 520 KB/s Singapore: 524 KB/s Well, I am livin

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-29 Thread Efraim Flashner
On Thu, May 25, 2023 at 02:52:24PM +0100, Christopher Baines wrote: > Hey! > > I was reminded again about substitute download speeds outside of Europe > again today. It looks like I'm a bit later than most of the other responses. > Once again it would be good to gather s

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-26 Thread Philip McGrath
than bordeaux-us-east-mirror were faster in this trial than feels typical here. The results I reported at https://lists.gnu.org/archive/html/guix-devel/2022-07/msg00320.html (e.g. 8.17MB/s for bordeaux.guix.gnu.org) might be more usual. Subjectively, my impression of the non-mirrored substitute

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-26 Thread Development of GNU Guix and the GNU System distribution.
Hi Kaelyn & everyone, On Fri, May 26, 2023 at 11:29 AM Kaelyn wrote: > > Below are my results In order to make it easier for Christopher—and all of us, really—to think about the results of the poll, I put together a Framacalc spreadsheet: https://lite.framacalc.org/pm6mbqubqr-a16h Perhaps

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-26 Thread Kaelyn
> France: wget > https://bordeaux.guix.gnu.org/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0 > US: wget > https://bordeaux-us-east-mirror.cbaines.net/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0 > Singapore: wget > https://bordeaux-singapore-mirror.cbaines.net/nar/lz

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-26 Thread Luis Felipe
Another (faster) test from a different machine with Guix System 020184f, same place and network (60 Mbps): El 25/05/23 a las 15:49, Luis Felipe escribió: I'm in Colombia, Aburrá Valley, Guix System 5eb1d1b, home network, single user (as far as I know). France: #+begin_example wget https://b

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-26 Thread Ludovic Courtès
Andreas Enge skribis: > I am in France with a 100Mb/s FTTH link, and download is fast from all > of the mirrors. > FR 5,59MB/sin 39s Only? I’m in Bordeaux :-) and from my workplace’s fast network I get more than 10x more: --8<---cut here---start->8--- $

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-26 Thread Maxim Cournoyer
Hi Chris, Christopher Baines writes: [...] > France:wget > https://bordeaux.guix.gnu.org/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0 > US:wget > https://bordeaux-us-east-mirror.cbaines.net/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0 > Singapore: wg

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-26 Thread 宋文武
Christopher Baines writes: > While I did stop running a mirror in Singapore, it's now back and from > the discussion on IRC today [3] there was some anecdotal evidence that > this helps with fetching substitutes from China. Yes, only the Singapore IPv4 mirror is usable for me in China. [berdea

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-26 Thread Andreas Enge
Hello, Am Thu, May 25, 2023 at 02:52:24PM +0100 schrieb Christopher Baines: > So please share the output from wget and if you're comfortable doing so, > the rough real world location of where the computer doing the > downloading is. I am in France with a 100Mb/s FTTH link, and download is fast fr

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-25 Thread Development of GNU Guix and the GNU System distribution.
Hi Philip, On Thu, May 25, 2023 at 1:49 PM Philip McGrath wrote: > > Here are results from Florida, US: > > 2023-05-25 16:28:07 (14.9 MB/s) > 2023-05-25 16:28:53 (52.9 MB/s) > 2023-05-25 16:29:37 (10.5 MB/s) Wow, those are the best Guix speeds I have seen yet, perhaps aside from folks connected

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-25 Thread Philip McGrath
Hi, On Thu, May 25, 2023, at 9:52 AM, Christopher Baines wrote: > Hey! > > I was reminded again about substitute download speeds outside of Europe > again today. > > There was some feedback when I sent out a message to guix-devel [1], [2] > a while back. I think the rough su

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-25 Thread Luis Felipe
Hey, Chris: El 25/05/23 a las 13:52, Christopher Baines escribió: France:wget https://bordeaux.guix.gnu.org/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0 US:wget https://bordeaux-us-east-mirror.cbaines.net/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0 Si

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-25 Thread Vagrant Cascadian
On 2023-05-25, Christopher Baines wrote: > France:wget > https://bordeaux.guix.gnu.org/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0 > US:wget > https://bordeaux-us-east-mirror.cbaines.net/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0 > Singapore: wget > h

Re: Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-25 Thread Development of GNU Guix and the GNU System distribution.
Hi Chris! On Thu, May 25, 2023 at 7:14 AM Christopher Baines wrote: > > France:wget > https://bordeaux.guix.gnu.org/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0 --2023-05-25 07:23:45-- https://bordeaux.guix.gnu.org/nar/lzip/078vr3r8mn3yrwzwxw64hmcyshic9p3q-stellarium-0.21.0 R

Do substitutes download slowly for you? / Speeding up substitute delivery/mirrors

2023-05-25 Thread Christopher Baines
Hey! I was reminded again about substitute download speeds outside of Europe again today. There was some feedback when I sent out a message to guix-devel [1], [2] a while back. I think the rough summary is that there's anecdotal evidence that a US mirror helps. 1: https://lists.gnu.org/ar

Re: Substitute not downloading

2023-05-10 Thread Greg Hogan
On Wed, May 10, 2023 at 5:35 AM Andreas Enge wrote: > > I think the substitute not being available may have to do with the > difference between the package being available in the store, and as a > nar file for substitution. As I understand it, the first request for a nar > can f

Re: Substitute not downloading

2023-05-10 Thread Andreas Enge
Am Tue, May 09, 2023 at 11:43:01AM -0400 schrieb Greg Hogan: > I have an up-to-date Guix but am unable to fetch the substitute from > http://ci.guix.gnu.org/build/1332269/details So the link indicates that the build has succeeded "19 hours ago", which would mean on May 9 around

Substitute not downloading

2023-05-09 Thread Greg Hogan
I have an up-to-date Guix but am unable to fetch the substitute from http://ci.guix.gnu.org/build/1332269/details Are substitutes only available after the evaluation has completed? --8<---cut here---start->8--- $ guix describe Generation 9May 09 2

Re: Fwd: [gnu-soc] GNU Guix Project: Decentralized substitute distribution

2023-03-06 Thread Shivam Madlani
des are equivalent and connect to many > other nodes (like a grid or mesh). > > [1] > https://www.rand.org/content/dam/rand/pubs/research_memoranda/2006/RM3420.pdf#page=16&zoom=90,-494,792 > > The goal of the project is to make Guix substitute distribution > something more in

Re: Fwd: [gnu-soc] GNU Guix Project: Decentralized substitute distribution

2023-03-05 Thread pukkamustard
and.org/content/dam/rand/pubs/research_memoranda/2006/RM3420.pdf#page=16&zoom=90,-494,792 The goal of the project is to make Guix substitute distribution something more in-between decentralied and distributed. Currently it resembels something between centralized and decentralized. The pro

Re: Fwd: [gnu-soc] GNU Guix Project: Decentralized substitute distribution

2023-03-03 Thread Csepp
Shivam Madlani writes: > -- Forwarded message - > From: Shivam Madlani > Date: Fri, 3 Mar 2023 at 12:42 > Subject: [gnu-soc] GNU Guix Project: Decentralized substitute distribution > To: > > Hello all, > My name is Shivam Madlani aiming for GSoC&#

Re: Substitute fetching in installer iso's default origin very slow. Do you need more bandwidth?

2023-02-14 Thread Josselin Poiret
Hi, Tainted Totoro Toaster writes: > Substitute fetching in installer iso's default origin very slow. Do you > need more bandwidth? I don't think it's just a matter of bandwidth, the main substitute server has pretty bad peering with some areas of the world. Being able

Substitute fetching in installer iso's default origin very slow. Do you need more bandwidth?

2023-02-14 Thread Tainted Totoro Toaster
Substitute fetching in installer iso's default origin very slow. Do you need more bandwidth? Best wishes TTT My pubkey: -BEGIN PGP PUBLIC KEY BLOCK- mDMEY+u0BBYJKwYBBAHaRw8BAQdA6QcD8NB84W7zT4rzWeDDHLo49h4F7ghroDoY aMurA1K0O1RhaW50ZWQgVG90b3JvIFRvYXN0ZXIgPHRhaW50ZWRfdG90b3J

Re: bug#58813: can't substitute etc/teams.scm command as doc suggests

2023-01-12 Thread Simon Tournier
Hi Maxim, On mer., 11 janv. 2023 at 22:00, Maxim Cournoyer wrote: > It's developed as part of U-Boot and available at > https://u-boot.readthedocs.io/en/latest/develop/patman.html. It's > generated from the same sources as the info manual from > u-boot-documentation referenced above. Oh thank

Re: bug#58813: can't substitute etc/teams.scm command as doc suggests

2023-01-11 Thread Maxim Cournoyer
Hi Simon, Simon Tournier writes: > Hi, > > On Mon, 09 Jan 2023 at 15:52, Maxim Cournoyer > wrote: > >> It wouldn't change; patman would be hinted at briefly with a reference >> to its documentation (info '(u-boot) Patman patch manager' from the >> u-boot-documentation package) as a nice way to

Re: bug#58813: can't substitute etc/teams.scm command as doc suggests

2023-01-11 Thread Simon Tournier
Hi, On Mon, 09 Jan 2023 at 15:52, Maxim Cournoyer wrote: > It wouldn't change; patman would be hinted at briefly with a reference > to its documentation (info '(u-boot) Patman patch manager' from the > u-boot-documentation package) as a nice way to stay organize with > submissions and automate a

Re: bug#58813: can't substitute etc/teams.scm command as doc suggests

2023-01-09 Thread Maxim Cournoyer
Hi Ludovic, Ludovic Courtès writes: > Hi, > > Maxim Cournoyer skribis: > >> Simon Tournier writes: >> >>> Hi Ludo, >>> >>> On Tue, 03 Jan 2023 at 23:29, Ludovic Courtès wrote: >>> The manual recommends this (info "(guix) Teams"): git send-email --to issue_num...@debbugs.gnu.o

Re: bug#58813: can't substitute etc/teams.scm command as doc suggests

2023-01-09 Thread Ludovic Courtès
Hi, Maxim Cournoyer skribis: > Simon Tournier writes: > >> Hi Ludo, >> >> On Tue, 03 Jan 2023 at 23:29, Ludovic Courtès wrote: >> >>> The manual recommends this (info "(guix) Teams"): >>> >>> git send-email --to issue_num...@debbugs.gnu.org $(./etc/teams.scm cc >>> mentors) *.patch >>> >>>

Decentralized substitute distribution with ERIS

2022-12-30 Thread pukkamustard
Hello Guix, Just fyi that there is an update to the #52555 patch series that allows more decentralized substitute distribution via protocols such as IPFS or GNUnet: https://issues.guix.gnu.org/52555#46 (I was previously encouraged to post here as some interested people missed the mails to guix

Re: substitute derivation: also substitute grafts?

2022-10-10 Thread Ricardo Wurmus
zimoun writes: > Hi Ludo, > > On Mon, 10 Oct 2022 at 17:32, Ludovic Courtès wrote: > >> This has to be compared with the cost of a rebuild/redownload of the >> same set of packages. Even in the worst case, grafts are faster than >> that. Now, the difference is that those grafts need to be re

Re: substitute derivation: also substitute grafts?

2022-10-10 Thread zimoun
Hi Ludo, On Mon, 10 Oct 2022 at 17:32, Ludovic Courtès wrote: > This has to be compared with the cost of a rebuild/redownload of the > same set of packages. Even in the worst case, grafts are faster than > that. Now, the difference is that those grafts need to be recomputed > regularly, where

Re: substitute derivation: also substitute grafts?

2022-10-10 Thread Ludovic Courtès
Hi, zimoun skribis: > On Wed, 05 Oct 2022 at 12:03, Ludovic Courtès wrote: [...] >> An is it too expensive for that machine to build grafts locally? > > Using my old desktop from work, yes the experience is really poor; > especially for some packages where the number of grafts is sometimes >

Re: substitute derivation: also substitute grafts?

2022-10-07 Thread Mark H Weaver
zimoun writes: > On Wed, 05 Oct 2022 at 12:03, Ludovic Courtès wrote: >> Ricardo Wurmus skribis: >> >>> In my scenario I have two machines, one building stuff the other only >>> substituting. The serving machine would be the one deciding whether to >>> enforce substitutability or not. >> >> An

Re: substitute derivation: also substitute grafts?

2022-10-07 Thread zimoun
Hi, On Wed, 05 Oct 2022 at 12:03, Ludovic Courtès wrote: > Ricardo Wurmus skribis: > >> In my scenario I have two machines, one building stuff the other only >> substituting. The serving machine would be the one deciding whether to >> enforce substitutability or not. > > An is it too expensive

Re: substitute derivation: also substitute grafts?

2022-10-05 Thread Ricardo Wurmus
Ludovic Courtès writes: > Ricardo Wurmus skribis: > >> In my scenario I have two machines, one building stuff the other only >> substituting. The serving machine would be the one deciding whether to >> enforce substitutability or not. > > An is it too expensive for that machine to build graft

Re: substitute derivation: also substitute grafts?

2022-10-05 Thread Ludovic Courtès
Hi, Ricardo Wurmus skribis: > In my scenario I have two machines, one building stuff the other only > substituting. The serving machine would be the one deciding whether to > enforce substitutability or not. An is it too expensive for that machine to build grafts locally? Ludo’.

Re: Make guix use alternative substitute if one is down

2022-10-01 Thread Philip Beadling
Excellent - thanks for letting us know Ludo', this is really useful. From: Ludovic Courtès Sent: Saturday, 1 October 2022, 18:55 To: Philip Beadling Cc: Jacob Hrbek ; guix-devel@gnu.org Subject: Re: Make guix use alternative substitute if one is dow

Re: substitute derivation: also substitute grafts?

2022-10-01 Thread Ricardo Wurmus
Tobias Geerinckx-Rice writes: > Quick note: > > On 1 October 2022 17:29:03 UTC, Ricardo Wurmus wrote: >>If substitutable was merely a hint that a daemon could be free to ignore >>it wouldn’t be any worse than downloading a substitute vs building >>something locall

Re: substitute derivation: also substitute grafts?

2022-10-01 Thread Tobias Geerinckx-Rice
Quick note: On 1 October 2022 17:29:03 UTC, Ricardo Wurmus wrote: >If substitutable was merely a hint that a daemon could be free to ignore >it wouldn’t be any worse than downloading a substitute vs building >something locally. Substitutability has legal implications in Guix, whether

Re: substitute derivation: also substitute grafts?

2022-10-01 Thread Ricardo Wurmus
end on external > factors. If substitutable was merely a hint that a daemon could be free to ignore it wouldn’t be any worse than downloading a substitute vs building something locally. > However, when copying things around, you can still do: ‘guix copy > /gnu/store/…-xyz’ and that’ll work fin

Re: substitute derivation: also substitute grafts?

2022-10-01 Thread Ludovic Courtès
Hi! Ricardo Wurmus skribis: > While this is also an interesting development for grafts, my question is > much narrowed. I’d be very happy if we could have a little switch that > made my daemon(s) ignore the “substitutable?” property and just > substitute everything. > > I

Re: Make guix use alternative substitute if one is down

2022-10-01 Thread Ludovic Courtès
Hi, Philip Beadling skribis: > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%guix > substitute: warning: ci.guix.gnu.org<http://ci.guix.gnu.org>: connection > failed: No route to host > substitute: > 20,6 MB will be downloaded > sub

Re: Make guix use alternative substitute if one is down

2022-09-21 Thread zimoun
Hi, On Wed, 21 Sep 2022 at 13:09, Jacob Hrbek wrote: > Proposing to implement a handling that if a substitute is down and the > package is available on another substitute to use that substitute > instead of fatal failure That’s already the case. Please give a look at <https://

Re: Make guix use alternative substitute if one is down

2022-09-21 Thread Philip Beadling
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 0.0%guix substitute: warning: ci.guix.gnu.org<http://ci.guix.gnu.org>: connection failed: No route to host substitute: 20,6 MB will be downloaded substitute: updating substitutes from 'https://ci.g

Make guix use alternative substitute if one is down

2022-09-21 Thread Jacob Hrbek
kreyren@dreamon ~$ guix install gimpThe following package will be installed:    gimp 2.10.32 substitute: updating substitutes from 'https://ci.guix.gnu.org'...   0.0%guix substitute: warning: ci.guix.gnu.org: connection failed: No route to host substitute: 20,6 MB will be downloaded

Re: substitute derivation: also substitute grafts?

2022-09-19 Thread Ricardo Wurmus
this is also an interesting development for grafts, my question is much narrowed. I’d be very happy if we could have a little switch that made my daemon(s) ignore the “substitutable?” property and just substitute everything. I’m not looking for performance improvements in grafting, but in

Re: substitute derivation: also substitute grafts?

2022-09-19 Thread Maxime Devos
On 19-09-2022 18:26, Josselin Poiret wrote: Hi everyone, Maxime Devos writes: Fallbacks might be necessary (not every store item is constructed from a package), but it all sounds doable and efficient. Also the union could needs to be modified to ignore the .graft-offsets of the union'ed thing

Re: substitute derivation: also substitute grafts?

2022-09-19 Thread Josselin Poiret
Hi everyone, Maxime Devos writes: > Fallbacks might be necessary (not every store item is constructed from a > package), but it all sounds doable and efficient. Also the union could > needs to be modified to ignore the .graft-offsets of the union'ed things. If I understand the whole thing pro

Re: substitute derivation: also substitute grafts?

2022-09-15 Thread Maxime Devos
On 15-09-2022 19:43, Csepp wrote: Could we store the offsets of references somewhere at build time? I now remember that idea, I forgot about that one. My answer: I don't see why not, maybe by adding a phase to %standard-phases (at the very end, to avoid it becoming invalid) that saves it i

Re: substitute derivation: also substitute grafts?

2022-09-15 Thread Csepp
Maxime Devos writes: > [[PGP Signed Part:Undecided]] > > > On 15-09-2022 16:46, Csepp wrote: >> Ricardo Wurmus writes: >> >>> [...] >>> Did I say *all items*? Well, … grafts are not included, because >>> graft >>> derivations are marked as not substitutable. >>> >>> Can we change that conditi

Re: substitute derivation: also substitute grafts?

2022-09-15 Thread Maxime Devos
On 15-09-2022 16:46, Csepp wrote: Ricardo Wurmus writes: [...] Did I say *all items*? Well, … grafts are not included, because graft derivations are marked as not substitutable. Can we change that conditionally? I would really like to avoid having to build grafts on B when they have alread

Re: substitute derivation: also substitute grafts?

2022-09-15 Thread Csepp
Ricardo Wurmus writes: > Hi Guix, > > I really like the fact that Guix can substitute derivations. It’s a > great way to transfer a profile from one powerful machine to a weak > machine without having to set up SSH for “guix copy” first. > > I just build a profile on m

substitute derivation: also substitute grafts?

2022-09-15 Thread Ricardo Wurmus
Hi Guix, I really like the fact that Guix can substitute derivations. It’s a great way to transfer a profile from one powerful machine to a weak machine without having to set up SSH for “guix copy” first. I just build a profile on machine A, and then on the weak machine B I do guix build

Re: Specify substitute url in GUI installer

2022-03-30 Thread ZeroBeyond
Hi, I don't think substitute server authorization is a problem. In most cases, the purpose of using a substitute server in the installation process is mainly for speeding up package downloads. The content of the substitute server mirror remains the same as the official one. As I

Re: Specify substitute url in GUI installer

2022-03-30 Thread ZeroBeyond
Hi, I don't think substitute server authorization is a problem. In most cases, the purpose of using a substitute server in the installation process is mainly for speeding up package downloads. The content of the substitute server mirror remains the same as the official one. As I

Re: Specify substitute url in GUI installer

2022-03-30 Thread ZeroBeyond
Hi, I don't think substitute server authorization is a problem. In most cases, the purpose of using a substitute server in the installation process is mainly for speeding up package downloads. The content of the substitute server mirror remains the same as the official one. As I

Re: Specify substitute url in GUI installer

2022-03-30 Thread ZeroBeyond
Hi, I don't think substitute server authorization is a problem. In most cases, the purpose of using a substitute server in the installation process is mainly for speeding up package downloads. The content of the substitute server mirror remains the same as the official one. As I kno

Re: Specify substitute url in GUI installer

2022-03-30 Thread hahawang
Hi, I don't think substitute server authorization is a problem. In most cases, the purpose of using a substitute server in the installation process is mainly for speeding up package downloads. The content of the substitute server mirror remains the same as the official one. As I

Re: Adding Substitute Mirrors page to installer

2021-12-02 Thread Jonathan Brielmaier
On 02.12.21 10:36, zimoun wrote: Hi, On Wed, 1 Dec 2021 at 23:49, raid5atemyhomework wrote: From 41b174da1e38b71563405f1be48331fbe0e5700d Mon Sep 17 00:00:00 2001 From: raid5atemyhomework Date: Tue, 16 Mar 2021 23:45:37 +0800 Subject: [PATCH] gnu: Add substitute mirrors page to installer

Re: Adding Substitute Mirrors page to installer

2021-12-02 Thread zimoun
Hi, On Wed, 1 Dec 2021 at 23:49, raid5atemyhomework wrote: > From 41b174da1e38b71563405f1be48331fbe0e5700d Mon Sep 17 00:00:00 2001 > From: raid5atemyhomework > Date: Tue, 16 Mar 2021 23:45:37 +0800 > Subject: [PATCH] gnu: Add substitute mirrors page to installer. Thanks. But I

Re: Adding Substitute Mirrors page to installer

2021-12-01 Thread raid5atemyhomework
Mar 2021 23:45:37 +0800 Subject: [PATCH] gnu: Add substitute mirrors page to installer. * gnu/installer/services.scm (system-service) [snippet-type]: New field. (%system-services): Add substitute mirrors. (service-list-service?): New procedure. (modify-services-service?): New procedure. (

Re: Adding Substitute Mirrors page to installer

2021-12-01 Thread zimoun
Hi, On Wed, 1 Dec 2021 at 07:13, raid5atemyhomework wrote: > Any chance of this getting reviewed and merge within the next five years? I understand your frustration. Could you please point which patch number ? Cheers, simon

Re: Adding Substitute Mirrors page to installer

2021-11-30 Thread raid5atemyhomework
Any chance of this getting reviewed and merge within the next five years? Thanks raid5atemyhomework

Re: Substitute retention

2021-10-15 Thread Ludovic Courtès
ckly than you’d think! Perhaps we need a better strategy with a low TTL for, say, intermediate ‘core-updates’ substitutes (no need to keep them more than a few weeks if we know we’re doing a world rebuild right after). It cannot be done as things are though because ‘guix publish’ doesn’t distinguish be

Re: Substitute retention

2021-10-12 Thread zimoun
t takes ~5min on the same machine. --8<---cut here---start->8--- $ time guix time-machine --commit=59d10c3112 -- --version Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'... substitute: updating s

Substitute retention

2021-10-12 Thread Ludovic Courtès
Hi! (Moving to guix-devel from .) zimoun skribis: >> For the record, the ‘guix publish’ config on berlin is here: >> >> >> https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/modules/sysadmin/services.scm#n485 >> >> If I read that correctly

  1   2   3   4   >