WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: need to update xkeyboard-config package (bug in current 2.23.1)  (Read 4452 times)

Offline y_satou70

  • Jr. Member
  • **
  • Posts: 52
While researching Polish keymap issue, I found that current xkeyboard-config package (2.23.1) has bug for pl keymap:

https://bugs.freedesktop.org/show_bug.cgi?id=104904
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/9a5cecf64ffc427a6a5a7c9a061992c32e5b8a4f

this was fixed on xkeyboard-config 2.24 release.

TinyCoreLinux is using 2.23.1 (since 9.x and still 12.x is) so hit this bug:

http://repo.tinycorelinux.net/9.x/x86_64/tcz/xkeyboard-config.tcz.info
http://repo.tinycorelinux.net/12.x/x86_64/tcz/xkeyboard-config.tcz.info

Can we get updated package?

FYI, latest version of xkeyboard-config is xkeyboard-config-2.32
https://www.x.org/releases/individual/data/xkeyboard-config/

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: need to update xkeyboard-config package (bug in current 2.23.1)
« Reply #1 on: May 15, 2021, 06:10:38 AM »
updated - thanks for reporting this

Offline nick65go

  • Hero Member
  • *****
  • Posts: 839
Re: need to update xkeyboard-config package (bug in current 2.23.1)
« Reply #2 on: May 15, 2021, 03:37:06 PM »
This update prevented me to start the Xorg sever.
From text mode I did
Code: [Select]
cat /var/lov/Xorg.log | less to see what happened; and I saved the file on a partition, so I can now copy/paste (posting it now from TC12_x86_64)  the error of tc12_x86:
Code: [Select]
X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
[   185.644] Build Operating System: Linux 4.19.10-tinycore i486
[   185.644] Current Operating System: Linux box 5.10.3-tinycore #2021 SMP Mon Dec 28 16:16:18 UTC 2020 i686

[   186.167] (II) RADEON(0): Setting screen physical size to 423 x 238
[   186.572] (EE) Error compiling keymap (server-0) executing '"xkbcomp" -w 1 "-R/usr/local/share/X11/xkb" -xkm "-" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "/tmp/server-0.xkm"'
[   186.572] (EE) XKB: Couldn't compile keymap
[   186.572] (EE) XKB: Failed to load keymap. Loading default keymap instead.
[   186.591] (EE) Error compiling keymap (server-0) executing '"xkbcomp" -w 1 "-R/usr/local/share/X11/xkb" -xkm "-" -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " -eml "Errors from xkbcomp are not fatal to the X server" "/tmp/server-0.xkm"'
[   186.591] (EE) XKB: Couldn't compile keymap
[   186.591] XKB: Failed to compile keymap
[   186.591] Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
[   186.591] (EE)
Fatal server error:
[   186.591] (EE) Failed to activate virtual core keyboard: 2(EE)
[   186.591] (EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
 for help.
[   186.591] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   186.591] (EE)
[   186.591] (II) AIGLX: Suspending AIGLX clients for VT switch
[   186.691] (EE) Server terminated with error (1). Closing log file.

Now I try copy an old tcz from mirrors, to restart/repair tc12_x86  :(
I copied one from https://mirrors.dotsrc.org/tinycorelinux/11.x/x86/tcz/; and I will report here after reboot in tc12_x86.
« Last Edit: May 15, 2021, 03:49:06 PM by nick65go »

Offline nick65go

  • Hero Member
  • *****
  • Posts: 839
Re: need to update xkeyboard-config package (bug in current 2.23.1)
« Reply #3 on: May 15, 2021, 03:55:45 PM »
yes, I can confirm that the new xkeyboard-config.tcz is buggy! the old one was OK.
should this be a lesson for me, to do not update a real machine, but maybe first try it in qemu?

« Last Edit: May 15, 2021, 03:57:44 PM by nick65go »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: need to update xkeyboard-config package (bug in current 2.23.1)
« Reply #4 on: May 16, 2021, 04:25:33 AM »
That'll teach me to think "it's only data, what can go wrong"  :-[

Any version of xkeyboard-config above 2.23.1 fails, but if I recompile 2.23.1, it works.

Either fixing 2.23.1 broke something in tinycore Xorg or xorg-server needs to recompiled due to changes in xkeyboard-config.

xkeyboard-config-2.23.1 restored in the meantime.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: need to update xkeyboard-config package (bug in current 2.23.1)
« Reply #5 on: May 16, 2021, 06:24:35 AM »
In fact the problem is xkbcomp from Xorg-7.7-bin.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 839
Re: need to update xkeyboard-config package (bug in current 2.23.1)
« Reply #6 on: May 16, 2021, 07:36:35 AM »
Code: [Select]
Title:          Xorg-7.7-bin.tcz
Current:      2018/04/17 removed xauth, xmodemap, xset present in Xlibs

Title:          xorg-server.tcz
                 2019/12/10 updated 1.20.4 -> 1.20.6
Current:      2021/02/10 updated 1.20.6 -> 1.20.10
Code: [Select]
tc@box:~$ ldd `which xkbcomp` | grep /usr/local/
        libX11.so.6 => /usr/local/lib/libX11.so.6 (0x00007fde6090e000)
        libxkbfile.so.1 => /usr/local/lib/libxkbfile.so.1 (0x00007fde608ed000)
        libxcb.so.1 => /usr/local/lib/libxcb.so.1 (0x00007fde60743000)
        libXau.so.6 => /usr/local/lib/libXau.so.6 (0x00007fde6073e000)
        libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x00007fde60736000)
tc@box:~$
so the Xserver 1.20.6 --> 1.20.10 , but xkbcomp depends on libs*.so.6 ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: need to update xkeyboard-config package (bug in current 2.23.1)
« Reply #7 on: May 16, 2021, 07:58:18 AM »
xorg-server was not the problem, just xkbcomp

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11703
Re: need to update xkeyboard-config package (bug in current 2.23.1)
« Reply #8 on: May 16, 2021, 08:14:19 AM »
Hi nick65go
... so the Xserver 1.20.6 --> 1.20.10 , but xkbcomp depends on libs*.so.6 ?
You can't compare version numbers that way.  1.20.6  is the version number of the  xorg-server  package. Libraries
included in that package have their own version numbers:
Code: [Select]
/usr/local/lib/libX11-xcb.so
/usr/local/lib/libX11-xcb.so.1
/usr/local/lib/libX11-xcb.so.1.0.0
/usr/local/lib/libX11.so
/usr/local/lib/libX11.so.6
/usr/local/lib/libX11.so.6.3.0
found here:
http://tinycorelinux.net/12.x/x86/tcz/libX11.tcz.list

Those libraries have the same version numbers going back to TC5 because they have not changed:
http://tinycorelinux.net/5.x/x86/tcz/libX11.tcz.list

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: need to update xkeyboard-config package (bug in current 2.23.1)
« Reply #9 on: May 16, 2021, 08:17:13 AM »
xkeyboard-config, Xorg-7.7-bin, xorg-server and xwayland updated

Offline nick65go

  • Hero Member
  • *****
  • Posts: 839
Re: need to update xkeyboard-config package (bug in current 2.23.1)
« Reply #10 on: May 16, 2021, 02:59:05 PM »
@Juanito: Thank you very much! I confirm that in both TC12 (32 and 64 bits) the Xorg is running OK.

FYI: in TC12-x86, Wayland was not updated. But it is excellent for me that Xorg does not depend on it.

X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
[   185.644] Build Operating System: Linux 4.19.10-tinycore i486
[   185.644] Current Operating System: Linux box 5.10.3-tinycore #2021 SMP Mon Dec 28 16:16:18 UTC 2020 i686

X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[    25.169] Build Operating System: Linux 5.10.3-tinycore i686

Also Xorg is now compiled for i686. Good for me, I do not have functional physical i486 neither i586. Even my Dell-Mini10 (from 2008) has i686 CPU (as Intel Atom N270). But qemu 3.1 start with CPU i486. Not big problem to change to -cpu=max, -machine=q35 etc.

But does this mean that the new minimum CPU target for TC12+ will be i686 ?
« Last Edit: May 16, 2021, 03:04:19 PM by nick65go »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: need to update xkeyboard-config package (bug in current 2.23.1)
« Reply #11 on: May 16, 2021, 03:12:48 PM »
FYI: in TC12-x86, Wayland was not updated. But it is excellent for me that Xorg does not depend on it.
X is not compiled against wayland for x86

Quote
But does this mean that the new minimum CPU target for TC12+ will be i686 ?
No, it was built on an i686 for i486 - previously l used uname-hack to make it look like an i486, but that no longer works with this kernel.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 839
Re: need to update xkeyboard-config package (bug in current 2.23.1)
« Reply #12 on: May 16, 2021, 03:14:45 PM »
OK, thanks for clarification :)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: need to update xkeyboard-config package (bug in current 2.23.1)
« Reply #13 on: May 17, 2021, 02:21:38 AM »
Some individual packages require a higher cpu than 486.
The only barriers that can stop you are the ones you create yourself.