|
From: | Maxime Devos |
Subject: | bug#58384: copy-build-system assumes that strip-flags, strip-directories is a S-exp, but it isn't. |
Date: | Sat, 8 Oct 2022 20:52:04 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 |
Hi,In commit https://git.savannah.gnu.org/cgit/guix.git/commit/?h=core-updates&id=ccc2658e2a111590ec25e308946e47a24d357785, the default 'strip-flags' and 'strip-directories' argument were changed from a S-exp to %strip-flags and %strip-directories from (guix build-system gnu).
This is fine, except for copy-build doing (sexp->gexp ...) on those, even though %strip-flags etc. are G-exps, not S-exps, causing errors like
ice-9/read.scm:126:4: In procedure read-expr*: /gnu/store/abb0wz0223bjsxkw9av768szz955m2xh-openjpeg-data-2021.09.26-builder:1:2504: Unknown # object: "#<" builder for `/gnu/store/qbc93ywsbm3bwwiqn7h8fv124i1yqh53-openjpeg-data-2021.09.26.drv' failed with exit code 1 derivation '/gnu/store/qbc93ywsbm3bwwiqn7h8fv124i1yqh53-openjpeg-data-2021.09.26.drv' offloaded to '141.80.167.174' failed: build of `/gnu/store/qbc93ywsbm3bwwiqn7h8fv124i1yqh53-openjpeg-data-2021.09.26.drv' failed
Changing '(sexp->gexp strip-flags)' to 'strip-flags' and likewise for 'strip-directories' should fix things (unverified).
Greetings, Maxime.
OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |