On Thu, Sep 17, 2020 at 02:13:06PM +0200, Mathieu Othacehe wrote:
> Did you use a specific operating system file? Or the raw bare-bones.tmpl
> as hardcoded in the snippet I sent?

Actually I used my own system file. Now I tried again running
   guile image.scm
where image.scm is your snippet with bare-bones.tmpl in it.

It takes about 90 minutes on the aarch64 machine to build all of Guix with
these "incompatible bytecode" messages. The last screen with warnings and
errors is this one:

;;; 
/run/current-system/profile/share/guile/site/3.0/gnu/services/dbus.scm:188:12: 
warning: possibly unbound variable `provision'
;;; 
/run/current-system/profile/share/guile/site/3.0/gnu/services/dbus.scm:187:12: 
warning: possibly unbound variable `documentation'
;;; compiled 
/home/andreas/.cache/guile/ccache/3.0-LE-8-4.2/gnu/store/xad80h6vbsc1fb844kx1c5l0am97nfm1-guix-1.1.0-25.44c6e6f/share/guile/site/3.0/gnu/services/dbus.scm.go
;;; WARNING: compilation of 
/run/current-system/profile/share/guile/site/3.0/gnu/system/linux-container.scm 
failed:
;;; error: shepherd-root-service-type: unbound variable
;;; WARNING: compilation of 
/run/current-system/profile/share/guile/site/3.0/gnu/system/image.scm failed:
;;; error: shepherd-service-type: unbound variable
;;; WARNING: loading compiled file 
/run/current-system/profile/lib/guile/3.0/site-ccache/gnu/packages/genimage.go 
failed:
;;; In procedure load-thunk-from-memory: incompatible bytecode version
;;; compiling 
/run/current-system/profile/share/guile/site/3.0/gnu/packages/genimage.scm
;;; compiled 
/home/andreas/.cache/guile/ccache/3.0-LE-8-4.2/gnu/store/xad80h6vbsc1fb844kx1c5l0am97nfm1-guix-1.1.0-25.44c6e6f/share/guile/site/3.0/gnu/packages/genimage.scm.go
ice-9/psyntax.scm:2800:12: In procedure syntax-violation:
Syntax error:
/run/current-system/profile/share/guile/site/3.0/gnu/system/image.scm:497:24: 
bootloader: invalid field specifier in subform (if (eq? format (quote iso9660)) 
(bootloader-configuration (inherit (operating-system-bootloader base-os)) 
(bootloader grub-mkrescue-bootloader)) (operating-system-bootloader base-os)) 
of (bootloader (if (eq? format (quote iso9660)) (bootloader-configuration 
(inherit (operating-system-bootloader base-os)) (bootloader 
grub-mkrescue-bootloader)) (operating-system-bootloader base-os)))

Andreas


Reply via email to