Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95656 - xorg-x11-6.8.99.8 emerge fails on evdev.c
Summary: xorg-x11-6.8.99.8 emerge fails on evdev.c
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-10 03:13 UTC by Michal Luczak
Modified: 2005-06-13 09:56 UTC (History)
0 users

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 Michal Luczak 2005-06-10 03:13:44 UTC
I'm trying to emerge x11-base/xorg-x11-6.8.99.8

[ebuild     U ] x11-base/xorg-x11-6.8.99.8 [6.8.99.5] -3dfx -3dnow +bitmap-fonts
-cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal
+mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc)
-xprint +xv 0 kB 

but it doesn't compile 

Reproducible: Always
Steps to Reproduce:
1. emerge -uv x11-base/xorg-x11
2.
3.

Actual Results:  
[...]
rm -f evdev.o
i686-pc-linux-gnu-gcc -O3 -mtune=pentium4 -pipe -fno-strict-aliasing -ansi
-pedantic -Wno-return-type -w   -fno-merge-constants -I.
-I../../../../../../programs/Xserver/hw/xfree86/common
-I../../../../../../programs/Xserver/hw/xfree86/loader
-I../../../../../../programs/Xserver/hw/xfree86/os-support       
-I../../../../../../programs/Xserver/include
-I../../../../../../programs/Xserver/mi -I../../../../../../exports/include/X11
-I../../../../../../include/extensions  -I../../../../../..
-I../../../../../../exports/include   -Dlinux -D__i386__
-D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE
-D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 				 -D_GNU_SOURCE 		 -DSHAPE -DXINPUT -DXKB -DLBX
-DXAPPGROUP 	-DXCSECURITY -DTOGCUP  	-DXF86BIGFONT -DDPMSExtension 	
-DPANORAMIX 	 -DRENDER -DRANDR 	-DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE 	
-DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH 				-DXFreeXDGA
-DXvExtension 			-DXFree86LOADER -DDLOPEN_HACK -DXFree86Server 			
-DXF86VIDMODE 			-DXvMCExtension 				-DSMART_SCHEDULE 				 -DXResExtension 			
-DX_BYTE_ORDER=X_LITTLE_ENDIAN 				-DXORG_VERSION_CURRENT="(((6) * 10000000) +
((8) * 100000) + ((99) * 1000) + 8)" -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO 
-DIN_MODULE -DXFree86Module    -c evdev.c
evdev.c: In function `EvdevReadInput':
evdev.c:155: error: `EV_SYN' undeclared (first use in this function)
evdev.c:155: error: (Each undeclared identifier is reported only once
evdev.c:155: error: for each function it appears in.)
evdev.c: In function `EvdevProc':
evdev.c:489: error: `EVIOCGRAB' undeclared (first use in this function)
make[7]: *** [evdev.o] Error 1
make[7]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.99.8/work/xc/programs/Xserver/hw/xfree86/input/evdev'
make[6]: *** [all] Error 2
[...]
!!! ERROR: x11-base/xorg-x11-6.8.99.8 failed.
!!! Function build, Line 975, Exitcode 2


Expected Results:  
properly compile and install x-org

# emerge info 
Portage 2.0.51.22-r1 (default-linux/x86/2005.0/2.4, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-rc2 i686)
=================================================================
System uname: 2.6.12-rc2 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.4.19-r1, 2.4.22-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -mtune=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl http://gentoo.inode.at/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cscope cups curl
emboss encode esd fam flac foomaticdb fortran gd gdbm gif gpm gtk gtk2
imagemagick imlib ipv6 jack java jpeg junit ldap libg++ libwww mad mikmod mmx
motif mp3 mpeg mysql ncurses nls odbc ogg oggvorbis opengl oss pam pdflib perl
plotutils png postgres python quicktime readline ruby samba sasl sdl slang snmp
spell sqlite sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts unicode vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

# i686-pc-linux-gnu-gcc --version
i686-pc-linux-gnu-gcc (GCC) 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)
Copyright (C) 2004 Free Software Foundation, Inc.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-06-10 08:08:38 UTC
Which version of linux-headers do you have?
Comment 2 Michal Luczak 2005-06-13 01:28:10 UTC
sys-kernel/linux-headers-2.4.22-r1
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-06-13 09:56:34 UTC
It only works on recent 2.6 linux headers and therefore should only get built on
them, but that doesn't seem to be the case. If you'd like to file a bug on this,
bugs.freedesktop.org is the place. Please post the URL of the bug here.

Bug #89801 has a patch that may help you out.

Also note that the combination of a 2.6 kernel and 2.4 headers is weird and not
likely to be supported, so you ought to be all 2.4 or all 2.6 if you want
something done upstream.