Bug 50453 - XFree86-4.0.3-5 RPM was compiled against wrong kernel
Summary: XFree86-4.0.3-5 RPM was compiled against wrong kernel
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: XFree86   
(Show other bugs)
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2001-07-31 11:32 UTC by Alex Stewart
Modified: 2007-04-18 16:35 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-07-31 11:52:50 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Alex Stewart 2001-07-31 11:32:03 UTC
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.

How reproducible:

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.

Additional info:

Comment 1 Mike A. Harris 2001-07-31 11:52:44 UTC
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..

Comment 2 Mike A. Harris 2001-07-31 12:21:58 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.