GNU bug report logs -
#66355
guix_defconfig options cannot be overridden in customize-linux function
Previous Next
To reply to this bug, email your comments to 66355 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#66355
; Package
guix
.
(Thu, 05 Oct 2023 01:36:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nathan Dehnel <ncdehnel <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 05 Oct 2023 01:36:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
(let ((linux-package
(customize-linux
#:name name
#:linux linux
;; #:configs
;; '("CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y"
;; "CONFIG_DMA_PERNUMA_CMA=y"
;; "CONFIG_FONTS=y"
;; "CONFIG_FONT_8x16=y"
;; "CONFIG_FONT_SUN12x22=y"
;; "CONFIG_FONT_TER16x32=y")
#:defconfig
;; this defconfig contains the config options above (among others)
(local-file "defconfig-6.6")
#:configs and #:defconfig both cause this error:
Mismatching configurations in .config and
arch/arm64/configs/guix_defconfig
(("CONFIG_FRAMEBUFFER_CONSOLE_ROTATION" (#f "y")) ("CONFIG_DM
A_PERNUMA_CMA" (#f "y")) ("CONFIG_FONTS" (#f "y")) ("CONFIG_FONT_8x16"
(#f "y")) ("CONFIG_FONT_SUN12x22" (#f "y")) ("CONFIG_FONT_TER16x32
" (#f "y")))
Information forwarded
to
bug-guix <at> gnu.org
:
bug#66355
; Package
guix
.
(Thu, 05 Oct 2023 13:11:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 66355 <at> debbugs.gnu.org (full text, mbox):
Hi Nathan,
Nathan Dehnel <ncdehnel <at> gmail.com> writes:
> (let ((linux-package
> (customize-linux
> #:name name
> #:linux linux
> ;; #:configs
> ;; '("CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y"
> ;; "CONFIG_DMA_PERNUMA_CMA=y"
> ;; "CONFIG_FONTS=y"
> ;; "CONFIG_FONT_8x16=y"
> ;; "CONFIG_FONT_SUN12x22=y"
> ;; "CONFIG_FONT_TER16x32=y")
> #:defconfig
> ;; this defconfig contains the config options above (among others)
> (local-file "defconfig-6.6")
>
> #:configs and #:defconfig both cause this error:
>
> Mismatching configurations in .config and
> arch/arm64/configs/guix_defconfig
> (("CONFIG_FRAMEBUFFER_CONSOLE_ROTATION" (#f "y")) ("CONFIG_DM
> A_PERNUMA_CMA" (#f "y")) ("CONFIG_FONTS" (#f "y")) ("CONFIG_FONT_8x16"
> (#f "y")) ("CONFIG_FONT_SUN12x22" (#f "y")) ("CONFIG_FONT_TER16x32
> " (#f "y")))
customize-linux is very limited in that it doesn't resolve the config
inter-dependencies. So if you try to enable CONFIG_FONTS but forget to
also enable any of its required options, you'll end up in the situation
above.
I'd suggest producing a defconfig file with all the correctly resolved
dependencies using the 'make savedefconfig' or similar after modifying
the config with 'make menuconfig'.
Let me know how it goes.
--
Thanks,
Maxim
This bug report was last modified 1 year and 137 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.