[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#624890: xserver-xorg-input-acecad: FTBFS: ../../src/acecad.h:105:42: error: expected ')' before 'int'



Source: xserver-xorg-input-acecad
Version: 1:1.4.0-4
Severity: serious
Tags: wheezy sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20110502 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> /bin/bash ../libtool --silent --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../src -I..    -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 -Wold-style-definition -Wdeclaration-after-statement  -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1   -g -O2 -c -o acecad.lo ../../src/acecad.c
> In file included from ../../src/acecad.c:93:0:
> ../../src/acecad.h:103:1: warning: parameter names (without types) in function declaration [enabled by default]
> ../../src/acecad.h:104:1: warning: parameter names (without types) in function declaration [enabled by default]
> ../../src/acecad.h:105:42: error: expected ')' before 'int'
> ../../src/acecad.h:106:49: error: expected ')' before 'int'
> ../../src/acecad.h:110:51: error: unknown type name 'IDevPtr'
> ../../src/acecad.h:112:1: warning: parameter names (without types) in function declaration [enabled by default]
> ../../src/acecad.h:113:1: warning: parameter names (without types) in function declaration [enabled by default]
> ../../src/acecad.h:116:48: error: expected ')' before 'int'
> ../../src/acecad.c:111:2: error: 'AceCadPreInit' undeclared here (not in a function)
> ../../src/acecad.c:216:20: error: unknown type name 'LocalDevicePtr'
> ../../src/acecad.c:330:35: error: unknown type name 'IDevPtr'
> ../../src/acecad.c: In function 'DeviceOn':
> ../../src/acecad.c:527:5: error: unknown type name 'LocalDevicePtr'
> ../../src/acecad.c:527:29: error: 'LocalDevicePtr' undeclared (first use in this function)
> ../../src/acecad.c:527:29: note: each undeclared identifier is reported only once for each function it appears in
> ../../src/acecad.c:527:45: error: expected ',' or ';' before 'dev'
> ../../src/acecad.c:528:54: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:530:51: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:532:10: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:532:37: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:533:14: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:535:74: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:535:107: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:538:9: warning: implicit declaration of function 'AceCadAutoDevProbe' [-Wimplicit-function-declaration]
> ../../src/acecad.c:538:9: warning: nested extern declaration of 'AceCadAutoDevProbe' [-Wnested-externs]
> ../../src/acecad.c:539:18: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:539:45: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:540:18: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:548:37: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:551:34: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:552:18: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:561:25: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:562:5: warning: passing argument 1 of 'xf86AddEnabledDevice' makes pointer from integer without a cast [enabled by default]
> /usr/include/xorg/xf86Xinput.h:152:23: note: expected 'InputInfoPtr' but argument is of type 'int'
> ../../src/acecad.c: In function 'DeviceOff':
> ../../src/acecad.c:570:5: error: unknown type name 'LocalDevicePtr'
> ../../src/acecad.c:570:29: error: 'LocalDevicePtr' undeclared (first use in this function)
> ../../src/acecad.c:570:45: error: expected ',' or ';' before 'dev'
> ../../src/acecad.c:571:54: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:573:52: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:575:14: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:577:35: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:583:30: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:587:5: warning: passing argument 1 of 'xf86RemoveEnabledDevice' makes pointer from integer without a cast [enabled by default]
> /usr/include/xorg/xf86Xinput.h:153:23: note: expected 'InputInfoPtr' but argument is of type 'int'
> ../../src/acecad.c: In function 'DeviceClose':
> ../../src/acecad.c:595:5: error: unknown type name 'LocalDevicePtr'
> ../../src/acecad.c:595:29: error: 'LocalDevicePtr' undeclared (first use in this function)
> ../../src/acecad.c:595:45: error: expected ',' or ';' before 'dev'
> ../../src/acecad.c:597:54: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c: In function 'ControlProc':
> ../../src/acecad.c:605:5: error: unknown type name 'LocalDevicePtr'
> ../../src/acecad.c:605:29: error: 'LocalDevicePtr' undeclared (first use in this function)
> ../../src/acecad.c:605:45: error: expected ',' or ';' before 'dev'
> ../../src/acecad.c:607:54: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c: In function 'DeviceInit':
> ../../src/acecad.c:614:5: error: unknown type name 'LocalDevicePtr'
> ../../src/acecad.c:614:29: error: 'LocalDevicePtr' undeclared (first use in this function)
> ../../src/acecad.c:614:45: error: expected ',' or ';' before 'dev'
> ../../src/acecad.c:615:54: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:638:46: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:647:83: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:653:82: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:658:68: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:671:22: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:675:85: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:694:17: error: too few arguments to function 'InitValuatorAxisStruct'
> /usr/include/xorg/exevents.h:43:23: note: declared here
> ../../src/acecad.c:708:17: error: too few arguments to function 'InitValuatorAxisStruct'
> /usr/include/xorg/exevents.h:43:23: note: declared here
> ../../src/acecad.c:718:17: error: too few arguments to function 'InitValuatorAxisStruct'
> /usr/include/xorg/exevents.h:43:23: note: declared here
> ../../src/acecad.c:724:86: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c:728:5: warning: passing argument 1 of 'xf86MotionHistoryAllocate' makes pointer from integer without a cast [enabled by default]
> /usr/include/xorg/xf86Xinput.h:166:23: note: expected 'InputInfoPtr' but argument is of type 'int'
> ../../src/acecad.c:749:48: error: invalid type argument of '->' (have 'int')
> ../../src/acecad.c: At top level:
> ../../src/acecad.c:755:12: error: unknown type name 'LocalDevicePtr'
> ../../src/acecad.c:857:15: error: unknown type name 'LocalDevicePtr'
> ../../src/acecad.c:1012:12: error: unknown type name 'LocalDevicePtr'
> ../../src/acecad.c:1022:14: error: unknown type name 'LocalDevicePtr'
> ../../src/acecad.c:1039:21: error: unknown type name 'LocalDevicePtr'
> ../../src/acecad.c:1105:19: error: unknown type name 'LocalDevicePtr'
> ../../src/acecad.c:497:1: warning: 'DeviceControl' defined but not used [-Wunused-function]
> ../../src/acecad.h:103:13: warning: 'ReadInput' declared 'static' but never defined [-Wunused-function]
> ../../src/acecad.h:104:13: warning: 'CloseProc' declared 'static' but never defined [-Wunused-function]
> ../../src/acecad.c:1059:1: warning: 'QueryHardware' defined but not used [-Wunused-function]
> ../../src/acecad.h:112:13: warning: 'USBReadInput' declared 'static' but never defined [-Wunused-function]
> ../../src/acecad.h:113:13: warning: 'USBQueryHardware' declared 'static' but never defined [-Wunused-function]
> ../../src/acecad.c:171:1: warning: 'IsUSBLine' defined but not used [-Wunused-function]
> ../../src/acecad.c:196:1: warning: 'fd_query_acecad' defined but not used [-Wunused-function]
> ../../src/acecad.c:157:20: warning: 'default_options' defined but not used [-Wunused-variable]
> ../../src/acecad.c:208:13: warning: 'ace_name_default' defined but not used [-Wunused-variable]
> make[3]: *** [acecad.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/02/xserver-xorg-input-acecad_1:1.4.0-4_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |



Reply to: