Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250112 - x11-drivers/xf86-input-synaptics-0.99.2 failed to build
Summary: x11-drivers/xf86-input-synaptics-0.99.2 failed to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-07 04:10 UTC by Chris Slycord
Modified: 2008-12-18 13:52 UTC (History)
2 users (show)

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


Attachments
Build logfile (x11-drivers:xf86-input-synaptics-0.99.2:20081207-035801.log,12.69 KB, text/plain)
2008-12-07 04:11 UTC, Chris Slycord
Details
ebuild environment (environment,144.62 KB, text/plain)
2008-12-07 04:12 UTC, Chris Slycord
Details
emerge --info (info,3.75 KB, text/plain)
2008-12-07 05:39 UTC, Chris Slycord
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Slycord 2008-12-07 04:10:49 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ -march=core2 -O2 -pipe -fomit-frame-pointer -I/usr/include/xorg -I../src -MT eventcomm.lo -MD -MP -MF .deps/eventcomm.Tpo -c eventcomm.c  -fPIC -DPIC -o .libs/eventcomm.o
mv -f .deps/properties.Tpo .deps/properties.Plo
synaptics.c: In function 'SynapticsPreInit':
synaptics.c:594: error: 'opts' undeclared (first use in this function)
synaptics.c:594: error: (Each undeclared identifier is reported only once
synaptics.c:594: error: for each function it appears in.)
make[2]: *** [synaptics.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/alpscomm.Tpo .deps/alpscomm.Plo
mv -f .deps/eventcomm.Tpo .deps/eventcomm.Plo
mv -f .deps/ps2comm.Tpo .deps/ps2comm.Plo
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-input-synaptics-0.99.2/work/xf86-input-synaptics-0.99.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-input-synaptics-0.99.2/work/xf86-input-synaptics-0.99.2'
make: *** [all] Error 2
 * 
 * ERROR: x11-drivers/xf86-input-synaptics-0.99.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3709:  Called x-modular_src_compile
 *             environment, line 4606:  Called x-modular_src_make
 *             environment, line 4642:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
Comment 1 Chris Slycord 2008-12-07 04:11:46 UTC
Created attachment 174524 [details]
Build logfile
Comment 2 Chris Slycord 2008-12-07 04:12:46 UTC
Created attachment 174525 [details]
ebuild environment
Comment 3 Chris Slycord 2008-12-07 04:18:14 UTC
Same failure with 0.99.1

0.15.2-r2 compiled cleanly
Comment 4 Wormo (RETIRED) gentoo-dev 2008-12-07 05:05:01 UTC
Please post your 'emerge --info' output as well
Comment 5 Chris Slycord 2008-12-07 05:39:09 UTC
Created attachment 174526 [details]
emerge --info
Comment 6 Steven Parker 2008-12-18 01:54:43 UTC
I am also getting the same error on my system.

# emerge --info
Portage 2.1.6.1 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r0, 2.6.24-tuxonice-r9 i686)
=================================================================
System uname: Linux-2.6.24-tuxonice-r9-i686-mobile_AMD_Athlon-tm-_XP2800+-with-glibc2.0
Timestamp of tree: Tue, 16 Dec 2008 17:15:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ "
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_CA en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli colordiff cracklib crypt dbus directfb dri dvd dvdr dvdread emboss encode evo fam fbcon fbcondecor fbsplash firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog java java5 java6 jpeg ldap libnotify mad midi mikmod mmx mmxext mng mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python quicktime readline reflection sdl session spell spl sqlite sse ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x264 x86 xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_CA en_US" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 7 Popolous 2008-12-18 05:57:11 UTC
I'm getting the same error:
synaptics.c: In function 'SynapticsPreInit':
synaptics.c:590: error: 'opts' undeclared (first use in this function)
synaptics.c:590: error: (Each undeclared identifier is reported only once
synaptics.c:590: error: for each function it appears in.)
make[2]: *** [synaptics.lo] Error 1 

My environtment:

Portage 2.1.6_rc2 (default-linux/x86/2007.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.24-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.24-gentoo-r5-i686-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.0
Timestamp of tree: Tue, 02 Dec 2008 10:31:01 +0000
ccache version 2.4 [disabled]
app-shells/bash: 3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python: 2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.3.0-r1
sys-apps/sandbox: 1.2.18.1-r3
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.4
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=nocona -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS=" http://ftp.udc.es/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://cesium.di.uminho.pt/pub/gentoo"
LC_ALL="es_ES.UTF-8"
LDFLAGS=""
LINGUAS="es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl berkdb cairo cli cracklib crypt cups dbus doc dri fortran gdbm gnome gpm iconv ipv6 isdnlog java kde midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt3 qt4 readline reflection session spl ssl tcpd unicode x86 xorg xulrunner zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="fglrx vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS 
Comment 8 Tony Vroon (RETIRED) gentoo-dev 2008-12-18 11:03:51 UTC
It means you're trying to build against the old X server instead of against the new one. I'll add 0.99.3 to the tree which can cope with this.
Comment 9 Tony Vroon (RETIRED) gentoo-dev 2008-12-18 13:52:07 UTC
+*xf86-input-synaptics-0.99.3 (18 Dec 2008)
+
+  18 Dec 2008; <chainsaw@gentoo.org> +xf86-input-synaptics-0.99.3.ebuild:
+  Version bump, adds support for input ABI 0 (older X servers), which users
+  apparently expect. Closes bug #250112 filed by Chris Slycord
+  <cslycord@gmail.com>. With thanks to Donnie Berkholz
+  <dberkholz@gentoo.org> for forwarding the release announcement.