First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 229919
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WONTFIX
Assigned To: Gentoo X packagers <x11@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Frenzel <syslock@gmx.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
synaptics-fix-xf86_ansic.h.patch patch against x11-drivers/synaptics-0.14.6-r2 to compile against x11-base/xorg-server-1.4.99.902 patch Thomas Frenzel 2008-06-28 17:10 0000 57.91 KB Details | Diff
synaptics-fix-xf86_ansic.h.patch patch against x11-drivers/synaptics-0.14.6-r2 to compile against x11-base/xorg-server-1.4.99.902 patch Thomas Frenzel 2008-06-28 17:15 0000 3.84 KB Details | Diff
synaptics-0.14.6-r2.ebuild ebuild with "epatch" line text/plain Sergio Bevilacqua 2008-07-10 07:15 0000 2.66 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 229919 depends on: Show dependency tree
Bug 229919 blocks: 277521
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-28 17:08 0000
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

------- Comment #1 From Thomas Frenzel 2008-06-28 17:10:35 0000 -------
Created an attachment (id=158781) [details]
patch against x11-drivers/synaptics-0.14.6-r2 to compile against
x11-base/xorg-server-1.4.99.902

------- Comment #2 From Thomas Frenzel 2008-06-28 17:15:06 0000 -------
Created an attachment (id=158783) [details]
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

------- Comment #3 From Alexey Charkov 2008-07-01 12:10:31 0000 -------
This also helped me to compile against x11-base/xorg-server-1.4.99.905. Thank
you, Thomas!

------- Comment #4 From Sergio Bevilacqua 2008-07-10 07:15:06 0000 -------
Created an attachment (id=160016) [details]
ebuild with "epatch" line

------- Comment #5 From Hong Hao 2008-07-28 07:19:21 0000 -------
(In reply to comment #4)
> Created an attachment (id=160016) [edit] [details]
> ebuild with "epatch" line
> 

We should check the version number of xorg-server? 

------- Comment #6 From Mat 2008-08-23 12:21:36 0000 -------
this also works with 1.4.99.906, thanks ! :)

*bump*

------- Comment #7 From emil karlson 2008-08-25 07:35:16 0000 -------
see #235657

------- Comment #8 From Jeroen Roovers 2008-08-25 17:47:31 0000 -------
*** Bug 235657 has been marked as a duplicate of this bug. ***

------- Comment #9 From emil karlson 2008-08-25 18:11:41 0000 -------
(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

------- Comment #10 From Vlastimil Babka (Caster) 2008-09-06 11:12:11 0000 -------
*** Bug 236853 has been marked as a duplicate of this bug. ***

------- Comment #11 From Davide Pesavento 2008-09-07 15:13:50 0000 -------
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

------- Comment #12 From Martin Mokrejš 2008-09-25 13:53:40 0000 -------
>>> 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.

------- Comment #13 From emil karlson 2008-09-25 14:41:03 0000 -------
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.
> 

------- Comment #14 From Martin Mokrejš 2008-09-25 14:53:58 0000 -------
(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.

------- Comment #15 From Jeroen Roovers 2008-11-05 04:45:17 0000 -------
*** Bug 245611 has been marked as a duplicate of this bug. ***

------- Comment #16 From Lubomir Christov 2009-01-31 17:00:43 0000 -------
Thanks Thomas,
also helped me to compile against x11-base/xorg-server-1.5.3-r1

------- Comment #17 From Rémi Cardona 2009-07-26 18:32:55 0000 -------
This driver will be removed from portage now that xf86-input-synatics is stable
on all supported arches.

Thanks

------- Comment #18 From Rémi Cardona 2009-08-13 13:41:49 0000 -------
Package is gone from portage.

Closing. Thanks

First Last Prev Next    No search results available      Search page      Enter new bug