Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: y_satou70 on May 15, 2021, 01:30:44 AM
-
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/
-
updated - thanks for reporting this
-
This update prevented me to start the Xorg sever.
From text mode I did 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: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.
-
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?
-
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.
-
In fact the problem is xkbcomp from Xorg-7.7-bin.
-
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.10tc@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 ?
-
xorg-server was not the problem, just xkbcomp
-
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:
/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.0found 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
-
xkeyboard-config, Xorg-7.7-bin, xorg-server and xwayland updated
-
@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 ?
-
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
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.
-
OK, thanks for clarification :)
-
Some individual packages require a higher cpu than 486.