Emerging synaptics-0.14.2 fails with: /usr/include/X11/Xlib.h:3575: error: syntax error before "_X_SENTINEL" /usr/include/X11/Xlib.h:3575: error: ISO C forbids data definition with no type or storage class /usr/include/X11/Xlib.h:3580: error: syntax error before "_X_SENTINEL" /usr/include/X11/Xlib.h:3580: error: ISO C forbids data definition with no type or storage class /usr/include/X11/Xlib.h:3593: error: syntax error before "_X_SENTINEL" /usr/include/X11/Xlib.h:3593: error: ISO C forbids data definition with no type or storage class /usr/include/X11/Xlib.h:3606: error: syntax error before "_X_SENTINEL" /usr/include/X11/Xlib.h:3606: error: ISO C forbids data definition with no type or storage class /usr/include/X11/Xlib.h:3611: error: syntax error before "_X_SENTINEL" /usr/include/X11/Xlib.h:3611: error: ISO C forbids data definition with no type or storage class /usr/include/X11/Xlib.h:3843: error: syntax error before "_X_SENTINEL" /usr/include/X11/Xlib.h:3843: error: ISO C forbids data definition with no type or storage class /usr/include/X11/Xlib.h:3847: error: syntax error before "_X_SENTINEL" /usr/include/X11/Xlib.h:3847: error: ISO C forbids data definition with no type or storage class /usr/include/X11/Xlib.h:3859: error: syntax error before "_X_SENTINEL" /usr/include/X11/Xlib.h:3859: error: ISO C forbids data definition with no type or storage class /usr/include/X11/Xlib.h:3887: error: syntax error before "_X_SENTINEL" /usr/include/X11/Xlib.h:3887: error: ISO C forbids data definition with no type or storage class /usr/include/X11/Xlib.h:3891: error: syntax error before "_X_SENTINEL" /usr/include/X11/Xlib.h:3891: error: ISO C forbids data definition with no type or storage class /usr/include/X11/Xlib.h:3931: error: syntax error before "_X_SENTINEL" /usr/include/X11/Xlib.h:3931: error: ISO C forbids data definition with no type or storage class make: *** [syndaemon.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: x11-misc/synaptics-0.14.2 failed. !!! Function src_compile, Line 31, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. Try to emerge synaptics-0.14.2 2. Wait for some time 3. Watch in horror as the ebuild fails Actual Results: Ebuild fails Expected Results: Succesful merge Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.11.11-ml i686) ================================================================= System uname: 2.6.11.11-ml i686 Intel(R) Pentium(R) M processor 1.60GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 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.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.paivola.fi/gentoo http://trumpetti.atm.tut.fi/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X alsa apm avi berkdb bitmap-fonts cdr crypt curl divx dvd emacs emboss encode flac foomaticdb gd gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mp3 mpeg ncurses ogg oggvorbis opengl oss pam pcre pdflib perl png quicktime readline samba sdl slang spell ssl tcpd theora tiff truetype truetype-fonts type1-fonts vorbis xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
This is somewhat xorg-x11 dependent. Seems like /usr/include/X11/Xlib.h is messed up with some (13) extern declarations, which use an invalid C-Syntax (as your gcc-log says "ISO C forbids data definition with no type"). Only for interest (and for the reason that I'm running =xorg-x11-6.8.99.15, where the same error exists), which xorg-x11 version are you running ?
(In reply to comment #1) > Only for interest (and for the reason that I'm running =xorg-x11-6.8.99.15, > where the same error exists), which xorg-x11 version are you running ? Same version, just upgraded.
Created attachment 64229 [details, diff] xorg-6970.patch patch to get it build with X.org 6.9/7.0 (thanks to someone in the forums for pointing this out!)
Committed. Thanks.