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

Bug#624973: xserver-xorg-input-joystick: FTBFS: ../../src/jstk.h:120:5: error: unknown type name 'LocalDevicePtr'



Source: xserver-xorg-input-joystick
Version: 1:1.5.0-7
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 --tag=CC   --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../src -I.. -I../../include/   -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 jstk.lo ../../src/jstk.c
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../src -I.. -I../../include/ -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 ../../src/jstk.c  -fPIC -DPIC -o .libs/jstk.o
> In file included from ../../src/jstk.c:42:0:
> ../../src/jstk.h:120:5: error: unknown type name 'LocalDevicePtr'
> In file included from ../../src/jstk.c:43:0:
> ../../src/jstk_axis.h:27:25: error: unknown type name 'LocalDevicePtr'
> ../../src/jstk_axis.h:28:31: error: unknown type name 'LocalDevicePtr'
> ../../src/jstk_axis.h:29:29: error: unknown type name 'LocalDevicePtr'
> ../../src/jstk_axis.h:30:24: error: unknown type name 'LocalDevicePtr'
> In file included from ../../src/jstk.c:44:0:
> ../../src/jstk_key.h:28:23: error: unknown type name 'LocalDevicePtr'
> ../../src/jstk_key.h:30:54: error: unknown type name 'IDevPtr'
> ../../src/jstk_key.h:31:45: error: unknown type name 'LocalDevicePtr'
> ../../src/jstk.c:78:17: error: unknown type name 'LocalDevicePtr'
> ../../src/jstk.c:150:14: error: unknown type name 'LocalDevicePtr'
> ../../src/jstk.c: In function 'jstkDeviceControlProc':
> ../../src/jstk.c:330:5: error: unknown type name 'LocalDevicePtr'
> ../../src/jstk.c:330:31: error: 'LocalDevicePtr' undeclared (first use in this function)
> ../../src/jstk.c:330:31: note: each undeclared identifier is reported only once for each function it appears in
> ../../src/jstk.c:330:46: error: expected ',' or ';' before 'pJstk'
> ../../src/jstk.c:331:5: warning: implicit declaration of function 'XI_PRIVATE' [-Wimplicit-function-declaration]
> ../../src/jstk.c:331:5: warning: nested extern declaration of 'XI_PRIVATE' [-Wnested-externs]
> ../../src/jstk.c:331:30: warning: cast from function call of type 'int' to non-matching type 'struct _JoystickDevRec *' [-Wbad-function-cast]
> ../../src/jstk.c:331:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> ../../src/jstk.c:384:48: error: invalid type argument of '->' (have 'int')
> ../../src/jstk.c:398:36: error: too few arguments to function 'InitValuatorAxisStruct'
> /usr/include/xorg/exevents.h:43:23: note: declared here
> ../../src/jstk.c:408:36: error: too few arguments to function 'InitValuatorAxisStruct'
> /usr/include/xorg/exevents.h:43:23: note: declared here
> ../../src/jstk.c:421:40: error: too few arguments to function 'InitValuatorAxisStruct'
> /usr/include/xorg/exevents.h:43:23: note: declared here
> ../../src/jstk.c:424: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/jstk.c:428:35: warning: comparison between pointer and integer [enabled by default]
> ../../src/jstk.c:431:13: warning: implicit declaration of function 'xf86ActivateDevice' [-Wimplicit-function-declaration]
> ../../src/jstk.c:431:13: warning: nested extern declaration of 'xf86ActivateDevice' [-Wnested-externs]
> ../../src/jstk.c:432:34: error: invalid type argument of '->' (have 'int')
> ../../src/jstk.c:433:39: error: invalid type argument of '->' (have 'int')
> ../../src/jstk.c:433:77: error: invalid type argument of '->' (have 'int')
> ../../src/jstk.c:434:51: error: invalid type argument of '->' (have 'int')
> ../../src/jstk.c:451:18: error: invalid type argument of '->' (have 'int')
> ../../src/jstk.c:452:35: error: invalid type argument of '->' (have 'int')
> ../../src/jstk.c:474:18: error: invalid type argument of '->' (have 'int')
> ../../src/jstk.c:475:38: error: invalid type argument of '->' (have 'int')
> ../../src/jstk.c:476:14: error: invalid type argument of '->' (have 'int')
> ../../src/jstk.c: At top level:
> ../../src/jstk.c:497:5: error: 'jstkKeyboardPreInit' undeclared here (not in a function)
> ../../src/jstk.c:498:5: error: 'jstkKeyboardUnInit' undeclared here (not in a function)
> ../../src/jstk.c:514:37: error: unknown type name 'IDevPtr'
> ../../src/jstk.c:745:16: error: unknown type name 'LocalDevicePtr'
> ../../src/jstk.c:768:5: error: 'jstkCorePreInit' undeclared here (not in a function)
> ../../src/jstk.c:769:5: error: 'jstkCoreUnInit' undeclared here (not in a function)
> ../../src/jstk.c:326:1: warning: 'jstkDeviceControlProc' defined but not used [-Wunused-function]
> make[3]: *** [jstk.lo] Error 1

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