unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How long does it usually take to pull --no-substitutes?
@ 2023-05-20 11:05 Zelphir Kaltstahl
  2023-05-21 22:00 ` Felix Lechner via
  2023-05-22 10:12 ` Steve George
  0 siblings, 2 replies; 4+ messages in thread
From: Zelphir Kaltstahl @ 2023-05-20 11:05 UTC (permalink / raw)
  To: help-guix

Hello Guix users!

Recently I had an issue when I did a `guix pull`, so I tried `guix pull 
--no-substitutes`. My understanding is, that substitutes are platform specific 
pre-built binaries, which one can download from the guix servers, instead of 
building them oneself. (Please correct me, if this is wrong.) So I thought, that 
most time would be spent compiling things and hopefully compiling many things in 
parallel as much as possible, to speed up the whole process. However, guix 
seemed stuck at some "build phase". I waited for like 2h or so, but it was still 
at that build phase. Is this normal? How long does it usually take to run with 
no substitutes? I guess it also depends on what one has in ones profile, so here 
is my output of `guix pacakge -i`:

~~~~
guile-colorized  	0.1               	out	/gnu/store/1v7mz43jc2dnw7xsxw7rj6k8nyr4f78m-guile-colorized-0.1
guile-fslib      	0.2.0             	out	/gnu/store/594xq5y9jfbllsjw81n73q3bqk8xn6zw-guile-fslib-0.2.0
guile-lib        	0.2.7             	out	/gnu/store/bc3zzjych6jyp4ph2af9k3w8qcs3nsn2-guile-lib-0.2.7
font-wqy-zenhei  	0.9.45            	out	/gnu/store/2wjdb6dwych39fil9h68zggy7pwbd5av-font-wqy-zenhei-0.9.45
font-wqy-microhei	0.2.0-beta        	out	/gnu/store/j42pppx2yzyxmw1k8qjs6b3yaqkfkg5g-font-wqy-microhei-0.2.0-beta
sicp             	20180718-3.bda03f7	out	/gnu/store/sbzr80wq0fgr7ngc7yha9vkdwn75kg1a-sicp-20180718-3.bda03f7
openblas         	0.3.20            	out	/gnu/store/z9aavic2jyvp6jyfxnl9ka3i8vfk5phc-openblas-0.3.20
lapack           	3.9.0             	out	/gnu/store/ia3dpy6c6yrbwcyyvxfv7wxldiif1abg-lapack-3.9.0
blis             	0.8.1             	out	/gnu/store/gwqscaz61ygv5dsgda74jq46v0g0lxy9-blis-0.8.1
guile-readline   	3.0.9             	out	/gnu/store/5vkd41ldhz7c5gjcrmb33wx106j63jmp-guile-readline-3.0.9
guile-hall       	0.4.1             	out	/gnu/store/75qakrjfc4qvfhy9f2skivh7ry5w6923-guile-hall-0.4.1
gprolog          	1.5.0             	out	/gnu/store/3cd5y1ag1mg4x6dyy2xj9m305ssbx8gx-gprolog-1.5.0
gforth           	0.7.3             	out	/gnu/store/nxshv6ba19ng2lssw5qdp1i68msagyy6-gforth-0.7.3
guile-json       	4.7.3             	out	/gnu/store/p5f006jcr83jc7m731vhvjdkr2j0hnp3-guile-json-4.7.3
glibc-locales    	2.35              	out	/gnu/store/03v1svhv6wj9pd6awpdi5zn4wd31b23f-glibc-locales-2.35
ruby             	3.2.1             	out	/gnu/store/6cndaz34x298damyyj4ryc56f4q7arhc-ruby-3.2.1
chicken          	5.2.0             	out	/gnu/store/3wykwpp5wd7myky08scrzqkhiy1dzy8v-chicken-5.2.0
sbcl             	2.3.2             	out	/gnu/store/67mi5yxfm0d2id4bc4cl7pljkv94qx2z-sbcl-2.3.2
guile            	3.0.9             	out	/gnu/store/4gvgcfdiz67wv04ihqfa8pqwzsb0qpv5-guile-3.0.9
swi-prolog       	8.5.20            	out	/gnu/store/b7g7a9v42w41wwzlaram30dx764f7917-swi-prolog-8.5.20
erlang           	25.3              	out	/gnu/store/c1k92g8ga1q71cfb3fmj1kzgpfpbqxyn-erlang-25.3
emacs            	28.2              	out	/gnu/store/mq4xas3yrh24153z6hplaiv2b4frk561-emacs-28.2
obs              	29.0.2            	out	/gnu/store/fw77k67y5p8iamj5mbii9zbxwa7w9lxz-obs-29.0.2
yt-dlp           	2023.03.04        	out	/gnu/store/1dpkjibz0130n6fpkgn4mzl74d889dzv-yt-dlp-2023.03.04
schismtracker    	20221201          	out	/gnu/store/z5djfzrnbjccd8lh0z5bf9xazls2hm1v-schismtracker-20221201
okular           	22.08.1           	out	/gnu/store/d8pihmxccd5bid2pi87wsvvkkkdsj54c-okular-22.08.1
racket           	8.8               	out	/gnu/store/svrzd7cvjlcanwa46msdvdh1l28m6x5m-racket-8.8
~~~~

`guix describe --format=channels`:

~~~~
(list (channel
         (name 'guix)
         (url"https://git.savannah.gnu.org/git/guix.git")
         (branch "master")
         (commit
           "deda3cc9057f20b1e3d34d63a64da0bdd6ca1998")
         (introduction
           (make-channel-introduction
             "9edb3f66fd807b096b48283debdcddccfea34bad"
             (openpgp-fingerprint
               "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA")))))
~~~~

Ultimately I canceled the build phase thing and removed a package that caused a 
problem to get `guix pull` to work. Would be great to have some estimate though, 
whether building without substitute should take around an hour and was simply 
stuck somewhere, or takes a day, or maybe even more than a day, so that I could 
leave my machine running over night to let it finish. Is it even realistic to 
run a pull with --no-substitutes with a 16 core machine, or is that a workload, 
which is more oriented towards some powerful server hardware?

Sorry to be this vague about which build phase it was stuck at. I did not copy 
the output yesterday and did not screenshot it. I could try again, if needed.

Best regards,
Zelphir

-- 
repositories:https://notabug.org/ZelphirKaltstahl

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

* Re: How long does it usually take to pull --no-substitutes?
  2023-05-20 11:05 How long does it usually take to pull --no-substitutes? Zelphir Kaltstahl
@ 2023-05-21 22:00 ` Felix Lechner via
  2023-05-22  9:23   ` Zelphir Kaltstahl
  2023-05-22 10:12 ` Steve George
  1 sibling, 1 reply; 4+ messages in thread
From: Felix Lechner via @ 2023-05-21 22:00 UTC (permalink / raw)
  To: Zelphir Kaltstahl; +Cc: help-guix

Hi Zelphir,

On Sat, May 20, 2023 at 4:06 AM Zelphir Kaltstahl
<zelphirkaltstahl@posteo.de> wrote:
>
> Sorry to be this vague

Being similarly vague, I think you did the right thing. Something was
definitely stuck. I also abort such runs from time to time.

On my seven-year old desktop computer with eight cores—but possibly
using just one—I just saw the timing below.

Kind regards
Felix

P.S. One of the channels is off-limits for many but ships a SPECTRE
fix for my ancient CPU

* * *

> time guix pull --disable-authentication --allow-downgrades --no-substitutes
Updating channel 'guix' from Git repository at
'https://github.com/lechner/guix'...
guix pull: warning: moving channel 'guix' from
6f75a61b0d9f1cf37c3dc496f606628dff6936b9 to unrelated commit
9cd73ecbe9ded54445dc5e785a12b815fb2d8054
guix pull: warning: channel authentication disabled
Updating channel 'juix' from Git repository at
'https://codeberg.org/lechner/juix'...
guix pull: warning: channel authentication disabled
Updating channel 'nonguix' from Git repository at
'https://gitlab.com/nonguix/nonguix'...
guix pull: warning: channel authentication disabled
Building from these channels:
  nonguix   https://gitlab.com/nonguix/nonguix  713f233
  juix      https://codeberg.org/lechner/juix   62ae23f
  guix      https://github.com/lechner/guix     9cd73ec
Computing Guix derivation for 'x86_64-linux'... \
The following derivations will be built:
  /gnu/store/zmjba68w847cdvj1l5pl3gp4cd1knl9c-profile.drv
  /gnu/store/g2w92hrzpdbman5cxd937gngk8i3a776-juix.drv
  /gnu/store/i2flw138c3ck6czig3cj7z1aipkcryvf-guix-9cd73ecbe.drv
  /gnu/store/f16x2w61sw2v0rghm8l22ajcffb0j4i7-guix-daemon.drv
  /gnu/store/l1gngn8w5h3d7c9fb641wp2hp7pq3sak-guix-command.drv
  /gnu/store/assdwd2dfsfqvwyj2ckbc9a4s293dywn-guix-module-union.drv
  /gnu/store/m98pyr9kbij0xb95i2zfw2zfm961prf1-guix-9cd73ecbe-modules.drv
  /gnu/store/3fii5i8gnnmxhnvm8gqxiacbq0jg9lk1-guix-cli-core-modules.drv
  /gnu/store/bvcvvgq2hzx875wq47s9n596iixk3n16-guix-cli-core.drv
  /gnu/store/5yacra5mgg2srhirgqlknb113k5wk9nj-guix-packages-base.drv
  /gnu/store/czqlx8ww29zzwwax8p5kbz7kvmcwwfxz-guix-packages-base-modules.drv
  /gnu/store/d8h7a7v85magmlcgj1dd5vf9mx14i2b7-guix-packages-modules.drv
  /gnu/store/1wf0c6kd7l3f71adai43n1qm1kkmwnc1-guix-packages.drv
  /gnu/store/gz4r7n07pc6mgawc1lpifaiq4m6250rw-guix-cli-modules.drv
  /gnu/store/km2nlb10rmpkid38siy3dv3v3qrc4hm1-guix-cli.drv
  /gnu/store/wvsny9yk76jqpmcxrna7k6928vwi7kia-guix-system.drv
  /gnu/store/z3wdig8jpz7znnsl3hjqv2k1777g8791-guix-home.drv
  /gnu/store/kasbkx0xw4isb3qn3kcy1lhk8qqy2a3p-guix-system-tests-modules.drv
  /gnu/store/40fvwy044193sq1aj42b0wf114svlqxc-guix-system-tests.drv
  /gnu/store/lkrhh9qx975bc2wwa5bkh63327jz6ni1-guix-home-modules.drv
  /gnu/store/r41153i90nba2w1hix7cw6gkb62xn5mg-guix-config-modules.drv
  /gnu/store/jqirin4kgvrwkjgwpy0rx68v2v1j11by-guix-config-source.drv
  /gnu/store/jn3fl2w645469853yc72fyqzgxxa0k25-config.scm.drv
  /gnu/store/w6vza8r9ngq921048nhm3cy702qc48qn-guix-config.drv
  /gnu/store/y8y6kwwmfrkky9zp0l08vr1dv0qvxr53-guix-system-modules.drv
  /gnu/store/p8ksijirbwmgb6m5by3rqfdwrssq0dff-nonguix.drv
  /gnu/store/4z0gjr89j5bawy73nb378bazrck8m7bb-profile.drv
  /gnu/store/kc0zqbknamg3f992hl61nskrryvffm81-inferior-script.scm.drv

building /gnu/store/5yacra5mgg2srhirgqlknb113k5wk9nj-guix-packages-base.drv...
building /gnu/store/jn3fl2w645469853yc72fyqzgxxa0k25-config.scm.drv...
building /gnu/store/bvcvvgq2hzx875wq47s9n596iixk3n16-guix-cli-core.drv...
building /gnu/store/jqirin4kgvrwkjgwpy0rx68v2v1j11by-guix-config-source.drv...
building /gnu/store/3fii5i8gnnmxhnvm8gqxiacbq0jg9lk1-guix-cli-core-modules.drv...
building /gnu/store/w6vza8r9ngq921048nhm3cy702qc48qn-guix-config.drv...
building /gnu/store/czqlx8ww29zzwwax8p5kbz7kvmcwwfxz-guix-packages-base-modules.drv...
building /gnu/store/r41153i90nba2w1hix7cw6gkb62xn5mg-guix-config-modules.drv...
building /gnu/store/1wf0c6kd7l3f71adai43n1qm1kkmwnc1-guix-packages.drv...
building /gnu/store/d8h7a7v85magmlcgj1dd5vf9mx14i2b7-guix-packages-modules.drv...
building /gnu/store/wvsny9yk76jqpmcxrna7k6928vwi7kia-guix-system.drv...
building /gnu/store/z3wdig8jpz7znnsl3hjqv2k1777g8791-guix-home.drv...
building /gnu/store/y8y6kwwmfrkky9zp0l08vr1dv0qvxr53-guix-system-modules.drv...
building /gnu/store/km2nlb10rmpkid38siy3dv3v3qrc4hm1-guix-cli.drv...
building /gnu/store/lkrhh9qx975bc2wwa5bkh63327jz6ni1-guix-home-modules.drv...
building /gnu/store/gz4r7n07pc6mgawc1lpifaiq4m6250rw-guix-cli-modules.drv...
building /gnu/store/40fvwy044193sq1aj42b0wf114svlqxc-guix-system-tests.drv...
building /gnu/store/kasbkx0xw4isb3qn3kcy1lhk8qqy2a3p-guix-system-tests-modules.drv...
building /gnu/store/m98pyr9kbij0xb95i2zfw2zfm961prf1-guix-9cd73ecbe-modules.drv...
building /gnu/store/assdwd2dfsfqvwyj2ckbc9a4s293dywn-guix-module-union.drv...
building /gnu/store/l1gngn8w5h3d7c9fb641wp2hp7pq3sak-guix-command.drv...
building /gnu/store/f16x2w61sw2v0rghm8l22ajcffb0j4i7-guix-daemon.drv...
building /gnu/store/i2flw138c3ck6czig3cj7z1aipkcryvf-guix-9cd73ecbe.drv...
building /gnu/store/g2w92hrzpdbman5cxd937gngk8i3a776-juix.drv...
building /gnu/store/p8ksijirbwmgb6m5by3rqfdwrssq0dff-nonguix.drv...
building CA certificate bundle...
listing Emacs sub-directories...
building fonts directory...
building directory of Info manuals...
building profile with 3 packages...
building /gnu/store/kc0zqbknamg3f992hl61nskrryvffm81-inferior-script.scm.drv...
building package cache...
building profile with 3 packages...

713.978 secs


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

* Re: How long does it usually take to pull --no-substitutes?
  2023-05-21 22:00 ` Felix Lechner via
@ 2023-05-22  9:23   ` Zelphir Kaltstahl
  0 siblings, 0 replies; 4+ messages in thread
From: Zelphir Kaltstahl @ 2023-05-22  9:23 UTC (permalink / raw)
  To: Felix Lechner; +Cc: help-guix

Hello Felix!

On 5/22/23 00:00, Felix Lechner wrote:
> Hi Zelphir,
>
> On Sat, May 20, 2023 at 4:06 AM Zelphir Kaltstahl
> <zelphirkaltstahl@posteo.de> wrote:
>> Sorry to be this vague
> Being similarly vague, I think you did the right thing. Something was
> definitely stuck. I also abort such runs from time to time.
>
> On my seven-year old desktop computer with eight cores—but possibly
> using just one—I just saw the timing below.
>
> Kind regards
> Felix
>
> P.S. One of the channels is off-limits for many but ships a SPECTRE
> fix for my ancient CPU
>
> * * *
>
>> time guix pull --disable-authentication --allow-downgrades --no-substitutes
> Updating channel 'guix' from Git repository at
> 'https://github.com/lechner/guix'...
> guix pull: warning: moving channel 'guix' from
> 6f75a61b0d9f1cf37c3dc496f606628dff6936b9 to unrelated commit
> 9cd73ecbe9ded54445dc5e785a12b815fb2d8054
> guix pull: warning: channel authentication disabled
> Updating channel 'juix' from Git repository at
> 'https://codeberg.org/lechner/juix'...
> guix pull: warning: channel authentication disabled
> Updating channel 'nonguix' from Git repository at
> 'https://gitlab.com/nonguix/nonguix'...
> guix pull: warning: channel authentication disabled
> Building from these channels:
>    nonguix   https://gitlab.com/nonguix/nonguix  713f233
>    juix      https://codeberg.org/lechner/juix   62ae23f
>    guix      https://github.com/lechner/guix     9cd73ec
> Computing Guix derivation for 'x86_64-linux'... \
> The following derivations will be built:
>    /gnu/store/zmjba68w847cdvj1l5pl3gp4cd1knl9c-profile.drv
>    /gnu/store/g2w92hrzpdbman5cxd937gngk8i3a776-juix.drv
>    /gnu/store/i2flw138c3ck6czig3cj7z1aipkcryvf-guix-9cd73ecbe.drv
>    /gnu/store/f16x2w61sw2v0rghm8l22ajcffb0j4i7-guix-daemon.drv
>    /gnu/store/l1gngn8w5h3d7c9fb641wp2hp7pq3sak-guix-command.drv
>    /gnu/store/assdwd2dfsfqvwyj2ckbc9a4s293dywn-guix-module-union.drv
>    /gnu/store/m98pyr9kbij0xb95i2zfw2zfm961prf1-guix-9cd73ecbe-modules.drv
>    /gnu/store/3fii5i8gnnmxhnvm8gqxiacbq0jg9lk1-guix-cli-core-modules.drv
>    /gnu/store/bvcvvgq2hzx875wq47s9n596iixk3n16-guix-cli-core.drv
>    /gnu/store/5yacra5mgg2srhirgqlknb113k5wk9nj-guix-packages-base.drv
>    /gnu/store/czqlx8ww29zzwwax8p5kbz7kvmcwwfxz-guix-packages-base-modules.drv
>    /gnu/store/d8h7a7v85magmlcgj1dd5vf9mx14i2b7-guix-packages-modules.drv
>    /gnu/store/1wf0c6kd7l3f71adai43n1qm1kkmwnc1-guix-packages.drv
>    /gnu/store/gz4r7n07pc6mgawc1lpifaiq4m6250rw-guix-cli-modules.drv
>    /gnu/store/km2nlb10rmpkid38siy3dv3v3qrc4hm1-guix-cli.drv
>    /gnu/store/wvsny9yk76jqpmcxrna7k6928vwi7kia-guix-system.drv
>    /gnu/store/z3wdig8jpz7znnsl3hjqv2k1777g8791-guix-home.drv
>    /gnu/store/kasbkx0xw4isb3qn3kcy1lhk8qqy2a3p-guix-system-tests-modules.drv
>    /gnu/store/40fvwy044193sq1aj42b0wf114svlqxc-guix-system-tests.drv
>    /gnu/store/lkrhh9qx975bc2wwa5bkh63327jz6ni1-guix-home-modules.drv
>    /gnu/store/r41153i90nba2w1hix7cw6gkb62xn5mg-guix-config-modules.drv
>    /gnu/store/jqirin4kgvrwkjgwpy0rx68v2v1j11by-guix-config-source.drv
>    /gnu/store/jn3fl2w645469853yc72fyqzgxxa0k25-config.scm.drv
>    /gnu/store/w6vza8r9ngq921048nhm3cy702qc48qn-guix-config.drv
>    /gnu/store/y8y6kwwmfrkky9zp0l08vr1dv0qvxr53-guix-system-modules.drv
>    /gnu/store/p8ksijirbwmgb6m5by3rqfdwrssq0dff-nonguix.drv
>    /gnu/store/4z0gjr89j5bawy73nb378bazrck8m7bb-profile.drv
>    /gnu/store/kc0zqbknamg3f992hl61nskrryvffm81-inferior-script.scm.drv
>
> building /gnu/store/5yacra5mgg2srhirgqlknb113k5wk9nj-guix-packages-base.drv...
> building /gnu/store/jn3fl2w645469853yc72fyqzgxxa0k25-config.scm.drv...
> building /gnu/store/bvcvvgq2hzx875wq47s9n596iixk3n16-guix-cli-core.drv...
> building /gnu/store/jqirin4kgvrwkjgwpy0rx68v2v1j11by-guix-config-source.drv...
> building /gnu/store/3fii5i8gnnmxhnvm8gqxiacbq0jg9lk1-guix-cli-core-modules.drv...
> building /gnu/store/w6vza8r9ngq921048nhm3cy702qc48qn-guix-config.drv...
> building /gnu/store/czqlx8ww29zzwwax8p5kbz7kvmcwwfxz-guix-packages-base-modules.drv...
> building /gnu/store/r41153i90nba2w1hix7cw6gkb62xn5mg-guix-config-modules.drv...
> building /gnu/store/1wf0c6kd7l3f71adai43n1qm1kkmwnc1-guix-packages.drv...
> building /gnu/store/d8h7a7v85magmlcgj1dd5vf9mx14i2b7-guix-packages-modules.drv...
> building /gnu/store/wvsny9yk76jqpmcxrna7k6928vwi7kia-guix-system.drv...
> building /gnu/store/z3wdig8jpz7znnsl3hjqv2k1777g8791-guix-home.drv...
> building /gnu/store/y8y6kwwmfrkky9zp0l08vr1dv0qvxr53-guix-system-modules.drv...
> building /gnu/store/km2nlb10rmpkid38siy3dv3v3qrc4hm1-guix-cli.drv...
> building /gnu/store/lkrhh9qx975bc2wwa5bkh63327jz6ni1-guix-home-modules.drv...
> building /gnu/store/gz4r7n07pc6mgawc1lpifaiq4m6250rw-guix-cli-modules.drv...
> building /gnu/store/40fvwy044193sq1aj42b0wf114svlqxc-guix-system-tests.drv...
> building /gnu/store/kasbkx0xw4isb3qn3kcy1lhk8qqy2a3p-guix-system-tests-modules.drv...
> building /gnu/store/m98pyr9kbij0xb95i2zfw2zfm961prf1-guix-9cd73ecbe-modules.drv...
> building /gnu/store/assdwd2dfsfqvwyj2ckbc9a4s293dywn-guix-module-union.drv...
> building /gnu/store/l1gngn8w5h3d7c9fb641wp2hp7pq3sak-guix-command.drv...
> building /gnu/store/f16x2w61sw2v0rghm8l22ajcffb0j4i7-guix-daemon.drv...
> building /gnu/store/i2flw138c3ck6czig3cj7z1aipkcryvf-guix-9cd73ecbe.drv...
> building /gnu/store/g2w92hrzpdbman5cxd937gngk8i3a776-juix.drv...
> building /gnu/store/p8ksijirbwmgb6m5by3rqfdwrssq0dff-nonguix.drv...
> building CA certificate bundle...
> listing Emacs sub-directories...
> building fonts directory...
> building directory of Info manuals...
> building profile with 3 packages...
> building /gnu/store/kc0zqbknamg3f992hl61nskrryvffm81-inferior-script.scm.drv...
> building package cache...
> building profile with 3 packages...
>
> 713.978 secs

OK, that's a house number. Next time I get a duration above 30 minutes or so, I 
might send a less vague report : )

Thanks!

Regards,
Zelphir

-- 
repositories: https://notabug.org/ZelphirKaltstahl



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

* Re: How long does it usually take to pull --no-substitutes?
  2023-05-20 11:05 How long does it usually take to pull --no-substitutes? Zelphir Kaltstahl
  2023-05-21 22:00 ` Felix Lechner via
@ 2023-05-22 10:12 ` Steve George
  1 sibling, 0 replies; 4+ messages in thread
From: Steve George @ 2023-05-22 10:12 UTC (permalink / raw)
  To: Zelphir Kaltstahl, help-guix

Hi,

On 20/05/2023 12:05, Zelphir Kaltstahl wrote:
> Hello Guix users!
> 
> Recently I had an issue when I did a `guix pull`, so I tried `guix pull 
> --no-substitutes`. My understanding is, that substitutes are platform 
> specific pre-built binaries, which one can download from the guix 
> servers, instead of building them oneself. (Please correct me, if this 
> is wrong.) So I thought, that most time would be spent compiling things 
> and hopefully compiling many things in parallel as much as possible, to 
> speed up the whole process. However, guix seemed stuck at some "build 
> phase". I waited for like 2h or so, but it was still at that build 
> phase. Is this normal? How long does it usually take to run with no 
> substitutes? I guess it also depends on what one has in ones profile, so 
> here is my output of `guix pacakge -i`:

It will take a lot longer to download and build, rather than use 
substitutions.

Each package is built one after another, Guix doesn't build them in 
parallel AFAIK. If one of the packages in a transaction doesn't build 
then the transaction will fail unless you provide the `--keep-going` switch.

Sounds like one of the packages failed to build - so none of the 
packages were updated.

It should tell you right in the output which one is failing and give you 
a log.

How long it takes a package to compile depends on the size of the 
package, the capabilities of your system and how much of your system 
you've allowed Guix to use. I find the options for guix build --max-jobs 
very useful.

It's pretty variable how long things take: at one extreme Chromium takes 
over 10 hours to compile on my poor laptop!

When a build fails the easiest way to see what is happening is to view 
the log and go into the environment to see what's happening:

   $ guix build --no-substitutes --keep-failed <package>

The section on 'Debugging Build Failures' is particularly useful [0]

I generally do what you suggest and build the smallest subset of 
packages myself if there is no other choice (no substitute) - otherwise 
I'm just wasting resources - though building Chromium once was fun!

Best of luck,

Futurile

[0] https://guix.gnu.org/en/manual/en/guix.html#Debugging-Build-Failures









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

end of thread, other threads:[~2023-05-22 18:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-20 11:05 How long does it usually take to pull --no-substitutes? Zelphir Kaltstahl
2023-05-21 22:00 ` Felix Lechner via
2023-05-22  9:23   ` Zelphir Kaltstahl
2023-05-22 10:12 ` Steve George

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