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

Bug#569379: xserver-xorg-input-citron: FTBFS: ../../src/citron.c:1357: error: too few arguments to function 'InitButtonClassDeviceStruct'



Source: xserver-xorg-input-citron
Version: 1:2.2.2-1
Severity: serious
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20100211 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> make[3]: Entering directory `/build/user-xserver-xorg-input-citron_2.2.2-1-amd64-mx578A/xserver-xorg-input-citron-2.2.2/obj-x86_64-linux-gnu/src'
>   CC     citron.lo
> ../../src/citron.c: In function 'xf86CitronPrint':
> ../../src/citron.c:669: warning: format '%08lX' expects type 'long unsigned int', but argument 4 has type 'Mask'
> ../../src/citron.c: In function 'cit_StartTimer':
> ../../src/citron.c:789: warning: cast from pointer to integer of different size
> ../../src/citron.c: In function 'cit_CloseTimer':
> ../../src/citron.c:800: warning: cast from pointer to integer of different size
> ../../src/citron.c: In function 'cit_SuperVisionTimer':
> ../../src/citron.c:821: warning: format '%ld' expects type 'long int', but argument 3 has type 'CARD32'
> ../../src/citron.c: In function 'CitronPreInit':
> ../../src/citron.c:879: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
> ../../src/citron.c: In function 'DeviceInit':
> ../../src/citron.c:1357: warning: passing argument 3 of 'InitButtonClassDeviceStruct' from incompatible pointer type
> /usr/include/xorg/input.h:274: note: expected 'Atom *' but argument is of type 'unsigned char *'
> ../../src/citron.c:1357: error: too few arguments to function 'InitButtonClassDeviceStruct'
> ../../src/citron.c:1375: warning: passing argument 3 of 'InitValuatorClassDeviceStruct' makes pointer from integer without a cast
> /usr/include/xorg/input.h:280: note: expected 'Atom *' but argument is of type 'unsigned int'
> ../../src/citron.c:1375: error: too few arguments to function 'InitValuatorClassDeviceStruct'
> ../../src/citron.c:1387: error: too few arguments to function 'InitValuatorAxisStruct'
> ../../src/citron.c:1393: error: too few arguments to function 'InitValuatorAxisStruct'
> ../../src/citron.c:1402: warning: implicit declaration of function 'InitKeyClassDeviceStruct'
> ../../src/citron.c:1402: warning: nested extern declaration of 'InitKeyClassDeviceStruct'
> make[3]: *** [citron.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010/02/11/xserver-xorg-input-citron_1:2.2.2-1_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: