Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 142847

Summary: x11-drivers/xf86-input-evdev-1.1.2-r1 fails to build on AMD64
Product: Gentoo Linux Reporter: Paul Taylor <birder>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Taylor 2006-08-04 18:42:19 UTC
# emerge xf86-input-evdev
[snip]
mkdir .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -march=athlon64 -mtune=athlon64 -O3 -pipe -msse -msse2 -mfpmath=sse -fomit-frame-pointer -DXGLServer -I -I../src -MT evdev_drv_la-evdev.lo -MD -MP -MF .deps/evdev_drv_la-evdev.Tpo -c evdev.c  -fPIC -DPIC -o .libs/evdev_drv_la-evdev.o
In file included from evdev.c:57:
../config.h:4:25: error: xorg-server.h: No such file or directory
In file included from evdev.c:64:
evdev.h:73:24: error: xf86Xinput.h: No such file or directory
In file included from evdev.h:118,
                 from evdev.c:64:
/usr/include/X11/extensions/XKBstr.h:77: error: expected specifier-qualifier-list before 'Bool'
/usr/include/X11/extensions/XKBstr.h:490: error: expected specifier-qualifier-list before 'Bool'
/usr/include/X11/extensions/XKBstr.h:582: error: expected specifier-qualifier-list before 'Bool'
In file included from evdev.c:64:
evdev.h:192: error: expected specifier-qualifier-list before 'Bool'
evdev.h:209: error: expected specifier-qualifier-list before 'InputInfoPtr'
evdev.h:233: error: expected specifier-qualifier-list before 'InputDriverPtr'
evdev.h:243: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'evdevStart'
evdev.h:244: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'evdevNewDriver'
evdev.h:245: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'evdevGetBits'
evdev.h:247: error: expected ')' before 'device'
evdev.h:248: error: expected ')' before 'device'
evdev.h:249: error: expected ')' before 'device'
evdev.h:250: error: expected ')' before 'pInfo'
evdev.h:251: error: expected ')' before 'pInfo'
evdev.h:252: error: expected ')' before 'pInfo'
evdev.h:254: error: expected ')' before 'device'
evdev.h:255: error: expected ')' before 'device'
evdev.h:256: error: expected ')' before 'device'
evdev.h:257: error: expected ')' before 'pInfo'
evdev.h:258: error: expected ')' before 'pInfo'
evdev.h:259: error: expected ')' before 'pInfo'
evdev.h:260: error: expected ')' before 'pInfo'
evdev.h:262: error: expected ')' before 'device'
evdev.h:263: error: expected ')' before 'pInfo'
evdev.h:264: error: expected ')' before 'device'
evdev.h:265: error: expected ')' before 'device'
evdev.h:266: error: expected ')' before 'pInfo'
evdev.c:66:18: error: xf86.h: No such file or directory
evdev.c:68:24: error: xf86Module.h: No such file or directory
evdev.c:69:23: error: mipointer.h: No such file or directory
evdev.c:72:25: error: xf86_OSproc.h: No such file or directory
evdev.c:79: error: expected ')' before 'pInfo'
evdev.c:82: error: expected ')' before 'pInfo'
evdev.c: In function 'EvdevSigioReadInput':
evdev.c:132: warning: implicit declaration of function 'EvdevReadInput'
evdev.c:132: error: 'InputInfoPtr' undeclared (first use in this function)
evdev.c:132: error: (Each undeclared identifier is reported only once
evdev.c:132: error: for each function it appears in.)
evdev.c:132: error: expected ')' before 'data'
evdev.c: At top level:
evdev.c:136: error: expected ')' before 'device'
evdev.c:220: error: expected ')' before 'client'
evdev.c:247: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'EvdevNew'
evdev.c:377: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'EvdevCorePreInit'
evdev.c:442: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'InputDriverRec'
make[2]: *** [evdev_drv_la-evdev.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/xf86-input-evdev-1.1.2-r1/work/xf86-input-evdev-1.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xf86-input-evdev-1.1.2-r1/work/xf86-input-evdev-1.1.2'
make: *** [all] Error 2

!!! ERROR: x11-drivers/xf86-input-evdev-1.1.2-r1 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ebuild.sh, line 1252:   Called x-modular_src_compile
  x-modular.eclass, line 330:   Called x-modular_src_make
  x-modular.eclass, line 325:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


x11-server.h, xf86Xinput.h etc. exist in /usr/include/xorg, and belong to x11-base/xorg-server-1.0.2-r7 - I can't use xorg-server-1.1 until updated nVidia drivers are released to fix the font problems.



# emerge --info
Portage 2.1.1_pre4-r3 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -O3 -pipe -msse -msse2 -mfpmath=sse -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -O3 -pipe -msse -msse2 -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_AU"
LC_ALL="en_AU"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/portage-xgl"
SYNC="rsync://bower/gentoo-portage"
USE="amd64 X a52 aac acpi alsa arts audiofile bash-completion berkdb bitmap-fonts bzip2 bzlib cdparanoia cdr cdrom chroot cli crypt cups curl dlloader dmi dpms dri dts dv dvb dvd dvdr dvdread eds elibc_glibc emboss encode exif expat fame fbcon ffmpeg flac foomaticdb fortran gdbm gif gimpprint glitz gpm gps gsl gstreamer gtk gtk2 hal idn imagemagick imap imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_wacom ipv6 isdnlog jack java jpeg jpeg2k junit kde kernel_linux lcms lirc lirc_devices_livedrive_midi lm_sensors lzo lzw lzw-tiff mad mmap mng mp3 mpeg mpeg4 musepack musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl pam pcre pda pdflib perl pic png ppds pppd python qt qt3 qt4 quicktime readline reflection sdk sdl session slang sndfile speex spell spl sqlite ssl svg symlink tcpd test theora threads tiff truetype truetype-fonts type1-fonts usb userland_GNU userlocales vcd video_cards_nvidia vim vorbis vorbis-psy wmf xcomposite xine xml xml2 xorg xpm xprint xscreensaver xv xvid xvmc yv12 zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-04 19:01:38 UTC
> error: xorg-server.h: No such file or directory
> PORTDIR_OVERLAY="/usr/portage/local/layman/portage-xgl"

Tell Mr. Coffee, we are not interested.