Bug#1009995: x11-xkb-utils: xkbcomp gives a warning for keysym XF86EmojiPicker from symbols/inet

2022-04-21 Thread Timo Aaltonen

Vincent Lefevre kirjoitti 22.4.2022 klo 5.00:

Package: x11-xkb-utils
Version: 7.7+6
Severity: normal

Consider

zira:~> cat .xkb/keymap/test
xkb_keymap {
 xkb_keycodes  { include "evdev+aliases(qwerty)" };
 xkb_types { include "complete"  };
 xkb_compat{ include "complete"  };
 xkb_symbols   { include "pc+gb+inet(evdev)" };
 xkb_geometry  { include "pc(pc105)" };
};

(the "+inet(evdev)" is important).

I get the following warning:

zira:~> xkbcomp -w 0 -I$HOME/.xkb -R$HOME/.xkb keymap/test xkb.dump
Warning:  Could not resolve keysym XF86EmojiPicker

The issue probably comes from

zira:~> grep -r XF86EmojiPicker /usr/share/X11/xkb
/usr/share/X11/xkb/symbols/inet:   key{   [ XF86EmojiPicker   
 ]  }; // KEY_EMOJI_PICKER

This file is provided by xkb-data (current version 2.35.1-1).
So there's something wrong between x11-xkb-utils and xkb-data
(similar to bug 953032 / 994036).

Note: about the fact that I get this warning with "-w 0" is
the following bug, which I've just reported:
   https://gitlab.freedesktop.org/xorg/app/xkbcomp/-/issues/20
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009994

Once this bug is fixed, this could be tested without the "-w 0".

-- System Information:
Debian Release: bookworm/sid
   APT prefers unstable-debug
   APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages x11-xkb-utils depends on:
ii  libc62.33-7
ii  libx11-6 2:1.7.5-1
ii  libxaw7  2:1.0.14-1
ii  libxkbfile1  1:1.1.0-1
ii  libxrandr2   2:1.5.2-1
ii  libxt6   1:1.2.1-1

x11-xkb-utils recommends no packages.

x11-xkb-utils suggests no packages.

-- no debconf information



Before 7.7+6 you'd get an error instead of a warning, and the warning 
isn't going away until x11proto is updated and libx11 built against it. 
But these warnings happen when stuff gets updated independently, so I 
don't consider it a bug.



--
t



Bug#1009995: x11-xkb-utils: xkbcomp gives a warning for keysym XF86EmojiPicker from symbols/inet

2022-04-21 Thread Vincent Lefevre
Package: x11-xkb-utils
Version: 7.7+6
Severity: normal

Consider

zira:~> cat .xkb/keymap/test
xkb_keymap {
xkb_keycodes  { include "evdev+aliases(qwerty)" };
xkb_types { include "complete"  };
xkb_compat{ include "complete"  };
xkb_symbols   { include "pc+gb+inet(evdev)" };
xkb_geometry  { include "pc(pc105)" };
};

(the "+inet(evdev)" is important).

I get the following warning:

zira:~> xkbcomp -w 0 -I$HOME/.xkb -R$HOME/.xkb keymap/test xkb.dump
Warning:  Could not resolve keysym XF86EmojiPicker

The issue probably comes from

zira:~> grep -r XF86EmojiPicker /usr/share/X11/xkb
/usr/share/X11/xkb/symbols/inet:   key{   [ XF86EmojiPicker   
 ]  }; // KEY_EMOJI_PICKER

This file is provided by xkb-data (current version 2.35.1-1).
So there's something wrong between x11-xkb-utils and xkb-data
(similar to bug 953032 / 994036).

Note: about the fact that I get this warning with "-w 0" is
the following bug, which I've just reported:
  https://gitlab.freedesktop.org/xorg/app/xkbcomp/-/issues/20
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1009994

Once this bug is fixed, this could be tested without the "-w 0".

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages x11-xkb-utils depends on:
ii  libc62.33-7
ii  libx11-6 2:1.7.5-1
ii  libxaw7  2:1.0.14-1
ii  libxkbfile1  1:1.1.0-1
ii  libxrandr2   2:1.5.2-1
ii  libxt6   1:1.2.1-1

x11-xkb-utils recommends no packages.

x11-xkb-utils suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)