guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#48314] [PATCH v4] Install guix system on Raspberry Pi


From: phodina
Subject: [bug#48314] [PATCH v4] Install guix system on Raspberry Pi
Date: Thu, 14 Apr 2022 09:25:25 +0000

>
> > +        `(modify-phases ,phases
> > +           (replace 'configure
>
>
> To get rid of the #< error, replace this by
>
> #~(modify-phases #$phases [...])
>
> (and replace the , by #$ etc).
>
> Greetings,
> Maxime.

Thanks for the suggestion Maxime. Here's patch with fixes where I attempt to 
rewrite the section of the code using Gexps.

Still it ends in error as there is some mistake in the Gexps I made.

$ ./pre-inst-env guix system build gnu/system/examples/raspberry-pi-64.tmpl
;;; note: source file /home/cpethod/guix/gnu/packages/linux.scm
;;;       newer than compiled /home/pethod/guix/gnu/packages/linux.go
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
The following derivation will be built:
  
/gnu/store/zvy703ldgicckqgnggsnz0a21394hb9f-linux-libre-arm64-generic-5.16.19.drv
building 
/gnu/store/zvy703ldgicckqgnggsnz0a21394hb9f-linux-libre-arm64-generic-5.16.19.drv...
ice-9/psyntax.scm:2794:12: In procedure syntax-violation:
Syntax error:
/gnu/store/2xjp40qfmrdjg28zqsd919cjg00n9wrv-linux-libre-arm64-generic-5.16.19-builder:1:3387:
 source expression failed to match any pattern in form (let* ((srcarch #{$#}# 
(system->linux-srcarch (or (%current-target-system) (%current-system)))) 
(configs (string-append "arch/" srcarch "/configs/")) (guix_defconfig 
(string-append configs "guix_defconfig"))) #{$#}# (cond ((not defconfig) $~ 
(begin (apply (assoc-ref #{$#phases}# (quote configure)) arguments) (invoke 
"make" "savedefconfig") (rename-file "defconfig" guix_defconfig))) ((string? 
defconfig) $~ (rename-file (string-append configs #{$#defconfig}#) 
guix_defconfig)) (else (quote (copy-file (assoc-ref inputs "guix_defconfig") 
guix_defconfig)))) (modify-defconfig guix_defconfig (quote #{$#configs}#)) 
#{$#@}# (if extra-version $~ ((setenv "EXTRAVERSION" #{$#}# (string-append "-" 
extra-version))) (quote ())) (invoke "make" "guix_defconfig"))
builder for 
`/gnu/store/zvy703ldgicckqgnggsnz0a21394hb9f-linux-libre-arm64-generic-5.16.19.drv'
 failed with exit code 1
build of 
/gnu/store/zvy703ldgicckqgnggsnz0a21394hb9f-linux-libre-arm64-generic-5.16.19.drv
 failed
View build log at 
'/var/log/guix/drvs/zv/y703ldgicckqgnggsnz0a21394hb9f-linux-libre-arm64-generic-5.16.19.drv.gz'.
guix system: error: build of 
`/gnu/store/zvy703ldgicckqgnggsnz0a21394hb9f-linux-libre-arm64-generic-5.16.19.drv'
 failed


----
Petr

Attachment: v4-0001-Attempt-to-fix-modify-linux-procedure-using-Gexp.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]