[systemd-devel] 220 tarball erroneously ships keyboard-keys-from-name.gperf
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Fri May 22 09:26:31 PDT 2015
On Fri, May 22, 2015 at 05:28:01PM +0200, Martin Pitt wrote:
> Hello,
>
> while packaging 220, I got the audit related build failure that was
> already reported [1], but also another one:
>
> | In file included from ../src/udev/udev-builtin-keyboard.c:29:0:
> | ./src/udev/keyboard-keys-from-name.h: In function 'keyboard_lookup_key':
> | ./src/udev/keyboard-keys-from-name.h:253:21: error: 'KEY_NUMERIC_A' undeclared (first use in this function)
> | {"numeric_a", KEY_NUMERIC_A},
> | ^
> | ./src/udev/keyboard-keys-from-name.h:253:21: note: each undeclared identifier is reported only once for each function it appears in
> | ./src/udev/keyboard-keys-from-name.h:275:21: error: 'KEY_NUMERIC_C' undeclared (first use in this function)
> | {"numeric_c", KEY_NUMERIC_C},
> | ^
> | ./src/udev/keyboard-keys-from-name.h:347:21: error: 'KEY_NUMERIC_D' undeclared (first use in this function)
> | {"numeric_d", KEY_NUMERIC_D},
> | ^
> | ./src/udev/keyboard-keys-from-name.h:420:21: error: 'KEY_NUMERIC_B' undeclared (first use in this function)
> | {"numeric_b", KEY_NUMERIC_B},
> | ^
> | ./src/udev/keyboard-keys-from-name.h:464:26: error: 'KEY_ROTATE_DISPLAY' undeclared (first use in this function)
> | {"rotate_display", KEY_ROTATE_DISPLAY},
>
> This is because unlike 219 and earlier, the 220 tarball ships a
> pregenerated src/udev/keyboard-keys-from-name.gperf. In Debian sid,
> the above constants are not defined (in the kernel headers, I
> presume). I think src/udev/keyboard-keys-from-name.gperf is supposed
> to be built during package build? I see that somewhere between 219 and
> 220 this happened in Makefile.am:
>
> -CLEANFILES += \
> - src/udev/keyboard-keys-from-name.gperf \
> - src/udev/keyboard-keys.txt \
> - src/udev/net/link-config-gperf.c
>
> but apparently this wasn't put back someplace else?
This was replaced by uniform rules for all gperf files.
Those generic rules probably need fixing.
Zbyszek
More information about the systemd-devel
mailing list