Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100134 - Synaptics 0.14.2 does not compile on x86
Summary: Synaptics 0.14.2 does not compile on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-24 09:46 UTC by Joel Kaasinen
Modified: 2005-07-25 11:10 UTC (History)
0 users

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


Attachments
xorg-6970.patch (xorg-6970.patch,537 bytes, patch)
2005-07-24 23:17 UTC, Christoph Brill (egore) (RESIGNED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Kaasinen 2005-07-24 09:46:19 UTC
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
Comment 1 Christian Heim (RETIRED) gentoo-dev 2005-07-24 11:33:33 UTC
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 ?
Comment 2 Joel Kaasinen 2005-07-24 12:35:11 UTC
(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.
Comment 3 Christoph Brill (egore) (RESIGNED) 2005-07-24 23:17:30 UTC
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!)
Comment 4 Bryan Stine (RETIRED) gentoo-dev 2005-07-25 11:10:14 UTC
Committed. Thanks.