On Mon, Sep 17, 2007 at 02:46:32PM +0200, Bas Wijnen wrote: > Package: hex-a-hop > Version: 0.0.20070315-5 > Severity: Serious > Justification: FTBFS > > The package fails to build on m68k, see > http://buildd.debian.org/fetch.cgi?&pkg=hex-a-hop&ver=0.0.20070315-5&arch=m68k&stamp=1189827580&file=log > > g++ -Wall -W -g -DUSE_GETTEXT -O2 -D_VERSION=\"1.0.0\" > -DDATA_DIR=\"/usr/share/games/hex-a-hop\" `sdl-config --cflags` -c -o > hex_puzzzle.o hex_puzzzle.cpp > packfile.h:57: error: size of array 'static_assert1' is negative > http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel
Oops, I explitely added this test and now I wonder whether I should be happy that this error was found or not :-) I do not have access to a m68k machine. Bas, could you please provide the output of typeof(Entry), where Entry is defined in packfile.h? If it is smaller as 8 I can probably add some dummy data the other way is probably a little bit more difficult (how to change the alignment of data?). The problem is that hex-a-hop reads a char data stream and interprets it as an array of type Entry. I knew that this could cause trouble so I added the assert test. Is the build machine a 64 bit system? Jens -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

