Red Hat Bugzilla – Bug 50453
XFree86-4.0.3-5 RPM was compiled against wrong kernel
Last modified: 2007-04-18 12:35:19 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.3-12 i686)
Description of problem:
The XFree86 RPM shipped with 7.1 was apparently compiled on a machine
running a 2.2 kernel, instead of the 2.4 kernel that ships with it. A
result of this is that the wacom tablet driver does not support USB devices
properly. Simply rebuilding the RPM under a 2.4 kernel fixes this problem.
Steps to Reproduce:
1. Configure wacom driver as described in the Wacom Tablet HOWTO
2. Add 'Option "USB" "on"' to the appropriate "InputDevice" section of
3. Start X.
Actual Results: wacom driver complains that USB support is not available
for the platform.
The running kernel on the build system should not ever in any case
have any effect on any software built using that kernel. If it does,
then it is definitely a software build script/makefile/foo flaw. You
should never need to *run* a certain kernel to build anything ever.
If this is indeed true, the problem almost must be the X build using
uname -r to obtain the running kernel name during build which is
entirely invalid data.
Looking into this..
The USB code in the wacom driver is conditionally enabled in the
source code with #ifdef LINUX_INPUT which is defined in the Wacom
Imakefile if HasLinuxInput is enabled. For the Linux platform,
HasLinuxInput is overriden in linux.cf to be YES only if the
build system kernel is 2.4.x or greater. This IMHO is very bad
behaviour and I've reported it upstream to XFree86. I have forced
the HasLinuxInput option to YES in our specfile's host.def now.
Future 4.0.3 builds (-25 and later) as well as 4.1.0 builds (0.10.0 and
later) will have this fix included. The 4.1.0 will appear in rawhide
in a week or so.