Bug#664928: warmux: FTBFS: ./action/action.cpp:88:18: error: reinterpret_cast from type 'const char*' to type 'Uint32* {aka unsigned int*}' casts away qualifiers

Lucas Nussbaum lucas at lucas-nussbaum.net
Wed Mar 21 20:34:49 UTC 2012


Source: warmux
Version: 1:11.04.1+repack-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120321 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> g++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../lib/warmux/include -I../../lib/fixedpoint  -Wall -Wextra -Wall -Wextra -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng12   -I/usr/include/libxml2   -I/usr/include/fribidi   -fno-rtti -fno-exceptions -c -o action.o `test -f './action/action.cpp' || echo './'`./action/action.cpp
> ./action/action.cpp: In constructor 'Action::Action(const char*, DistantComputer*)':
> ./action/action.cpp:88:18: error: reinterpret_cast from type 'const char*' to type 'Uint32* {aka unsigned int*}' casts away qualifiers
> make[4]: *** [action.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/03/21/warmux_11.04.1+repack-1.log

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.





More information about the Pkg-games-devel mailing list