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

Bug#391371: xserver-xorg-input-void: FTBFS: conflicting types for xf86ssize_t



Package: xserver-xorg-input-void
Version: 1:1.0.0.5-2
Severity: serious

From my pbuilder build log:

...
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -I..     -Wall -g -O2 -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg    -I../../src -MT void.lo -MD -MP -MF ".deps/void.Tpo" \
          -c -o void.lo `test -f '../../src/void.c' || echo '../../src/'`../../src/void.c; \
        then mv -f ".deps/void.Tpo" ".deps/void.Plo"; \
        else rm -f ".deps/void.Tpo"; exit 1; \
        fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -Wall -g -O2 -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -I/usr/include/xorg -I../../src -MT void.lo -MD -MP -MF .deps/void.Tpo -c ../../src/void.c  -fPIC -DPIC -o .libs/void.o
../../src/void.c:41:1: warning: "NEED_XF86_TYPES" redefined
In file included from ../config.h:4,
                 from ../../src/void.c:31:
/usr/include/xorg/xorg-server.h:75:1: warning: this is the location of the previous definition
In file included from /usr/include/xorg/xisb.h:32,
                 from ../../src/void.c:44:
/usr/include/unistd.h:189: error: conflicting types for 'xf86ssize_t'
/usr/include/xorg/xf86_libc.h:86: error: previous declaration of 'xf86ssize_t' was here
In file included from /usr/include/xorg/xisb.h:32,
                 from ../../src/void.c:44:
/usr/include/unistd.h:312: error: conflicting types for 'xf86read'
/usr/include/xorg/xf86_ansic.h:273: error: previous declaration of 'xf86read' was here
/usr/include/unistd.h:318: error: conflicting types for 'xf86write'
/usr/include/xorg/xf86_ansic.h:274: error: previous declaration of 'xf86write' was here
/usr/include/unistd.h:405: error: conflicting types for 'xf86usleep'
/usr/include/xorg/xf86_ansic.h:345: error: previous declaration of 'xf86usleep' was here
In file included from /usr/include/xorg/xisb.h:32,
                 from ../../src/void.c:44:
/usr/include/unistd.h:884:29: error: macro "getpagesize" passed 1 arguments, but takes just 0
make[3]: *** [void.lo] Error 1
make[3]: Leaving directory `/tmp/buildd/xserver-xorg-input-void-1.0.0.5/obj-i486-linux-gnu/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/buildd/xserver-xorg-input-void-1.0.0.5/obj-i486-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/xserver-xorg-input-void-1.0.0.5/obj-i486-linux-gnu'
make: *** [build-stamp] Error 2

The same also happens in several other xserver-xorg-input-* packages,
including at least: elo2300, joystick, magellan, microtouch, penmount,
spaceorb, summa, tek4957; but others build just fine.  If this is actually
a bug in another package like xserver-xorg-dev, feel free to reassign.
-- 
Daniel Schepler



Reply to: