GNU bug report logs - #80048
Fail while setting keyboard-layout in system config

Previous Next

Package: guix;

Reported by: Konstantinos Agiannis <agiannis.kon <at> gmail.com>

Date: Sun, 21 Dec 2025 16:13:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

To reply to this bug, email your comments to 80048 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#80048; Package guix. (Sun, 21 Dec 2025 16:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Konstantinos Agiannis <agiannis.kon <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 21 Dec 2025 16:13:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Konstantinos Agiannis <agiannis.kon <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Fail while setting keyboard-layout in system config
Date: Sun, 21 Dec 2025 18:11:56 +0200
Hello,


I try to create a qcow2 image from a system configuration.


This is the config

### START

;; This is an operating system configuration template
;; for a "bare bones" setup, with no X11 display server.

(use-modules (gnu))
(use-service-modules networking ssh desktop)
(use-package-modules tmux lxqt librewolf ssh xorg package-management)

(operating-system
  (host-name "netvm")
  (timezone "Europe/Athens")
  (locale "el_GR.utf8")

  (keyboard-layout (keyboard-layout "us,el" #:options 
'("grp:alt_shift_toggle")))

  ;; Boot in "legacy" BIOS mode, assuming /dev/sdX is the
  ;; target hard disk, and "my-root" is the label of the target
  ;; root file system.
  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (targets '("/dev/sdX"))))

  ;; It's fitting to support the equally bare bones ‘-nographic’
  ;; QEMU option, which also nicely sidesteps forcing QWERTY.
  (kernel-arguments (list "console=ttyS0,115200"))
  (file-systems (cons (file-system
                        (device (file-system-label "my-root"))
                        (mount-point "/")
                        (type "ext4"))
                      %base-file-systems))

  ;; This is where user accounts are specified.  The "root"
  ;; account is implicit, and is initially created with the
  ;; empty password.
  (users (cons (user-account
                (name "konstantinos")
                (comment "Konstantinos' main account")
                (group "users")

                ;; Adding the account to the "wheel" group
                ;; makes it a sudoer.  Adding it to "audio"
                ;; and "video" allows the user to play sound
                ;; and access the webcam.
                (supplementary-groups '("wheel"
                                        "audio" "video")))
               %base-user-accounts))


  ;; Globally-installed packages.
  (packages (append (list tmux lxqt librewolf) %base-packages))

  ;; Add services to the baseline: a DHCP client and
  ;; an SSH server.
  (services (append (list (service dhcp-client-service-type)
                          (service lxqt-desktop-service-type))
                    %base-services)))

### END


I build the config with the following command


guix system image --image-type=qcow2 --image-size=10G system.scm


But during building I get the following error


-builder for 
`/gnu/store/a5yfcnbkh6l5azsnsd6xx5ghjjc0qy4k-console-keymap.us-el.drv' 
failed with exit code 1
build of 
/gnu/store/a5yfcnbkh6l5azsnsd6xx5ghjjc0qy4k-console-keymap.us-el.drv failed


And the drv file contains the following

/gnu/store/bgrrik798z5zgm6gckwcmk68ihswlhvh-console-setup-1.212/bin/ckbcomp: 
Can not find file "symbols/el" in any known directory
Backtrace:
           1 (primitive-load "/gnu/store/jqgd55xlvamadnh2k54pxfy19j9…")
In ice-9/boot-9.scm:
   2007:7  0 (error _ . _)

ice-9/boot-9.scm:2007:7: In procedure error:
failed to create console keymap for keyboard layout "us,el"


I am new to guix so it may be my error.


Thanks,

Konstantinos







Information forwarded to bug-guix <at> gnu.org:
bug#80048; Package guix. (Mon, 22 Dec 2025 23:09:01 GMT) Full text and rfc822 format available.

Message #8 received at 80048 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Konstantinos Agiannis <agiannis.kon <at> gmail.com>
Cc: 80048 <at> debbugs.gnu.org
Subject: Re: bug#80048: Fail while setting keyboard-layout in system config
Date: Tue, 23 Dec 2025 00:07:45 +0100
Hi Konstantinos,

Konstantinos Agiannis <agiannis.kon <at> gmail.com> skribis:

>   (keyboard-layout (keyboard-layout "us,el" #:options
> '("grp:alt_shift_toggle")))

I checked the files in the ‘xkeyboard-config’ (as noted in the manual),
and I believe it should be “gr”, not “el”:

--8<---------------cut here---------------start------------->8---
$ head -1 $(guix build xkeyboard-config)/share/X11/xkb/symbols/gr
// Keyboard layouts for Greece.
--8<---------------cut here---------------end--------------->8---

Let me know if it helps!

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#80048; Package guix. (Tue, 23 Dec 2025 07:03:02 GMT) Full text and rfc822 format available.

Message #11 received at 80048 <at> debbugs.gnu.org (full text, mbox):

From: Konstantinos Agiannis <agiannis.kon <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 80048 <at> debbugs.gnu.org
Subject: Re: bug#80048: Fail while setting keyboard-layout in system config
Date: Tue, 23 Dec 2025 09:02:16 +0200
Hi,


thanks for looking into it. Yes it fixes my problem. My bad, should have 
investigated it on my own.


Thanks,

Konstantinos

Στις 23/12/25 01:07, ο/η Ludovic Courtès έγραψε:
> Hi Konstantinos,
>
> Konstantinos Agiannis <agiannis.kon <at> gmail.com> skribis:
>
>>    (keyboard-layout (keyboard-layout "us,el" #:options
>> '("grp:alt_shift_toggle")))
> I checked the files in the ‘xkeyboard-config’ (as noted in the manual),
> and I believe it should be “gr”, not “el”:
>
> --8<---------------cut here---------------start------------->8---
> $ head -1 $(guix build xkeyboard-config)/share/X11/xkb/symbols/gr
> // Keyboard layouts for Greece.
> --8<---------------cut here---------------end--------------->8---
>
> Let me know if it helps!
>
> Thanks,
> Ludo’.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 23 Dec 2025 10:02:02 GMT) Full text and rfc822 format available.

Notification sent to Konstantinos Agiannis <agiannis.kon <at> gmail.com>:
bug acknowledged by developer. (Tue, 23 Dec 2025 10:02:02 GMT) Full text and rfc822 format available.

Message #16 received at 80048-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Konstantinos Agiannis <agiannis.kon <at> gmail.com>
Cc: 80048-done <at> debbugs.gnu.org
Subject: Re: bug#80048: Fail while setting keyboard-layout in system config
Date: Tue, 23 Dec 2025 10:55:26 +0100
Hi,

Konstantinos Agiannis <agiannis.kon <at> gmail.com> skribis:

> thanks for looking into it. Yes it fixes my problem. My bad, should
> have investigated it on my own.

No worries, great that it’s solved!

Thanks,
Ludo’.




This bug report was last modified 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.