Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368403 - sys-fs/udev-168-r2: error BTN_TRIGGER_HAPPY undeclared when linux-headers <sys-kernel/linux-headers-2.6.36.1
Summary: sys-fs/udev-168-r2: error BTN_TRIGGER_HAPPY undeclared when linux-headers <sy...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
: 363955 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-05-22 22:23 UTC by Keith
Modified: 2011-07-07 19:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith 2011-05-22 22:23:08 UTC
building sys-fs/udev-168-r2 was failing with the error BTN_TRIGGER_HAPPY undeclared.  i had sys-kernel/linux-headers-2.6.30-r1 emerged, but the BTN_TRIGGER_HAPPY defines were missing from input.h.  i emerged sys-kernel/linux-headers-2.6.33, and the BTN_TRIGGER_HAPPY defines are still missing.  finally, i emerged sys-kernel/linux-headers-2.6.36.1 and it contained the BTN_TRIGGER_HAPPY defines in input.h.

it 

Reproducible: Always

Steps to Reproduce:
1. emerge =sys-kernel/linux-headers-2.6.33
2. emerge =sys-fs/udev-168-r2
Actual Results:  
build error, compilation failed, error BTN_TRIGGER_HAPPY undeclared

Expected Results:  
sys-fs/udev-168-r2 builds successfully with sys-kernel/linux-headers-2.6.30-r1

work around is to emerge =sys-kernel/linux-headers-2.6.36.1

my kernel is currently locked to 2.6.32.9 by my virtualization provider.  i have masked kernel sources >= 2.6.33 and linux headers >= 2.6.33.  sys-fs/udev-168-r2 claims to work with kernels above 2.6.25 and recommends 2.6.31.  it should compile against linux headers >= 2.6.25.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-23 22:48:07 UTC
udev-168-r2.ebuild :    RDEPEND=[...]!<sys-kernel/linux-headers-2.6.29

That should probably be updated.
Comment 2 Matt Turner gentoo-dev 2011-06-30 21:31:58 UTC
*** Bug 363955 has been marked as a duplicate of this bug. ***
Comment 3 Matt Turner gentoo-dev 2011-06-30 21:32:41 UTC
Confirmed with sys-fs/udev-171-r1 and sys-kernel/linux-headers-2.6.33.
Comment 4 Matthias Schwarzott gentoo-dev 2011-07-07 19:38:43 UTC
Fixed in udev-171-r1 and udev-9999.