Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365625 - sys-fs/udev-168-r1 - extras/input_id/input_id.c:167: error: 'BTN_TRIGGER_HAPPY' undeclared (first use in this function)
Summary: sys-fs/udev-168-r1 - extras/input_id/input_id.c:167: error: 'BTN_TRIGGER_HAPP...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-01 20:22 UTC by mjbjr
Modified: 2011-05-06 02:50 UTC (History)
0 users

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


Attachments
build env (build_env.txt,155.09 KB, text/plain)
2011-05-01 20:34 UTC, mjbjr
Details
build log (build.log,13.34 KB, text/x-log)
2011-05-01 20:37 UTC, mjbjr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mjbjr 2011-05-01 20:22:53 UTC
...

  CC     extras/edd_id/edd_id.o
  CC     extras/floppy/create_floppy_devices.o
extras/floppy/create_floppy_devices.c: In function 'main':
extras/floppy/create_floppy_devices.c:166: warning: ignoring return value of 'chown', declared with attribute warn_unused_result
  CC     extras/input_id/input_id.o
  CC     extras/path_id/path_id.o
extras/path_id/path_id.c: In function 'handle_scsi_tape':
extras/path_id/path_id.c:346: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
extras/path_id/path_id.c:348: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
extras/input_id/input_id.c: In function 'test_key':
extras/input_id/input_id.c:167: error: 'BTN_TRIGGER_HAPPY' undeclared (first use in this function)
extras/input_id/input_id.c:167: error: (Each undeclared identifier is reported only once
extras/input_id/input_id.c:167: error: for each function it appears in.)
make[2]: *** [extras/input_id/input_id.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
 * ERROR: sys-fs/udev-168-r1 failed (compile phase):
 *   compiling udev failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 4111:  Called die
 * The specific snippet of code:
 *       emake || die "compiling udev failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-fs/udev-168-r1',
 * the complete build log and the output of 'emerge -pqv =sys-fs/udev-168-r1'.
 * The complete build log is located at '/var/tmp/portage/sys-fs/udev-168-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/udev-168-r1/temp/environment'.
 * S: '/var/tmp/portage/sys-fs/udev-168-r1/work/udev-168'

>>> Failed to emerge sys-fs/udev-168-r1, Log file:

>>>  '/var/tmp/portage/sys-fs/udev-168-r1/temp/build.log'

 * Messages for package sys-fs/udev-168-r1:

 * 
 * udev-168 does not support Linux kernel before version 2.6.25!
 * For a reliable udev, use at least kernel 2.6.31
 * ERROR: sys-fs/udev-168-r1 failed (compile phase):
 *   compiling udev failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 4111:  Called die
 * The specific snippet of code:
 *       emake || die "compiling udev failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-fs/udev-168-r1',
 * the complete build log and the output of 'emerge -pqv =sys-fs/udev-168-r1'.
 * The complete build log is located at '/var/tmp/portage/sys-fs/udev-168-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/udev-168-r1/temp/environment'.
 * S: '/var/tmp/portage/sys-fs/udev-168-r1/work/udev-168'
localhost new_soft # uname -a
Linux localhost 2.6.38-gentoo-r3 #1 SMP Sat Apr 23 17:02:09 PDT 2011 x86_64 Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz GenuineIntel GNU/Linux


Reproducible: Always




# emerge --info =sys-fs/udev-168-r1
Portage 2.1.9.46 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.38-gentoo-r3 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r3-x86_64-Intel-R-_Core-TM-2_CPU_6700_@_2.66GHz-with-gentoo-1.12.14
Timestamp of tree: Sun, 01 May 2011 19:15:01 +0000
app-shells/bash:     4.1_p10
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
sys-kernel/linux-headers: 2.6.30-r1
sys-libs/glibc:      2.11.2-r3
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA googleearth AdobeFlash-10.1 dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirror.mcs.anl.gov/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 apache2 berkdb bzip2 cairo cli cracklib crypt css cups cxx dbi dbus device-mapper dri dvd dvdr exif extras fortran gdbm gdu gnutls gpm gtk iconv icu ipv6 jpeg lcms libnotify mime mmx modules mp3 mudflap multilib ncurses nls nptl nptlonly nsplugin odbc opengl openmp pam pcre perl png policykit postgres pppd python readline session smp sndfile sse sse2 ssl sysfs tcpd threads tiff udev unicode usb v4l v4l2 wav xcomposite xml xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="nikon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge -pqv =sys-fs/udev-168-r1
[ebuild     U ] sys-fs/udev-168-r1 [164-r1] USE="extras (-selinux) -test"
Comment 1 mjbjr 2011-05-01 20:34:42 UTC
Created attachment 271803 [details]
build env
Comment 2 mjbjr 2011-05-01 20:37:01 UTC
Created attachment 271805 [details]
build log
Comment 3 mjbjr 2011-05-01 20:44:03 UTC
this same error occurred with udev-168
Comment 4 Rafał Mużyło 2011-05-01 23:56:57 UTC
Update sys-kernel/linux-headers to something less out of date.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-06 02:50:48 UTC
Please update your entire system. sys-devel/gcc, sys-libs/glibc, sys-kernel/linux-headers and probably quite a few other packages are severely outdated, and yet you are trying to use the latest kernel/udev with that userland?