Subject: Re: bug#61555: Failed install : installer-dump-8deefb3d

From: "Paul Connelly (Student)" <[email-masked]>
Date: Fri, 24 Feb 2023 12:23:17 +0000

Dear Ludo’,

Thank you for your response and walking me through the log file <educational in it’s own right>

I can confirm my homer-simpson-style error as being not using the 64bit OS..

The system is installed and the install process was a very different and enjoyable experience :)

Thank you .

Paul.

> On 24 Feb 2023, at 11:09, Ludovic Courtès <[email-masked]> wrote:
> 
> Hi Paul,
> 
> "Paul Connelly (Student)" <[email-masked]> skribis:
> 
>> Just trying to install Guix as a standalone OS , core i5 4460, on SSD, graphics intel 460. I have submitted  installer-dump-8deefb3d. I hope it helps.
> 
> It’s perfect, thank you for reporting the problem.
> 
> The system log in that dump shows that ‘guix system init’ ended up
> building Rust and gnome-system-monitor (instead of downloading pre-built
> binaries), and it failed to build Rust, which is one of these
> dependencies:
> 
> --8<---------------cut here---------------start------------->8---
> Feb 16 17:28:45 localhost vmunix: [    0.000000] Linux version 6.0.10-gnu (guix@guix) (gcc (GCC) 10.3.0, GNU ld (GNU Binutils) 2.37) #1 SMP PREEMPT_DYNAMIC 1
> […]
> Feb 16 17:33:51 localhost installer[381]: running command ("guix" "system" "init" "--fallback" "/mnt/etc/config.scm" "/mnt") 
> Feb 16 17:34:04 localhost installer[381]: substitute:  
> Feb 16 17:34:07 localhost installer[381]: substitute: ^[[Kupdating substitutes from 'https://ci.guix.gnu.org'...   0.0% 
> Feb 16 17:34:07 localhost installer[381]: substitute: ^[[Kupdating substitutes from 'https://ci.guix.gnu.org'...   0.3% 
> Feb 16 17:34:07 localhost installer[381]: substitute: ^[[Kupdating substitutes from 'https://ci.guix.gnu.org'...   0.6% 
> […]
> Feb 16 17:34:10 localhost installer[381]: substitute: ^[[Kupdating substitutes from 'https://bordeaux.guix.gnu.org'...  98.9% 
> Feb 16 17:34:10 localhost installer[381]: substitute: ^[[Kupdating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0% 
> Feb 16 17:34:10 localhost installer[381]:  
> Feb 16 17:34:11 localhost installer[381]: ^[[1m27.1 MB will be downloaded 
> […]
> Feb 16 17:36:13 localhost installer[381]: substitute: ^[[Kupdating substitutes from 'https://ci.guix.gnu.org'...  91.9% 
> Feb 16 17:36:13 localhost last message repeated 2 times
> […]
> Feb 16 17:36:34 localhost installer[381]: substitute: ^[[Kupdating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0% 
> Feb 16 17:36:34 localhost installer[381]:  
> Feb 16 17:36:38 localhost installer[381]: ^[[1;35mThe following derivations will be built: 
> Feb 16 17:36:38 localhost installer[381]:  
> Feb 16 17:36:38 localhost installer[381]: ^[[0m  ^[[2m/gnu/store/d7y2ws6khc3vwxig10ransz2rjm2r4rn-^[[0mgnome-system-monitor-42.0.drv 
> Feb 16 17:36:38 localhost installer[381]:  
> Feb 16 17:36:38 localhost installer[381]:   ^[[2m/gnu/store/9c6piv330wp9ph7df68n80ig0f8zj99n-^[[0mlibrsvg-2.50.7.drv 
> Feb 16 17:36:38 localhost installer[381]:  
> Feb 16 17:36:38 localhost installer[381]:   ^[[2m/gnu/store/ndd85agyp1r75q98ljmjy7nvys4m7gpa-^[[0mrust-1.60.0.drv 
> Feb 16 17:36:38 localhost installer[381]:  
> Feb 16 17:36:38 localhost installer[381]:   ^[[2m/gnu/store/64q9r8mq6ak4jpriswq61g3n6cdhd1mk-^[[0mrust-1.59.0.drv 
> Feb 16 17:36:38 localhost installer[381]:  
> Feb 16 17:36:38 localhost installer[381]:   ^[[2m/gnu/store/ik7ifm27ypaab1c2q7amawc6cwap3is3-^[[0mrust-1.58.1.drv 
> Feb 16 17:36:38 localhost installer[381]:  
> Feb 16 17:36:38 localhost installer[381]:   ^[[2m/gnu/store/5c88c47v73imc88gqhn8b9bls75f27dq-^[[0mrust-1.57.0.drv 
> Feb 16 17:36:38 localhost installer[381]:  
> Feb 16 17:36:38 localhost installer[381]:   ^[[2m/gnu/store/f8a0l2ivqsascss7g1zabq3bizn1g7va-^[[0mrust-1.56.1.drv 
> Feb 16 17:36:38 localhost installer[381]:  
> Feb 16 17:36:38 localhost installer[381]:   ^[[2m/gnu/store/5gghj8m2ppnwk9nj7fx1a53fri2qg17g-^[[0mrust-1.55.0.drv 
> Feb 16 17:36:38 localhost installer[381]:  
> Feb 16 17:36:38 localhost installer[381]:   ^[[2m/gnu/store/lh7ra87mjhbr14rr6scm3yiyc0i5sps9-^[[0mrust-1.54.0.drv 
> Feb 16 17:36:38 localhost installer[381]:  
> Feb 16 17:36:38 localhost installer[381]:   ^[[2m/gnu/store/f4x2s9g8gcdcjjcrbj810qmpnydy3yrp-^[[0mgnome-control-center-42.4.drv 
> […]
> Feb 16 17:45:09 localhost installer[381]: ^[[Kbuilding /gnu/store/lh7ra87mjhbr14rr6scm3yiyc0i5sps9-rust-1.54.0.drv... 
> […]
> Feb 16 18:50:22 localhost installer[25727]: ^[[K- 'build' phase 
> Feb 16 18:50:24 localhost installer[25727]: ^[[K\ 'build' phasebuilder for `/gnu/store/lh7ra87mjhbr14rr6scm3yiyc0i5sps9-rust-1.54.0.drv' failed with exit code 1 
> Feb 16 18:50:24 localhost installer[25727]:  
> Feb 16 18:50:24 localhost installer[25727]:  
> Feb 16 18:50:24 localhost installer[25727]: ^[[K^[[31;1mbuild of /gnu/store/lh7ra87mjhbr14rr6scm3yiyc0i5sps9-rust-1.54.0.drv failed^[[0m 
> Feb 16 18:50:24 localhost installer[25727]:  
> Feb 16 18:50:24 localhost installer[25727]: ^[[1mView build log at '/var/log/guix/drvs/lh/7ra87mjhbr14rr6scm3yiyc0i5sps9-rust-1.54.0.drv.gz'.^[[0m 
> --8<---------------cut here---------------end--------------->8---
> 
> It’s not entirely clear why this happened.
> 
> Could it me that network connection was lost, perhaps temporarily,
> during the installation, around 17:36?
> 
> That could have led Guix to think that pre-built binaries for these were
> unavailable.
> 
> Substitutes seem to be available for these:
> 
> --8<---------------cut here---------------start------------->8---
> $ guix time-machine --commit=v1.4.0 -- weather rust librsvg gnome-control-center 
> computing 3 package derivations for x86_64-linux...
> looking for 7 store items on https://ci.guix.gnu.org...
> https://ci.guix.gnu.org ☀
>  100.0% substitutes available (7 out of 7)
>  at least 148.2 MiB of nars (compressed)
>  266.7 MiB on disk (uncompressed)
> 
>  230 queued builds
>      aarch64-linux: 228 (99.1%)
>      x86_64-linux: 2 (.9%)
>  build rate: 300.33 builds per hour
>      i686-linux: 116.42 builds per hour
>      powerpc64le-linux: 45.46 builds per hour
>      x86_64-linux: 114.42 builds per hour
>      aarch64-linux: 34.92 builds per hour
> looking for 7 store items on https://bordeaux.guix.gnu.org...
> https://bordeaux.guix.gnu.org ☀
>  85.7% substitutes available (6 out of 7)
>  at least 119.4 MiB of nars (compressed)
>  246.2 MiB on disk (uncompressed)
>  0.145 seconds per request (0.1 seconds in total)
>  6.9 requests per second
>  (continuous integration information unavailable)
> --8<---------------cut here---------------end--------------->8---
> 
> But what’s surprising is that I get different derivations that those
> shown above (on x86_64):
> 
> --8<---------------cut here---------------start------------->8---
> $ guix time-machine --commit=v1.4.0 -- build gnome-control-center librsvg rust -d --no-grafts
> /gnu/store/nnmrz365bw5raskqwxqakzjgw224bavg-rust-1.60.0.drv
> /gnu/store/v71i2q3vh8iw1xajn22v22v1gc055adg-librsvg-2.50.7.drv
> /gnu/store/c9kbrp4xp352ak4nm8qlpph9m9zwhd0b-gnome-control-center-42.4.drv
> $ guix time-machine --commit=v1.4.0 -- build gnome-control-center librsvg rust -d 
> /gnu/store/a0hsfaiapqsik5sk9l8r84lpm6q0bwpn-rust-1.60.0.drv
> /gnu/store/is55baphng1kxgs8nxy6ga81z2rggidn-librsvg-2.50.7.drv
> /gnu/store/01iaswvsfdvx1rq6yjgsj98rg1q0r0zs-gnome-control-center-42.4.drv
> --8<---------------cut here---------------end--------------->8---
> 
> But then, I see this warning:
> 
> --8<---------------cut here---------------start------------->8---
> Feb 16 17:28:45 localhost vmunix: [    0.624074] ************************************************************
> Feb 16 17:28:45 localhost vmunix: [    0.624075] ** WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!  **
> Feb 16 17:28:45 localhost vmunix: [    0.624075] **                                                        **
> Feb 16 17:28:45 localhost vmunix: [    0.624076] ** You are using 32-bit PTI on a 64-bit PCID-capable CPU. **
> Feb 16 17:28:45 localhost vmunix: [    0.624076] ** Your performance will increase dramatically if you     **
> Feb 16 17:28:45 localhost vmunix: [    0.624077] ** switch to a 64-bit kernel!                             **
> Feb 16 17:28:45 localhost vmunix: [    0.624077] **                                                        **
> Feb 16 17:28:45 localhost vmunix: [    0.624078] ** WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!  **
> Feb 16 17:28:45 localhost vmunix: [    0.624078] ************************************************************
> --8<---------------cut here---------------end--------------->8---
> 
> And indeed, it seems you’re actually building for i686 (32-bit) instead
> of x86_64 (64-bit):
> 
> --8<---------------cut here---------------start------------->8---
> $ guix time-machine --commit=v1.4.0 -- build gnome-control-center librsvg rust -d --no-grafts -s i686-linux
> gnu/packages/rust.scm:653:4: warning: package [email-masked] does not support i686-linux
> gnu/packages/gnome.scm:3504:2: warning: package [email-masked] does not support i686-linux
> gnu/packages/gnome.scm:9143:2: warning: package [email-masked] does not support i686-linux
> /gnu/store/ndd85agyp1r75q98ljmjy7nvys4m7gpa-rust-1.60.0.drv
> /gnu/store/7zi5xdxvnzrccb5nk23zbd10rkxkl9cc-librsvg-2.50.7.drv
> /gnu/store/z9q5dgj9alcykkxjfyp4s1pfj5rsbrg7-gnome-control-center-42.4.drv
> --8<---------------cut here---------------end--------------->8---
> 
> So in short, it looks like you picked the i686 installation image, when
> in fact you should have taken the x86_64 image at
> <https://guix.gnu.org/download>.
> 
> Can you confirm that this is the case?
> 
> Thanks,
> Ludo’.