Bug#624914: wesnoth-1.8: FTBFS: server/simple_wml.hpp:168:21: error: 'ptrdiff_t' has not been declared

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon May 2 12:39:38 UTC 2011


Source: wesnoth-1.8
Version: 1:1.8.5-1
Severity: serious
Tags: wheezy sid
User: debian-qa at 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:
> 	x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -I/usr/include/lua5.1   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12     -DHAVE_REVISION -I../intl -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DWESNOTH_PATH=\"/usr/share/games/wesnoth/1.8\" -DLOCALEDIR=\"/usr/share/games/wesnoth/1.8/locale\" -DHAS_RELATIVE_LOCALEDIR=0 -DFIFODIR=\"/var/run/wesnothd\" -DWESNOTH_PREFIX=\"/usr\" -O2 -W -Wall -ansi -g -O2 -DDISABLE_POOL_ALLOC  -DHAVE_FRIBIDI -I/usr/include/fribidi   -D_X11     -I/usr/include -MT server/metrics.o -MD -MP -MF $depbase.Tpo -c -o server/metrics.o server/metrics.cpp &&\
> 	mv -f $depbase.Tpo $depbase.Po
> In file included from server/metrics.hpp:28:0,
>                  from server/metrics.cpp:22:
> server/simple_wml.hpp:168:21: error: 'ptrdiff_t' has not been declared
> depbase=`echo server/player.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> 	x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -I/usr/include/lua5.1   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12     -DHAVE_REVISION -I../intl -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DWESNOTH_PATH=\"/usr/share/games/wesnoth/1.8\" -DLOCALEDIR=\"/usr/share/games/wesnoth/1.8/locale\" -DHAS_RELATIVE_LOCALEDIR=0 -DFIFODIR=\"/var/run/wesnothd\" -DWESNOTH_PREFIX=\"/usr\" -O2 -W -Wall -ansi -g -O2 -DDISABLE_POOL_ALLOC  -DHAVE_FRIBIDI -I/usr/include/fribidi   -D_X11     -I/usr/include -MT server/player.o -MD -MP -MF $depbase.Tpo -c -o server/player.o server/player.cpp &&\
> 	mv -f $depbase.Tpo $depbase.Po
> depbase=`echo server/player_network.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> 	x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -I/usr/include/lua5.1   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12     -DHAVE_REVISION -I../intl -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DWESNOTH_PATH=\"/usr/share/games/wesnoth/1.8\" -DLOCALEDIR=\"/usr/share/games/wesnoth/1.8/locale\" -DHAS_RELATIVE_LOCALEDIR=0 -DFIFODIR=\"/var/run/wesnothd\" -DWESNOTH_PREFIX=\"/usr\" -O2 -W -Wall -ansi -g -O2 -DDISABLE_POOL_ALLOC  -DHAVE_FRIBIDI -I/usr/include/fribidi   -D_X11     -I/usr/include -MT server/player_network.o -MD -MP -MF $depbase.Tpo -c -o server/player_network.o server/player_network.cpp &&\
> 	mv -f $depbase.Tpo $depbase.Po
> make[3]: *** [server/metrics.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/02/wesnoth-1.8_1:1.8.5-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 at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-games-devel mailing list