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

Bug#624974: xserver-xorg-input-aiptek: FTBFS: ../../src/xf86Aiptek.h:362:5: error: unknown type name 'LocalDevicePtr'



Source: xserver-xorg-input-aiptek
Version: 1:1.3.1-2
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..    -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1   -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  -g -O2 -c -o xf86Aiptek.lo ../../src/xf86Aiptek.c
> In file included from ../../src/xf86Aiptek.c:120:0:
> ../../src/xf86Aiptek.h:362:5: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.h:364:5: warning: parameter names (without types) in function declaration [enabled by default]
> ../../src/xf86Aiptek.h:367:52: error: unknown type name 'IDevPtr'
> ../../src/xf86Aiptek.h:368:46: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.h:369:1: warning: parameter names (without types) in function declaration [enabled by default]
> ../../src/xf86Aiptek.h:370:1: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.h:371:1: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.h:372:1: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:140:5: error: 'xf86AiptekInit' undeclared here (not in a function)
> ../../src/xf86Aiptek.c:141:5: error: 'xf86AiptekUninit' undeclared here (not in a function)
> ../../src/xf86Aiptek.c:213:19: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:304:26: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:344:22: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:534:24: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:1019:19: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:1126:16: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c: In function 'xf86AiptekOpenDevice':
> ../../src/xf86Aiptek.c:1170:5: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:1170:33: error: 'LocalDevicePtr' undeclared (first use in this function)
> ../../src/xf86Aiptek.c:1170:33: note: each undeclared identifier is reported only once for each function it appears in
> ../../src/xf86Aiptek.c:1170:48: error: expected ',' or ';' before 'pDriver'
> ../../src/xf86Aiptek.c:1171:5: warning: implicit declaration of function 'XI_PRIVATE' [-Wimplicit-function-declaration]
> ../../src/xf86Aiptek.c:1171:5: warning: nested extern declaration of 'XI_PRIVATE' [-Wnested-externs]
> ../../src/xf86Aiptek.c:1171:32: warning: cast from function call of type 'int' to non-matching type 'struct <anonymous> *' [-Wbad-function-cast]
> ../../src/xf86Aiptek.c:1171:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> ../../src/xf86Aiptek.c:1177:5: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1179:14: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1186:26: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1188:21: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1190:22: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1198:46: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1198:58: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1513:16: error: too few arguments to function 'InitValuatorAxisStruct'
> /usr/include/xorg/exevents.h:43:23: note: declared here
> ../../src/xf86Aiptek.c:1524:16: error: too few arguments to function 'InitValuatorAxisStruct'
> /usr/include/xorg/exevents.h:43:23: note: declared here
> ../../src/xf86Aiptek.c:1535:16: error: too few arguments to function 'InitValuatorAxisStruct'
> /usr/include/xorg/exevents.h:43:23: note: declared here
> ../../src/xf86Aiptek.c:1546:16: error: too few arguments to function 'InitValuatorAxisStruct'
> /usr/include/xorg/exevents.h:43:23: note: declared here
> ../../src/xf86Aiptek.c:1557:16: error: too few arguments to function 'InitValuatorAxisStruct'
> /usr/include/xorg/exevents.h:43:23: note: declared here
> ../../src/xf86Aiptek.c:1564:18: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1174:32: warning: variable 'yFactor' set but not used [-Wunused-but-set-variable]
> ../../src/xf86Aiptek.c:1174:23: warning: variable 'xFactor' set but not used [-Wunused-but-set-variable]
> ../../src/xf86Aiptek.c: In function 'xf86AiptekProc':
> ../../src/xf86Aiptek.c:1596:5: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:1596:31: error: 'LocalDevicePtr' undeclared (first use in this function)
> ../../src/xf86Aiptek.c:1596:46: error: expected ',' or ';' before 'pAiptek'
> ../../src/xf86Aiptek.c:1597:30: warning: cast from function call of type 'int' to non-matching type 'struct <anonymous> *' [-Wbad-function-cast]
> ../../src/xf86Aiptek.c:1597:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> ../../src/xf86Aiptek.c:1685:25: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1694:13: 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/xf86Aiptek.c:1705:23: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1712:13: 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/xf86Aiptek.c:1720:22: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1722:17: 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/xf86Aiptek.c: At top level:
> ../../src/xf86Aiptek.c:1752:17: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:1771:25: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c: In function 'xf86AiptekSwitchMode':
> ../../src/xf86Aiptek.c:1809:5: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:1809:31: error: 'LocalDevicePtr' undeclared (first use in this function)
> ../../src/xf86Aiptek.c:1809:46: error: expected ',' or ';' before 'dev'
> ../../src/xf86Aiptek.c:1810:53: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c: At top level:
> ../../src/xf86Aiptek.c:1845:1: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c: In function 'xf86AiptekAllocate':
> ../../src/xf86Aiptek.c:1848:5: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:1849:5: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:1855:5: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:222) [-Wdeprecated-declarations]
> ../../src/xf86Aiptek.c:1859:9: warning: return makes integer from pointer without a cast [enabled by default]
> ../../src/xf86Aiptek.c:1862:5: warning: 'Xalloc' is deprecated (declared at /usr/include/xorg/os.h:222) [-Wdeprecated-declarations]
> ../../src/xf86Aiptek.c:1866:9: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:235) [-Wdeprecated-declarations]
> ../../src/xf86Aiptek.c:1867:9: warning: return makes integer from pointer without a cast [enabled by default]
> ../../src/xf86Aiptek.c:1870:20: error: 'LocalDevicePtr' undeclared (first use in this function)
> ../../src/xf86Aiptek.c:1870:35: error: expected expression before ')' token
> ../../src/xf86Aiptek.c:1874:9: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:235) [-Wdeprecated-declarations]
> ../../src/xf86Aiptek.c:1875:9: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:235) [-Wdeprecated-declarations]
> ../../src/xf86Aiptek.c:1876:9: warning: return makes integer from pointer without a cast [enabled by default]
> ../../src/xf86Aiptek.c:1880:5: error: too many arguments to function 'xf86AllocateInput'
> /usr/include/xorg/xf86Xinput.h:158:14: note: declared here
> ../../src/xf86Aiptek.c:1880:11: warning: assignment makes integer from pointer without a cast [enabled by default]
> ../../src/xf86Aiptek.c:1884:9: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:235) [-Wdeprecated-declarations]
> ../../src/xf86Aiptek.c:1885:9: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:235) [-Wdeprecated-declarations]
> ../../src/xf86Aiptek.c:1886:9: warning: 'Xfree' is deprecated (declared at /usr/include/xorg/os.h:235) [-Wdeprecated-declarations]
> ../../src/xf86Aiptek.c:1887:9: warning: return makes integer from pointer without a cast [enabled by default]
> ../../src/xf86Aiptek.c:1890:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1891:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1892:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1893:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1894:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1894:41: error: 'xf86AiptekHIDReadInput' undeclared (first use in this function)
> ../../src/xf86Aiptek.c:1895:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1895:41: error: 'xf86AiptekChangeControl' undeclared (first use in this function)
> ../../src/xf86Aiptek.c:1896:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1897:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1898:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1898:41: error: 'xf86AiptekConvert' undeclared (first use in this function)
> ../../src/xf86Aiptek.c:1899:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1899:41: error: 'xf86AiptekReverseConvert' undeclared (first use in this function)
> ../../src/xf86Aiptek.c:1901:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1902:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1903:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1904:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1905:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1906:10: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c:1972:29: error: 'xf86AiptekOpen' undeclared (first use in this function)
> ../../src/xf86Aiptek.c: At top level:
> ../../src/xf86Aiptek.c:1981:1: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c: In function 'xf86AiptekAllocateStylus':
> ../../src/xf86Aiptek.c:1983:5: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:1987:14: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c: At top level:
> ../../src/xf86Aiptek.c:1996:1: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c: In function 'xf86AiptekAllocateCursor':
> ../../src/xf86Aiptek.c:1998:5: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:2002:14: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c: At top level:
> ../../src/xf86Aiptek.c:2011:1: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c: In function 'xf86AiptekAllocateEraser':
> ../../src/xf86Aiptek.c:2013:5: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:2018:14: error: invalid type argument of '->' (have 'int')
> ../../src/xf86Aiptek.c: At top level:
> ../../src/xf86Aiptek.c:2026:1: error: unknown type name 'DeviceAssocRec'
> ../../src/xf86Aiptek.c:2028:5: warning: initialization makes integer from pointer without a cast [enabled by default]
> ../../src/xf86Aiptek.c:2028:5: warning: (near initialization for 'aiptek_stylus_assoc') [enabled by default]
> ../../src/xf86Aiptek.c:2028:5: error: initializer element is not computable at load time
> ../../src/xf86Aiptek.c:2028:5: error: (near initialization for 'aiptek_stylus_assoc')
> ../../src/xf86Aiptek.c:2030:1: warning: excess elements in scalar initializer [enabled by default]
> ../../src/xf86Aiptek.c:2030:1: warning: (near initialization for 'aiptek_stylus_assoc') [enabled by default]
> ../../src/xf86Aiptek.c:2035:1: error: unknown type name 'DeviceAssocRec'
> ../../src/xf86Aiptek.c:2037:5: warning: initialization makes integer from pointer without a cast [enabled by default]
> ../../src/xf86Aiptek.c:2037:5: warning: (near initialization for 'aiptek_cursor_assoc') [enabled by default]
> ../../src/xf86Aiptek.c:2037:5: error: initializer element is not computable at load time
> ../../src/xf86Aiptek.c:2037:5: error: (near initialization for 'aiptek_cursor_assoc')
> ../../src/xf86Aiptek.c:2039:1: warning: excess elements in scalar initializer [enabled by default]
> ../../src/xf86Aiptek.c:2039:1: warning: (near initialization for 'aiptek_cursor_assoc') [enabled by default]
> ../../src/xf86Aiptek.c:2044:1: error: unknown type name 'DeviceAssocRec'
> ../../src/xf86Aiptek.c:2046:5: warning: initialization makes integer from pointer without a cast [enabled by default]
> ../../src/xf86Aiptek.c:2046:5: warning: (near initialization for 'aiptek_eraser_assoc') [enabled by default]
> ../../src/xf86Aiptek.c:2046:5: error: initializer element is not computable at load time
> ../../src/xf86Aiptek.c:2046:5: error: (near initialization for 'aiptek_eraser_assoc')
> ../../src/xf86Aiptek.c:2048:1: warning: excess elements in scalar initializer [enabled by default]
> ../../src/xf86Aiptek.c:2048:1: warning: (near initialization for 'aiptek_eraser_assoc') [enabled by default]
> ../../src/xf86Aiptek.c:2057:18: error: unknown type name 'LocalDevicePtr'
> ../../src/xf86Aiptek.c:2083:16: error: unknown type name 'IDevPtr'
> ../../src/xf86Aiptek.h:369:13: warning: 'xf86AiptekClose' used but never defined [enabled by default]
> ../../src/xf86Aiptek.c:158:12: warning: 'linux_inputDevice_keyMap' defined but not used [-Wunused-variable]
> ../../src/xf86Aiptek.c:195:20: warning: 'default_options' defined but not used [-Wunused-variable]
> ../../src/xf86Aiptek.c:1571:1: warning: 'xf86AiptekBellCallback' defined but not used [-Wunused-function]
> ../../src/xf86Aiptek.c:1579:1: warning: 'xf86AiptekKbdCtrlCallback' defined but not used [-Wunused-function]
> make[3]: *** [xf86Aiptek.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/02/xserver-xorg-input-aiptek_1:1.3.1-2_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: