Bug#640192: supertux: FTBFS with gcc-4.6

Ilya Barygin barygin at gmail.com
Sat Sep 3 10:12:30 UTC 2011


Package: supertux
Version: 0.3.3-2
Severity: serious
Tags: patch upstream
Justification: fails to build from source (but built successfully in the past)
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.6

The package failed to build with gcc-4.6 in Ubuntu Oneiric environment.
The error is:

[ 13%] Building CXX object CMakeFiles/supertux2.dir/src/supertux/screen_manager.cpp.o
/usr/bin/c++    -g -O2  -I/usr/include/SDL -I/usr/include/GL -I/usr/include/AL -I/build/buildd/supertux-0.3.3/obj-i686-linux-gnu -I/build/buildd/supertux-0.3.3/src -I/build/buildd/supertux-0.3.3/external/squirrel/include -I/build/buildd/supertux-0.3.3/external/tinygettext -I/build/buildd/supertux-0.3.3/external/findlocale -I/build/buildd/supertux-0.3.3/external/obstack -I/build/buildd/supertux-0.3.3/external/binreloc    -Wall -Wextra -funit-at-a-time -fno-strict-aliasing -o CMakeFiles/supertux2.dir/src/supertux/screen_manager.cpp.o -c /build/buildd/supertux-0.3.3/src/supertux/screen_manager.cpp
In file included from /build/buildd/supertux-0.3.3/src/supertux/screen_manager.cpp:17:0:
/build/buildd/supertux-0.3.3/src/supertux/screen_manager.hpp:39:39: error: 'NULL' was not declared in this scope
/build/buildd/supertux-0.3.3/src/supertux/screen_manager.hpp:40:32: error: 'NULL' was not declared in this scope
/build/buildd/supertux-0.3.3/src/supertux/screen_manager.hpp:51:55: error: 'NULL' was not declared in this scope
/build/buildd/supertux-0.3.3/src/supertux/screen_manager.cpp: In member function 'void ScreenManager::process_events()':
/build/buildd/supertux-0.3.3/src/supertux/screen_manager.cpp:205:14: error: the default argument for parameter 0 of 'void ScreenManager::quit(ScreenFade*)' has not yet been parsed
make[3]: *** [CMakeFiles/supertux2.dir/src/supertux/screen_manager.cpp.o] Error 1

Link to build log:
https://launchpadlibrarian.net/78123246/buildlog_ubuntu-oneiric-i386.supertux_0.3.3-2_FAILEDTOBUILD.txt.gz

Patch is attached. It was used in Ubuntu:
https://launchpad.net/ubuntu/+source/supertux/0.3.3-2ubuntu1

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric
  APT policy: (500, 'oneiric')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-11-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-4.6.patch
Type: text/x-c
Size: 402 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20110903/e97d037a/attachment-0001.bin>


More information about the Pkg-games-devel mailing list