xorg-server-1.4.99.902 does not provide xf86_ansic.h any more. Drivers dependig on that have to be modified to use standard system headers und symbols. So x11-drivers/synaptics-0.14.6-r2 will fail to build without patching. Reproducible: Always Steps to Reproduce: 1. emerge =x11-base/xorg-server-1.4.99.902 2. emerge =x11-drivers/synaptics-0.14.6-r2
Created attachment 158781 [details, diff] patch against x11-drivers/synaptics-0.14.6-r2 to compile against x11-base/xorg-server-1.4.99.902
Created attachment 158783 [details, diff] patch against x11-drivers/synaptics-0.14.6-r2 to compile against x11-base/xorg-server-1.4.99.902 removed backup file from patch
This also helped me to compile against x11-base/xorg-server-1.4.99.905. Thank you, Thomas!
Created attachment 160016 [details] ebuild with "epatch" line
(In reply to comment #4) > Created an attachment (id=160016) [edit] > ebuild with "epatch" line > We should check the version number of xorg-server?
this also works with 1.4.99.906, thanks ! :) *bump*
see #235657
*** Bug 235657 has been marked as a duplicate of this bug. ***
(In reply to comment #8) > *** Bug 235657 has been marked as a duplicate of this bug. *** > Please do note that xf86-input-synaptics is totally different ebuild from synaptics and the bug #235657 was about incorrect xorg-server dependencies, not synaptics said that just fix it please thanks this bug is obsoleted by a newer upstream version x11-drivers/xf86-input-synaptics-0.15.0
*** Bug 236853 has been marked as a duplicate of this bug. ***
This should be fixed now: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-base/xorg-server/xorg-server-1.5.0.ebuild?r1=1.1&r2=1.2
>>> Emerging (1 of 1) x11-drivers/synaptics-0.14.6_p20070706-r1 * synaptics-0.14.6_p20070706.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.24.7/build * Found sources for kernel version: * 2.6.24.7 * Checking kernel config for event device support ... [ ok ] >>> Unpacking source... >>> Unpacking synaptics-0.14.6_p20070706.tar.bz2 to /var/tmp/portage/x11-drivers/synaptics-0.14.6_p20070706-r1/work * Applying synaptics-0.14.6_p20070706-fixeventgrab.patch ... [ ok ] * Applying synaptics-0.14.6_p20070706-input_api.patch ... [ ok ] * Applying synaptics-install-so-exec.patch ... [ ok ] * Applying synaptics-fix-xinerama.patch ... [ ok ] * Applying synaptics-0.14.6-configurable_polling_interval.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/x11-drivers/synaptics-0.14.6_p20070706-r1/work/synaptics-0.14.6_p20070706 ... rm -f synaptics.o i686-pc-linux-gnu-gcc -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -c -pedantic -Wall -Wpointer-arith -fno-merge-constants -fPIC -I. -I/usr/include/X11 -I/usr/include/X11/extensions `pkg-config xorg-server --cflags` -Dlinux -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -D__i386__ -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DVERSION="\"0.14.6\"" -DVERSION_ID="(0*10000+14*100+6)" synaptics.c In file included from /usr/include/xorg/misc.h:108, from synaptics.c:70: /usr/include/xorg/os.h:519:16: warning: anonymous variadic macros were introduced in C99 synaptics.c:73:24: error: xf86_ansic.h: No such file or directory synaptics.c: In function ‘SetDeviceAndProtocol’: synaptics.c:195: warning: implicit declaration of function ‘strcmp’ synaptics.c: In function ‘alloc_param_data’: synaptics.c:239: warning: implicit declaration of function ‘xf86shmget’ synaptics.c:240: warning: implicit declaration of function ‘xf86shmctl’ synaptics.c:240: error: ‘XF86IPC_RMID’ undeclared (first use in this function) synaptics.c:240: error: (Each undeclared identifier is reported only once synaptics.c:240: error: for each function it appears in.) synaptics.c:242: error: ‘XF86IPC_CREAT’ undeclared (first use in this function) synaptics.c:246: warning: implicit declaration of function ‘xf86shmat’ synaptics.c: In function ‘free_param_data’: synaptics.c:273: error: ‘XF86IPC_RMID’ undeclared (first use in this function) synaptics.c: In function ‘synSetFloatOption’: synaptics.c:287: warning: implicit declaration of function ‘xf86sscanf’ synaptics.c: In function ‘SynapticsPreInit’: synaptics.c:494: warning: implicit declaration of function ‘xf86mknod’ synaptics.c:494: error: ‘XF86_S_IFIFO’ undeclared (first use in this function) synaptics.c:495: error: ‘xf86errno’ undeclared (first use in this function) synaptics.c:495: error: ‘xf86_EEXIST’ undeclared (first use in this function) synaptics.c:504: warning: implicit declaration of function ‘xf86free’ synaptics.c: In function ‘move_distance’: synaptics.c:698: warning: implicit declaration of function ‘xf86sqrt’ synaptics.c: In function ‘angle’: synaptics.c:733: warning: implicit declaration of function ‘xf86atan2’ synaptics.c: In function ‘diffa’: synaptics.c:740: warning: implicit declaration of function ‘xf86fmod’ synaptics.c: In function ‘SynapticsGetHwState’: synaptics.c:848: warning: implicit declaration of function ‘xf86write’ synaptics.c: In function ‘ComputeDeltas’: synaptics.c:1406: warning: implicit declaration of function ‘xf86modf’ make: *** [synaptics.o] Error 1 * * ERROR: x11-drivers/synaptics-0.14.6_p20070706-r1 failed. It can be compiled against xorg-server-1.4.2 while not against 1.5.0. The newer x11-drivers/xf86-input-synaptics-0.15.2-r2 can be compiled agaisnt xorg-serv-1.5.0 on ~x86.
AFAIK this bug has been fixed Are you claiming that xorg-server depends on x11-drivers/synaptics cat /usr/portage/x11-base/xorg-server/xorg-server-1.5.0.ebuild ... input_devices_synaptics? ( x11-drivers/xf86-input-synaptics ) ... (In reply to comment #12) > >>> Emerging (1 of 1) x11-drivers/synaptics-0.14.6_p20070706-r1 > * synaptics-0.14.6_p20070706.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... > > [ ok ] > * checking ebuild checksums ;-) ... > > [ ok ] > * checking auxfile checksums ;-) ... > > [ ok ] > * checking miscfile checksums ;-) ... > > [ ok ] > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found kernel object directory: > * /lib/modules/2.6.24.7/build > * Found sources for kernel version: > * 2.6.24.7 > * Checking kernel config for event device support ... > > [ ok ] > >>> Unpacking source... > >>> Unpacking synaptics-0.14.6_p20070706.tar.bz2 to /var/tmp/portage/x11-drivers/synaptics-0.14.6_p20070706-r1/work > * Applying synaptics-0.14.6_p20070706-fixeventgrab.patch ... > > [ ok ] > * Applying synaptics-0.14.6_p20070706-input_api.patch ... > > [ ok ] > * Applying synaptics-install-so-exec.patch ... > > [ ok ] > * Applying synaptics-fix-xinerama.patch ... > > [ ok ] > * Applying synaptics-0.14.6-configurable_polling_interval.patch ... > > [ ok ] > >>> Source unpacked. > >>> Compiling source in /var/tmp/portage/x11-drivers/synaptics-0.14.6_p20070706-r1/work/synaptics-0.14.6_p20070706 ... > rm -f synaptics.o > i686-pc-linux-gnu-gcc -O2 -march=pentium4 -mmmx -msse -msse2 > -fomit-frame-pointer -pipe -c -pedantic -Wall -Wpointer-arith > -fno-merge-constants -fPIC -I. -I/usr/include/X11 -I/usr/include/X11/extensions > `pkg-config xorg-server --cflags` -Dlinux -D_POSIX_C_SOURCE=199309L > -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE > -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP > -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT > -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER > -DXFree86Server -DXF86VIDMODE -DSMART_SCHEDULE -DBUILDDEBUG > -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -D__i386__ -DFUNCPROTO=15 -DNARROWPROTO > -DIN_MODULE -DXFree86Module -DVERSION="\"0.14.6\"" > -DVERSION_ID="(0*10000+14*100+6)" synaptics.c > In file included from /usr/include/xorg/misc.h:108, > from synaptics.c:70: > /usr/include/xorg/os.h:519:16: warning: anonymous variadic macros were > introduced in C99 > synaptics.c:73:24: error: xf86_ansic.h: No such file or directory > synaptics.c: In function ‘SetDeviceAndProtocol’: > synaptics.c:195: warning: implicit declaration of function ‘strcmp’ > synaptics.c: In function ‘alloc_param_data’: > synaptics.c:239: warning: implicit declaration of function ‘xf86shmget’ > synaptics.c:240: warning: implicit declaration of function ‘xf86shmctl’ > synaptics.c:240: error: ‘XF86IPC_RMID’ undeclared (first use in this > function) > synaptics.c:240: error: (Each undeclared identifier is reported only once > synaptics.c:240: error: for each function it appears in.) > synaptics.c:242: error: ‘XF86IPC_CREAT’ undeclared (first use in this > function) > synaptics.c:246: warning: implicit declaration of function ‘xf86shmat’ > synaptics.c: In function ‘free_param_data’: > synaptics.c:273: error: ‘XF86IPC_RMID’ undeclared (first use in this > function) > synaptics.c: In function ‘synSetFloatOption’: > synaptics.c:287: warning: implicit declaration of function ‘xf86sscanf’ > synaptics.c: In function ‘SynapticsPreInit’: > synaptics.c:494: warning: implicit declaration of function ‘xf86mknod’ > synaptics.c:494: error: ‘XF86_S_IFIFO’ undeclared (first use in this > function) > synaptics.c:495: error: ‘xf86errno’ undeclared (first use in this function) > synaptics.c:495: error: ‘xf86_EEXIST’ undeclared (first use in this > function) > synaptics.c:504: warning: implicit declaration of function ‘xf86free’ > synaptics.c: In function ‘move_distance’: > synaptics.c:698: warning: implicit declaration of function ‘xf86sqrt’ > synaptics.c: In function ‘angle’: > synaptics.c:733: warning: implicit declaration of function ‘xf86atan2’ > synaptics.c: In function ‘diffa’: > synaptics.c:740: warning: implicit declaration of function ‘xf86fmod’ > synaptics.c: In function ‘SynapticsGetHwState’: > synaptics.c:848: warning: implicit declaration of function ‘xf86write’ > synaptics.c: In function ‘ComputeDeltas’: > synaptics.c:1406: warning: implicit declaration of function ‘xf86modf’ > make: *** [synaptics.o] Error 1 > * > * ERROR: x11-drivers/synaptics-0.14.6_p20070706-r1 failed. > > > It can be compiled against xorg-server-1.4.2 while not against 1.5.0. > The newer x11-drivers/xf86-input-synaptics-0.15.2-r2 can be compiled agaisnt > xorg-serv-1.5.0 on ~x86. >
(In reply to comment #13) > AFAIK this bug has been fixed > > Are you claiming that xorg-server depends on x11-drivers/synaptics > > cat /usr/portage/x11-base/xorg-server/xorg-server-1.5.0.ebuild > ... > input_devices_synaptics? ( x11-drivers/xf86-input-synaptics ) > ... No, it does not. Probably a change to the description lines of both package ebuilds clarifying that x11-drivers/synaptics is for xorg-server =< 1.4.99 and the other for 1.5.0 >= would be great.
*** Bug 245611 has been marked as a duplicate of this bug. ***
Thanks Thomas, also helped me to compile against x11-base/xorg-server-1.5.3-r1
This driver will be removed from portage now that xf86-input-synatics is stable on all supported arches. Thanks
Package is gone from portage. Closing. Thanks