Having trouble doing system reconfigure with new install

I installed guix onto a laptop using the system crafters installer (Nov 8th version). The system reconfigure at the end of the install process exits with an error. Looking at the log (attached) it’s not readily clear to me what the issue is:

make[2]: *** [scripts/Makefile.vmlinux_o:62: vmlinux.o] Error 137
make[2]: *** Deleting file ‘vmlinux.o’
make[1]: *** [/tmp/guix-build-linux-6.11.7.drv-0/linux-6.11.7/Makefile:1138: vmlinux_o] Error 2
make: *** [Makefile:224: __sub-make] Error 2
error: in phase ‘build’: uncaught exception:
%exception #<&invoke-error program: “make” arguments: (“-j” “4”) exit-status: 2 term-signal: #f stop-signal: #f>
phase `build’ failed after 17825.9 seconds
command “make” “-j” “4” failed with status 2
build process 6 exited with status 256

What’s weird is that the reconfigure runs for ~3-4 hours before exiting with an error. My laptop has 8 Gb of ram. Maybe that’s not enough? Thanks.

reconfigure-log.txt (5.6 MB)

Compiling the kernel on a laptop isn’t optimal. Did you enable the substitutes?

https://systemcrafters.net/craft-your-system-with-guix/everyday-package-management/#avoiding-package-compilation

That’s what I missed! I added the non guix channel, but I didn’t do the last two crucial steps specified in the nonguix readme:

Guix System will only use the substitution server after it has been
reconfigured. The substitution server will therefore by default not
be used the first time you run guix system reconfigure after adding
the substitution server. It is therefore recommended to explicitly
specify the use of the substitution server the first time
you reconfigure your system:

sudo guix archive --authorize < signing-key.pub
sudo guix system reconfigure /etc/config.scm --substitute-urls='https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org'

Once I did the steps specified above I was able to reconfigure! Thanks for the help!

2 Likes