Bug#463741: FTBFS with GCC 4.3: missing #includes

2008-02-02 Thread Martin Michlmayr
Package: adanaxisgpl
Version: 1.2.2-1
Severity: important
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

 Automatic build of adanaxisgpl_1.2.2-1 on em64t by sbuild/amd64 0.53
...
 mv -f .deps/MushcoreFail.Tpo .deps/MushcoreFail.Po
 x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..   
 -DMUSH_DATA_DIR=\/usr/share/games\ -I/usr/include/SDL -D_GNU_SOURCE=1 
 -D_REENTRANT -I. -I./API -DNDEBUG  -I./Platform/X11  -g -O2 -MT 
 MushcoreBison.o -MD -MP -MF .deps/MushcoreBison.Tpo -c -o MushcoreBison.o 
 `test -f 'Mushcore/MushcoreBison.cpp' || echo './'`Mushcore/MushcoreBison.cpp
 Mushcore/MushcoreBison.cpp: In function 'int MushcoreBison_parse(void*)':
 Mushcore/MushcoreBison.cpp:621: warning: deprecated conversion from string 
 constant to 'char*'
 Mushcore/MushcoreBison.cpp:926: error: 'strlen' was not declared in this scope
 Mushcore/MushcoreBison.cpp:930: error: 'strcpy' was not declared in this scope
 Mushcore/MushcoreBison.cpp:939: error: 'strcat' was not declared in this scope
 Mushcore/MushcoreBison.cpp:949: warning: deprecated conversion from string 
 constant to 'char*'
 Mushcore/MushcoreBison.cpp:953: warning: deprecated conversion from string 
 constant to 'char*'
 make[3]: *** [MushcoreBison.o] Error 1
 make[3]: Leaving directory `/build/tbm/adanaxisgpl-1.2.2/src'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/build/tbm/adanaxisgpl-1.2.2'
 make[1]: *** [all] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#417187: Log for failed build of fillets-ng_0.8.0-1 (dist=unstable1)

2008-01-26 Thread Martin Michlmayr
found 417187 0.8.0-1
thanks

Unfortunately, some more headers got cleaned up after I reported my
original bug report with patch.  The good news is that there won't be
any further changes from the side of GCC, so please compile your
package with gcc-4.3 or gcc-snapshot from unstable to see what
remaining issues there are.  Thanks.

 Automatic build of fillets-ng_0.8.0-1 on em64t by sbuild/amd64 0.53
...
 if x86_64-linux-gnu-g++ -DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ 
 -DPACKAGE_VERSION=\\ -DPACKAGE_STRING=\\ -DPACKAGE_BUGREPORT=\\ 
 -DPACKAGE=\fillets-ng\ -DVERSION=\0.8.0\ -DHAVE_X11=1 -I. -I. 
 -I../../src/gengine -I../../src/effect -I../../src/widget -I../../src/plan 
 -I../../src/option -I../../src/state -I../../src/SDL_gfx -I/usr/include/SDL 
 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/lua50  -g -O2 -Wall -W 
 -Wpointer-arith -Wcast-qual -Wcast-align -Woverloaded-virtual -Wconversion 
 -Wshadow -MT Landslip.o -MD -MP -MF .deps/Landslip.Tpo -c -o Landslip.o 
 Landslip.cpp; \
   then mv -f .deps/Landslip.Tpo .deps/Landslip.Po; else rm -f 
 .deps/Landslip.Tpo; exit 1; fi
 In file included from Landslip.h:6,
  from Landslip.cpp:9:
 ModelList.h: In member function 'int ModelList::size() const':
 ModelList.h:19: warning: conversion to 'int' from 'size_t' may alter its value
 Landslip.cpp: In constructor 'Landslip::Landslip(const ModelList)':
 Landslip.cpp:20: error: 'memset' was not declared in this scope
 make[3]: *** [Landslip.o] Error 1
 make[3]: Leaving directory `/build/tbm/fillets-ng-0.8.0/src/level'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/build/tbm/fillets-ng-0.8.0/src'

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#462566: FTBFS with GCC 4.3: type qualifiers ignored on function return type

2008-01-25 Thread Martin Michlmayr
Package: wormux
Version: 0.8beta4-1
Severity: important
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

 Automatic build of wormux_0.8beta4-1 on em64t by sbuild/amd64 0.53
...
 Execute make to compile then execute make install to install...
 /usr/bin/make -C . 
 make[1]: Entering directory `/build/tbm/wormux-0.8beta4'
 Making all in data
 make[2]: Entering directory `/build/tbm/wormux-0.8beta4/data'
 make[2]: Nothing to be done for `all'.
 make[2]: Leaving directory `/build/tbm/wormux-0.8beta4/data'
 Making all in src
 make[2]: Entering directory `/build/tbm/wormux-0.8beta4/src'
 /usr/bin/make  all-recursive
 make[3]: Entering directory `/build/tbm/wormux-0.8beta4/src'
 Making all in .
 make[4]: Entering directory `/build/tbm/wormux-0.8beta4/src'
 g++ -DHAVE_CONFIG_H -I.   -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I 
 ../src -DINSTALL_DATADIR=\/usr/share/games/wormux\ 
 -DINSTALL_LOCALEDIR=\/usr/share/locale\ 
 -DFONT_FILE=\/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf\ 
 -DPACKAGE_VERSION=\0.8beta4\  -Werror -Wall -Wextra -O2 -I/usr/include/SDL 
 -D_GNU_SOURCE=1 -D_REENTRANT -DPNG_NO_MMX_CODE -I/usr/include/libpng12   
 -I/usr/include/libxml++-2.6 -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 
 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 
 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 
 -I/usr/lib/glib-2.0/include-DPNG_NO_MMX_CODE -I/usr/include/libpng12   -c 
 -o ai_engine.o `test -f 'ai/ai_engine.cpp' || echo './'`ai/ai_engine.cpp
 cc1plus: warnings being treated as errors
 In file included from ./tool/error.h:55,
  from ./include/base.h:62,
  from ./ai/ai_movement_module.h:24,
  from ./ai/ai_engine_stupid.h:24,
  from ai/ai_engine.cpp:25:
 ./network/network.h:80: error: type qualifiers ignored on function return type
 ./network/network.h:130: error: type qualifiers ignored on function return 
 type
 ./network/network.h:131: error: type qualifiers ignored on function return 
 type
 ./network/network.h:132: error: type qualifiers ignored on function return 
 type
 ./network/network.h:133: error: type qualifiers ignored on function return 
 type
 ./network/network.h:149: error: type qualifiers ignored on function return 
 type
 In file included from ./tool/point.h:28,
  from ./ai/ai_movement_module.h:25,
  from ./ai/ai_engine_stupid.h:24,
  from ai/ai_engine.cpp:25:
 ./tool/vector2.h: In member function 'double Vector2T::ComputeAngle() 
 const':
 ./tool/vector2.h:388: error: suggest explicit braces to avoid ambiguous 'else'
 In file included from ./object/physical_obj.h:30,
  from ./character/character.h:28,
  from ai/ai_engine.cpp:26:
 ./object/physics.h: At global scope:
 ./object/physics.h:86: error: type qualifiers ignored on function return type
 ./object/physics.h:89: error: type qualifiers ignored on function return type
 ./object/physics.h:92: error: type qualifiers ignored on function return type
 ./object/physics.h:95: error: type qualifiers ignored on function return type
 ./object/physics.h:98: error: type qualifiers ignored on function return type
 In file included from ./team/team.h:31,
  from ai/ai_engine.cpp:28:
 ./weapon/weapon.h:302: error: type qualifiers ignored on function return type
 make[4]: *** [ai_engine.o] Error 1
 make[4]: Leaving directory `/build/tbm/wormux-0.8beta4/src'

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#462379: FTBFS with GCC 4.3: missing #includes

2008-01-24 Thread Martin Michlmayr
Package: ogre
Version: 1.4.5-3
Severity: important
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

 Automatic build of ogre_1.4.5-3 on em64t by sbuild/amd64 0.53
...
 mkdir .libs
  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../../OgreMain/include 
 -DYY_NEVER_INTERACTIVE -DYY_NO_UNPUT -I../../../../RenderSystems/GL/include 
 -I../../../../OgreMain/include -I../../../../PlatformManagers/GLX/include 
 -fvisibility=hidden -fvisibility-inlines-hidden -DOGRE_GCC_VISIBILITY -g -O2 
 -fPIC -MT nvparse.lo -MD -MP -MF .deps/nvparse.Tpo -c nvparse.cpp  -fPIC 
 -DPIC -o .libs/nvparse.o
 nvparse.cpp: In function 'void nvparse(const char*, int, ...)':
 nvparse.cpp:85: error: 'strdup' was not declared in this scope
 nvparse.cpp:177: error: 'free' was not declared in this scope
 make[5]: *** [nvparse.lo] Error 1
 make[5]: Leaving directory 
 `/build/tbm/ogre-1.4.5/RenderSystems/GL/src/nvparse'
 make[4]: *** [all-recursive] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#417691: Log for failed build of scorched3d_41.2dfsg-1 (dist=unstable4)

2008-01-24 Thread Martin Michlmayr
found 417691 41.2dfsg-1
thanks

Sorry, since I sent my patch some more headers got cleaned up (but
there won't be any further changes).  You'll need cstring

 Automatic build of scorched3d_41.2dfsg-1 on em64t by sbuild/amd64 0.53
...
 mv -f .deps/Logger.Tpo .deps/Logger.Po
 x86_64-linux-gnu-g++ -DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ 
 -DPACKAGE_VERSION=\\ -DPACKAGE_STRING=\\ -DPACKAGE_BUGREPORT=\\ 
 -DPACKAGE=\scorched3d\ -DVERSION=\41\ -DHAVE_OGG=1 -DHAVE_VSNPRINTF=1 
 -DHAVE_SNPRINTF=1 -DHAVE_VASPRINTF=1 -DHAVE_ASPRINTF=1 -DHAVE_ICONV=1 
 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ICONV_H=1 -I.  
 -I../porting -I.. -I/usr/lib/wx/include/gtk2-unicode-release-2.6 
 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 
 -D_LARGE_FILES -DNO_GCC_PRAGMA  -I/usr/include/freetype2 -I/usr/include/SDL 
 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6 
 -I/usr/local/include  -g -O2 -DS3D_DOCDIR=\/usr/share/doc/scorched3d\ 
 -DS3D_DATADIR=\/usr/share/games/scorched3d\ -DS3D_BINDIR=\/usr/games\ -MT 
 LoggerI.o -MD -MP -MF .deps/LoggerI.Tpo -c -o LoggerI.o `test -f 
 '../common/LoggerI.cpp' || echo './'`../common/LoggerI.cpp
 ../common/LoggerI.cpp: In member function 'void LoggerInfo::setTime()':
 ../common/LoggerI.cpp:41: error: 'strchr' was not declared in this scope
 make[3]: *** [LoggerI.o] Error 1
 make[3]: Leaving directory `/build/tbm/scorched3d-41.2dfsg/src/scorched'

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#462426: FTBFS with GCC 4.3: missing #includes

2008-01-24 Thread Martin Michlmayr
Package: warzone2100
Version: 2.1.0~0.svn3330-1
Severity: important
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

 Automatic build of warzone2100_2.1.0~0.svn3330-1 on em64t by sbuild/amd64 0.53
...
 make[1]: Entering directory 
 `/build/tbm/warzone2100-2.1.0~0.svn3330/build_tools'
 Making all in autorevision
 make[2]: Entering directory 
 `/build/tbm/warzone2100-2.1.0~0.svn3330/build_tools/autorevision'
 x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..   -I../..  -g -O2 -MT 
 autorevision.o -MD -MP -MF .deps/autorevision.Tpo -c -o autorevision.o 
 autorevision.cpp
 autorevision.cpp: In function 'int main(int, char**)':
 autorevision.cpp:218: error: 'strcmp' was not declared in this scope
 autorevision.cpp: In member function 'virtual bool 
 RevSVNQuery::extractRevision(RevisionInformation)':
 autorevision.cpp:365: error: 'strlen' was not declared in this scope
 autorevision.cpp:371: error: 'strlen' was not declared in this scope
 autorevision.cpp:375: error: 'strlen' was not declared in this scope
 autorevision.cpp:381: error: 'strlen' was not declared in this scope
 autorevision.cpp: In member function 'virtual bool 
 RevFileParse::extractRevision(RevisionInformation)':
 autorevision.cpp:428: error: 'strlen' was not declared in this scope
 autorevision.cpp: In member function 'virtual bool 
 RevConfigFile::extractRevision(RevisionInformation)':
 autorevision.cpp:451: error: 'strlen' was not declared in this scope
 make[2]: *** [autorevision.o] Error 1
 make[2]: Leaving directory 
 `/build/tbm/warzone2100-2.1.0~0.svn3330/build_tools/autorevision'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory 
 `/build/tbm/warzone2100-2.1.0~0.svn3330/build_tools'
 make[1]: Entering directory `/build/tbm/warzone2100-2.1.0~0.svn3330/win32'
 make[1]: Nothing to be done for `all'.
 make[1]: Leaving directory `/build/tbm/warzone2100-2.1.0~0.svn3330/win32'

Another problem is that the build doesn't fail even though it fails to
compile this file!
-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#462238: FTBFS with GCC 4.3: missing #includes

2008-01-23 Thread Martin Michlmayr
Package: pingus
Version: 0.7.2-1
Severity: important
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

 Automatic build of pingus_0.7.2-1 on em64t by sbuild/amd64 0.53
...
 g++ -o src/input/evdev_device.o -c -D_GNU_SOURCE=1 -D_REENTRANT -I. -Isrc 
 -I/usr/include/SDL -I. -Isrc src/input/evdev_device.cpp
 src/input/evdev_device.cpp: In constructor 
 'Input::EvdevDevice::EvdevDevice(const std::string)':
 src/input/evdev_device.cpp:47: error: 'strerror' was not declared in this 
 scope
 src/input/evdev_device.cpp:72: error: 'memset' was not declared in this scope
 scons: *** [src/input/evdev_device.o] Error 1
 scons: building terminated because of errors.
 make: *** [build-stamp] Error 2
 dpkg-buildpackage: failure: debian/rules build gave error exit status 2

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#417112: Log for failed build of asc_2.0.1.0-1 (dist=unstable4)

2008-01-22 Thread Martin Michlmayr
Note that some more headers got cleaned up after I submitted this bug
(but they shouldn't change anymore now).  You'll need to include
cstring

 Automatic build of asc_2.0.1.0-1 on em64t by sbuild/amd64 0.53
...
  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../../.. 
 -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/SDL 
 -D_GNU_SOURCE=1 -D_REENTRANT -I../../../../../source/libs/paragui/include -g 
 -O2 -Wno-sign-compare -funsigned-char -D_UNIX_ -D_SDL_ 
 -I/usr/include/freetype2 -DSIZE_T_not_identical_to_INT -MT pgfilearchive.lo 
 -MD -MP -MF .deps/pgfilearchive.Tpo -c pgfilearchive.cpp -o pgfilearchive.o
 In file included from 
 /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/ext/hash_map:64,
  from ../../../../../source/libs/paragui/include/pgfont.h:50,
  from 
 ../../../../../source/libs/paragui/include/pgapplication.h:39,
  from pgfilearchive.cpp:31:
 /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/backward/backward_warning.h:32:2:
  warning: #warning This file includes at least one deprecated or antiquated 
 header which may be removed without further notice at a future date. Please 
 use a non-deprecated interface with equivalent functionality instead. For a 
 listing of replacement headers and interfaces, consult the file 
 backward_warning.h. To disable this warning use -Wno-deprecated.
 pgfilearchive.cpp: In static member function 'static std::string* 
 PG_FileArchive::PathToPlatform(const std::string)':
 pgfilearchive.cpp:112: error: 'strlen' is not a member of 'std'
 make[7]: *** [pgfilearchive.lo] Error 1
 make[7]: Leaving directory 
 `/build/tbm/asc-2.0.1.0/source/libs/paragui/src/core'
 make[6]: *** [all-recursive] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#462205: FTBFS with GCC 4.3: missing #includes

2008-01-22 Thread Martin Michlmayr
Package: netpanzer
Version: 0.8.2-1
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

 Automatic build of netpanzer_0.8.2-1 on em64t by sbuild/amd64 0.53
...
 C++ ./build/x86_64-pc-linux-gnu/opt/src/Lib/Util/Timer.o 
 C++ ./build/x86_64-pc-linux-gnu/opt/src/Lib/Util/Log.o 
 src/Lib/Util/Log.cpp: In member function 'void Logger::cleanLogs()':
 src/Lib/Util/Log.cpp:90: error: 'sort' is not a member of 'std'
^^^
 
 x86_64-linux-gnu-g++ -c -o 
 ./build/x86_64-pc-linux-gnu/opt/src/Lib/Util/Log.o  -I. -Isrc/Lib 
 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -Wall -W -O3 -g3 -O3 -g3   
 src/Lib/Util/Log.cpp
 
 ...failed C++ ./build/x86_64-pc-linux-gnu/opt/src/Lib/Util/Log.o ...
 C++ ./build/x86_64-pc-linux-gnu/opt/src/Lib/Util/FileSystem.o 
 src/Lib/Util/FileSystem.cpp: In function 'void filesystem::initialize(const 
 char*, const char*, const char*)':

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#461954: FTBFS with GCC 4.3: missing #includes

2008-01-21 Thread Martin Michlmayr
Package: pokerth
Version: 0.6-1-1
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

 Automatic build of pokerth_0.6-1-1 on em64t by sbuild/amd64 0.53
...
 g++ -c -pipe -fpermissive -O2 -Wall -W -D_REENTRANT -DQT_SHARED 
 -DPOKERTH_DEDICATED_SERVER -DENABLE_IPV6 -DQT_NO_DEBUG 
 -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4 -I. -Isrc 
 -Isrc/engine -Isrc/gui -Isrc/gui/qt -Isrc/gui/qt/qttools 
 -Isrc/gui/qt/qttools/nonqthelper -Isrc/net -Isrc/engine/local_engine 
 -Isrc/engine/network_engine -Isrc/config -Isrc/core/tinyxml -Isrc/core -Imocs 
 -Iuics -o obj/convhelper.o src/core/linux/convhelper.cpp
 src/core/linux/convhelper.cpp: In static member function 'static std::string 
 ConvHelper::NativeToUtf8(const std::string)':
 src/core/linux/convhelper.cpp:54: error: 'strerror' was not declared in this 
 scope
 src/core/linux/convhelper.cpp:60: error: 'strerror' was not declared in this 
 scope
 src/core/linux/convhelper.cpp: In static member function 'static std::string 
 ConvHelper::Utf8ToNative(const std::string)':
 src/core/linux/convhelper.cpp:88: error: 'strerror' was not declared in this 
 scope
 src/core/linux/convhelper.cpp:94: error: 'strerror' was not declared in this 
 scope
 make[2]: *** [obj/convhelper.o] Error 1
 make[2]: Leaving directory `/build/tbm/pokerth-0.6-1'

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#461951: FTBFS with GCC 4.3: missing #includes

2008-01-21 Thread Martin Michlmayr
Package: late
Version: 0.1.0-10
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

 Automatic build of late_0.1.0-10 on em64t by sbuild/amd64 0.53
...
 Making all in src
 make[2]: Entering directory `/build/tbm/late-0.1.0/src'
 if x86_64-linux-gnu-g++ -DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ 
 -DPACKAGE_VERSION=\\ -DPACKAGE_STRING=\\ -DPACKAGE_BUGREPORT=\\ 
 -DPACKAGE=\late\ -DVERSION=\0.1.0\ -DX_DISPLAY_MISSING=1 
 -DHAVE_LIBSDL_IMAGE=1 -DHAVE_LIBSTDC__=1  -I. -I.  -Wall 
 -DDATADIR=\/usr/share/games/late\ -DLOCALSTATEDIR=\/usr/var\   -Wall -g 
 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT init.o -MD -MP -MF 
 .deps/init.Tpo \
 -c -o init.o `test -f 'init.cpp' || echo './'`init.cpp; \
   then mv -f .deps/init.Tpo .deps/init.Po; \
   else rm -f .deps/init.Tpo; exit 1; \
   fi
 init.cpp: In function 'int main(int, char**)':
 init.cpp:140: error: 'strcmp' was not declared in this scope
 make[2]: *** [init.o] Error 1
 make[2]: Leaving directory `/build/tbm/late-0.1.0/src'

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#462052: FTBFS with GCC 4.3: missing #includes

2008-01-21 Thread Martin Michlmayr
Package: qonk
Version: 0.3.0-2
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

 Automatic build of qonk_0.3.0-2 on em64t by sbuild/amd64 0.53
...
 make[4]: Entering directory `/build/tbm/qonk-0.3.0/src/lisp'
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -g -Wall -O2 -c -o lexer.o lexer.cpp
 lexer.cpp: In member function 'lisp::Lexer::TokenType 
 lisp::Lexer::getNextToken()':
 lexer.cpp:180: error: 'strcmp' was not declared in this scope
 lexer.cpp:182: error: 'strcmp' was not declared in this scope
 lexer.cpp:217: error: 'strchr' was not declared in this scope
 lexer.cpp:238: error: 'strchr' was not declared in this scope
 make[4]: *** [lexer.o] Error 1
 make[4]: Leaving directory `/build/tbm/qonk-0.3.0/src/lisp'

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#461694: FTBFS with GCC 4.3: uses (removed) pre-iso c++ headers

2008-01-20 Thread Martin Michlmayr
Package: sabre
Version: 0.2.4b-23
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, pre-iso c++ headers
will no longer be present, but your application makes use of them.

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

 Automatic build of sabre_0.2.4b-23 on em64t by sbuild/amd64 0.53
...
 ranlib libuncl.a
 make[2]: Leaving directory `/build/tbm/sabre-0.2.4b/libzip'
 Making all in src
 make[2]: Entering directory `/build/tbm/sabre-0.2.4b/src'
 g++ -DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ -DPACKAGE_VERSION=\\ 
 -DPACKAGE_STRING=\\ -DPACKAGE_BUGREPORT=\\ -DVERSION=\0.2.4b\ 
 -DREV_DATE=\11/21/99\ -DUSING_NEWPILOT=1 -DJSTICK_INSTALLED=1 
 -DHAVE_LIBNCURSES=1 -DHAVE_LIBM=1  -I. -I.  -I../gdev -I../libzip-g -O2 
 -DDEBIAN -c game.C
 game.C:35:22: error: iostream.h: No such file or directory
 game.C:36:21: error: fstream.h: No such file or directory
 In file included from siminc.h:32,
  from game.C:40:
 simfile.h:30: error: 'istream' was not declared in this scope
 simfile.h:30: error: expected primary-expression before ',' token
 simfile.h:30: error: expected primary-expression before 'char'
 simfile.h:30: error: expected primary-expression before 'int'
 simfile.h:30: error: initializer expression list treated as compound 
 expression
 simfile.h:31: error: 'ifstream' was not declared in this scope
 simfile.h:31: error: expected primary-expression before ',' token
 simfile.h:31: error: expected primary-expression before 'char'
 simfile.h:31: error: initializer expression list treated as compound 
 expression
 simfile.h:32: error: 'ofstream' was not declared in this scope
 simfile.h:32: error: expected primary-expression before ',' token
 simfile.h:32: error: expected primary-expression before 'char'
 simfile.h:32: error: initializer expression list treated as compound 
 expression
...

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#461705: FTBFS with GCC 4.3: uses (removed) pre-iso c++ headers

2008-01-20 Thread Martin Michlmayr
Package: ri-li
Version: 2.0.0-4
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, pre-iso c++ headers
will no longer be present, but your application makes use of them.

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

 Automatic build of ri-li_2.0.0-4 on em64t by sbuild/amd64 0.53
...
 make[3]: Entering directory `/build/tbm/ri-li-2.0.0/src'
 if g++ -DHAVE_CONFIG_H -I. -I. -I..  
 -DDATA_DIR=\/usr/share/games/ri-li/Ri-li\ -Wno-deprecated -DLINUX  -g -O2 
 -MT audio.o -MD -MP -MF .deps/audio.Tpo -c -o audio.o audio.cc; \
   then mv -f .deps/audio.Tpo .deps/audio.Po; else rm -f 
 .deps/audio.Tpo; exit 1; fi
 audio.cc:25:22: error: iostream.h: No such file or directory
 audio.cc: In member function 'bool Audio::Init()':
 audio.cc:60: error: 'cerr' was not declared in this scope
 audio.cc:60: error: 'endl' was not declared in this scope
 make[3]: *** [audio.o] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#461708: FTBFS with GCC 4.3: uses (removed) pre-iso c++ headers

2008-01-20 Thread Martin Michlmayr
Package: chromium
Version: 0.9.12-13
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, pre-iso c++ headers
will no longer be present, but your application makes use of them.

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

 Automatic build of chromium_0.9.12-13 on em64t by sbuild/amd64 0.53
...
 g++ -c -pipe   `/usr/bin/sdl-config --cflags` -DUSE_SDL 
 `/usr/bin/smpeg-config --cflags` -Wall -W -g -O2 -DAUDIO_OPENAL -D_REENTRANT 
 -DPKGDATADIR=\/usr/share/games/chromium/\ -I/usr/X11R6/include -o Config.o 
 Config.cpp
 In file included from Config.cpp:17:
 NCString.h:4:20: error: stream.h: No such file or directory
 In file included from Config.cpp:17:
 NCString.h:126: error: expected constructor, destructor, or type conversion 
 before '' token
 make[2]: *** [Config.o] Error 1
 make[2]: Leaving directory `/build/tbm/chromium-0.9.12/src'

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#455114: FTBFS with GCC 4.3: missing #includes

2007-12-08 Thread Martin Michlmayr
Package: vodovod
Version: 1.10-1
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.


 Automatic build of vodovod_1.10-1 on em64t by sbuild/amd64 0.53
...
 g++ -c `sdl-config --cflags` -DDATADIR=\/usr/share/games/vodovod\ 
 hiscore.cpp -o hiscore.o
 hiscore.cpp: In destructor 'HiScores::~HiScores()':
 hiscore.cpp:107: error: 'PATH_MAX' was not declared in this scope
 hiscore.cpp:113: error: 'hiscore_dat' was not declared in this scope
 hiscore.cpp:116: error: 'hiscore_dat' was not declared in this scope
 hiscore.cpp:116: error: 'strncat' was not declared in this scope
 make[1]: *** [hiscore.o] Error 1
 make[1]: Leaving directory `/build/tbm/vodovod-1.10'

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#455131: FTBFS with GCC 4.3: missing #includes

2007-12-08 Thread Martin Michlmayr
Package: bulletml
Version: 0.0.6-2
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

 Automatic build of bulletml_0.0.6-2 on em64t by sbuild/amd64 0.53
...
 make[2]: Entering directory `/build/tbm/bulletml-0.0.6/src/tinyxml'
 g++ -c -Wall -g -Wall -ansi -pedantic -O2  tinyxml.cpp -o tinyxml.o
 tinyxml.cpp: In member function 'const std::string* 
 TiXmlElement::Attribute(const std::string, int*) const':
 tinyxml.cpp:380: error: 'atoi' was not declared in this scope
 tinyxml.cpp: In member function 'bool TiXmlDocument::LoadFile(FILE*)':
 tinyxml.cpp:533: error: 'strchr' was not declared in this scope
 make[2]: *** [tinyxml.o] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#455137: FTBFS with GCC 4.3: missing #includes

2007-12-08 Thread Martin Michlmayr
Package: goplay
Version: 0.1-1
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

 Automatic build of goplay_0.1-1 on em64t by sbuild/amd64 0.53
...
 mv -f .deps/ui.Tpo .deps/ui.Po
 x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. 
 -I/usr/include/tagcoll-2.0.7 -I/usr/include/boost-1_33_1/   `fltk-config 
 --cxxflags --use-images` -Wall -Werror -ggdb-g -O2 -MT pkgbrowser.o -MD 
 -MP -MF .deps/pkgbrowser.Tpo -c -o pkgbrowser.o pkgbrowser.cpp
 pkgbrowser.cpp: In member function 'virtual void 
 PackageBrowser::item_select(void*, int)':
 pkgbrowser.cpp:238: error: 'gettext' was not declared in this scope
 cc1plus: warnings being treated as errors
 pkgbrowser.cpp: In member function 'virtual int 
 PackageBrowser::item_width(void*) const':
 pkgbrowser.cpp:295: error: comparisons like X=Y=Z do not have their 
 mathematical meaning
 pkgbrowser.cpp: In member function 'virtual void 
 PackageBrowser::item_draw(void*, int, int, int, int) const':
 pkgbrowser.cpp:395: error: comparisons like X=Y=Z do not have their 
 mathematical meaning
 make[3]: *** [pkgbrowser.o] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#454873: FTBFS with GCC 4.3: missing #includes

2007-12-07 Thread Martin Michlmayr
Package: boson
Version: 0.13-2
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

 Automatic build of boson_0.13-2 on em64t by sbuild/amd64 0.53
...
 [ 17%] Building CXX object ufo/src/CMakeFiles/ufo.dir/uabstractcontext.o
 In file included from /build/tbm/boson-0.13/ufo/include/ufo/ucontext.hpp:35,
  from 
 /build/tbm/boson-0.13/ufo/include/ufo/uabstractcontext.hpp:31,
  from /build/tbm/boson-0.13/ufo/src/uabstractcontext.cpp:28:
 /build/tbm/boson-0.13/ufo/include/ufo/util/urectangle.hpp: In constructor 
 'ufo::URectangle::URectangle(const ufo::UPoint, const ufo::UPoint)':
 /build/tbm/boson-0.13/ufo/include/ufo/util/urectangle.hpp:223: error: 'abs' 
 is not a member of 'std'
 /build/tbm/boson-0.13/ufo/include/ufo/util/urectangle.hpp:224: error: 'abs' 
 is not a member of 'std'
 /build/tbm/boson-0.13/ufo/src/uabstractcontext.cpp: At global scope:
 /build/tbm/boson-0.13/ufo/src/uabstractcontext.cpp:125: warning: unused 
 parameter 'info'
 /build/tbm/boson-0.13/ufo/src/uabstractcontext.cpp:902: warning: 'void 
 updateVisibleWidgets(std::listufo::UWidget*, std::allocatorufo::UWidget* 
 *)' defined but not used
 make[3]: *** [ufo/src/CMakeFiles/ufo.dir/uabstractcontext.o] Error 1
 make[3]: Leaving directory `/build/tbm/boson-0.13/debian/build-area'
 make[2]: *** [ufo/src/CMakeFiles/ufo.dir/all] Error 2
 make[2]: Leaving directory `/build/tbm/boson-0.13/debian/build-area'
 make[1]: *** [all] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#454871: FTBFS with GCC 4.3: missing #includes

2007-12-07 Thread Martin Michlmayr
Package: enemylines7
Version: 0.6-2
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.


 Automatic build of enemylines7_0.6-2 on em64t by sbuild/amd64 0.53
...
 g++ -O2 -Wall `sdl-config --cflags` -I./   -c -o container.o container.cc
 In file included from container.h:8,
  from container.cc:5:
 entitytype.h:19: warning: 'typedef' was ignored in this declaration
 In file included from math/mymath.h:3,
  from coordinate.h:1,
  from container.h:10,
  from container.cc:5:
 math/c3_tpl.h: In member function 'void C3_tplT::min()':
 math/c3_tpl.h:35: error: 'numeric_limits' is not a member of 'std'
 math/c3_tpl.h:35: error: expected primary-expression before '' token
 math/c3_tpl.h:35: error: '::min' has not been declared
 math/c3_tpl.h:36: error: 'numeric_limits' is not a member of 'std'
 math/c3_tpl.h:36: error: expected primary-expression before '' token
 math/c3_tpl.h:36: error: '::min' has not been declared
 math/c3_tpl.h:37: error: 'numeric_limits' is not a member of 'std'
 math/c3_tpl.h:37: error: expected primary-expression before '' token
 math/c3_tpl.h:37: error: '::min' has not been declared
 math/c3_tpl.h: In member function 'void C3_tplT::max()':
 math/c3_tpl.h:40: error: 'numeric_limits' is not a member of 'std'
 math/c3_tpl.h:40: error: expected primary-expression before '' token
 math/c3_tpl.h:40: error: '::max' has not been declared
 math/c3_tpl.h:41: error: 'numeric_limits' is not a member of 'std'
 math/c3_tpl.h:41: error: expected primary-expression before '' token
 math/c3_tpl.h:41: error: '::max' has not been declared
 math/c3_tpl.h:42: error: 'numeric_limits' is not a member of 'std'
 math/c3_tpl.h:42: error: expected primary-expression before '' token
 math/c3_tpl.h:42: error: '::max' has not been declared
 make[1]: *** [container.o] Error 1
 make[1]: Leaving directory `/build/tbm/enemylines7-0.6'
 make: *** [build-stamp] Error 2
 dpkg-buildpackage: failure: debian/rules build gave error exit status 2

-- 
Martin Michlmayr
http://www.cyrius.com/



___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#383923: pending

2007-06-29 Thread Martin Michlmayr
* Gonéri Le Bouder [EMAIL PROTECTED] [2007-06-28 16:08]:
 tag 383923 pending

Do you need a sponsor or something?
-- 
Martin Michlmayr
http://www.cyrius.com/


___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#379862: please apply

2007-06-29 Thread Martin Michlmayr
tags 379862 + patch
thanks

I noticed that I submitted a patch for this already.  Please apply
this and upload a new package since we're moving to 4.2 as the default
compiler soon, see 
http://lists.debian.org/debian-devel-announce/2007/06/msg8.html

-- 
Martin Michlmayr
http://www.cyrius.com/


___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#424582: FTBFS with GCC 4.2: empty body in an else-statement

2007-05-16 Thread Martin Michlmayr
-parameter -O2 
 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml++-2.6 
 -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 
 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 
 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 
 -I/usr/lib/glib-2.0/include-c -o body.o `test -f 'character/body.cpp' || 
 echo './'`character/body.cpp
 cc1plus: warnings being treated as errors
 character/body.cpp: In member function 'void Body::SetClothe(std::string)':
 character/body.cpp:440: warning: empty body in an else-statement
 character/body.cpp: In member function 'void Body::SetMovement(std::string)':
 character/body.cpp:465: warning: empty body in an else-statement
 character/body.cpp: In member function 'void 
 Body::SetClotheOnce(std::string)':
 character/body.cpp:495: warning: empty body in an else-statement
 character/body.cpp: In member function 'void 
 Body::SetMovementOnce(std::string)':
 character/body.cpp:523: warning: empty body in an else-statement
 make[4]: *** [body.o] Error 1
 make[4]: Leaving directory `/build/tbm/wormux-0.7.9/src'
 make[3]: *** [all-recursive] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/


___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#421124: FTBFS with GCC 4.3: missing #includes, extra ;

2007-04-26 Thread Martin Michlmayr
Package: opencity
Version: 0.0.4stable-1
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.

Problem 1: in GCC 4.3, the C++ header dependencies have been cleaned
up.  The advantage of this is that programs will compile faster.  The
downside is that you actually need to directly #include everything you
use (but you really should do this anyway, otherwise your program
won't work with any compiler other than GCC).  Some background of this
can be found at http://gcc.gnu.org/PR28080

Problem 2: don't put a semicolon after functions

You can reproduce this problem with gcc-snapshot (20070422-1 or higher)
from unstable. (Currently not available for i386, but for amd64, powerpc
and ia64.  I hope to have i386 binaries in the archive in the near
future.)


 Automatic build of opencity_0.0.4stable-1 on em64t by sbuild/amd64 0.53
...
 if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../src/ 
 -I../../src/structure/   -I/usr/X11R6/include  -DNDEBUG -Wall -ansi -pedantic 
 -fno-exceptions -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT kernel.o 
 -MD -MP -MF .deps/kernel.Tpo -c -o kernel.o kernel.cpp; \
   then mv -f .deps/kernel.Tpo .deps/kernel.Po; else rm -f 
 .deps/kernel.Tpo; exit 1; fi
 In file included from kernel.h:25,
  from kernel.cpp:22:
 agent.h:109: warning: type qualifiers ignored on function return type
 kernel.cpp: In member function 'void Kernel::unregisterRole(Agent*, Role_t)':
 kernel.cpp:129: error: no matching function for call to 
 'find(std::_List_iteratorAgent*, std::_List_iteratorAgent*, Agent*)'
 make[4]: *** [kernel.o] Error 1

--- src/mas/kernel.cpp~ 2007-04-26 16:00:32.0 +
+++ src/mas/kernel.cpp  2007-04-26 16:00:53.0 +
@@ -23,6 +23,7 @@
 #include agent.h
 #include message.h
 
+#include algorithm
 #include cassert
 #include iostream
 
--- src/networking/netnode.h~   2007-04-26 16:01:51.0 +
+++ src/networking/netnode.h2007-04-26 16:01:59.0 +
@@ -30,14 +30,14 @@
 
 class Netnode {
 public:
-   Netnode() {};
-   Netnode( IPaddress ipAdr, TCPsocket sock ):ip(ipAdr), socket(sock) {};
+   Netnode() {}
+   Netnode( IPaddress ipAdr, TCPsocket sock ):ip(ipAdr), socket(sock) {}
bool operator==( const Netnode rc ) {
return ((this-ip.host == rc.ip.host)  (this-ip.port == 
rc.ip.port)
  (this-socket == rc.socket));
-   };
+   }
 
-   ~Netnode() {};
+   ~Netnode() {}
 
IPaddress ip;
TCPsocket socket;
--- src/simulator/simulator.h~  2007-04-26 16:02:23.0 +
+++ src/simulator/simulator.h   2007-04-26 16:02:28.0 +
@@ -103,14 +103,14 @@
const uint  w1,
const uint  h1,
const uint  w2,
-   const uint  h2 ) {};
+   const uint  h2 ) {}
 
virtual void
RemoveStructure(
const uint  w1,
const uint  h1,
const uint  w2,
-   const uint  h2 ) {};
+   const uint  h2 ) {}
 
 
void
--- src/simulator/electricitysim.cpp~   2007-04-26 16:02:37.0 +
+++ src/simulator/electricitysim.cpp2007-04-26 16:02:46.0 +
@@ -26,6 +26,8 @@
 
 #include propertymanager.h
 
+#include algorithm
+
 
 extern PropertyManager* gpPropertyMgr; // Global property manager
 
--- src/triangulation/triangulation.h~  2007-04-26 16:01:09.0 +
+++ src/triangulation/triangulation.h   2007-04-26 16:01:14.0 +
@@ -34,8 +34,8 @@
 class Triangulation {
 public:
 
-   Triangulation() {};
-   virtual ~Triangulation() {};
+   Triangulation() {}
+   virtual ~Triangulation() {}
 
 //
 /** Compute triangulation on vertex, return a Triangle[nVertex-2]
--- src/guibutton.h~2007-04-26 16:03:19.0 +
+++ src/guibutton.h 2007-04-26 16:03:23.0 +
@@ -29,7 +29,7 @@
 */
 class GUIButton : public GUIMain {
 public:
-   GUIButton() {};
+   GUIButton() {}
GUIButton(
const int  rciX,
const int  rciY,
--- src/gui3dview.h~2007-04-26 16:03:55.0 +
+++ src/gui3dview.h 2007-04-26 16:04:00.0 +
@@ -28,8 +28,8 @@
*/
 class GUI3DView : public GUIMain {
 public:
-   GUI3DView() {};
-   virtual ~GUI3DView() {};
+   GUI3DView() {}
+   virtual ~GUI3DView() {}
 
 };
 
--- src/pathfinder.cpp~ 2007-04-26 16:04:18.0 +
+++ src/pathfinder.cpp  2007-04-26 16:04:25.0 +
@@ -23,6 +23,8 @@
 
 #include pathfinder.h
 
+#include algorithm
+
 #define OC_PATHFINDER_MAX_LENGTH   0x
 #define OC_PATHFINDER_A_STAR   1   // use Dijkstra + A* 
algorithm
 

-- 
Martin

Bug#417112: FTBFS with GCC 4.3: missing #includes

2007-04-01 Thread Martin Michlmayr
Package: asc
Version: 1.16.3.0-3
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  Some background of this can be found at
http://gcc.gnu.org/PR28080

You can reproduce this problem with gcc-snapshot from unstable.

 Automatic build of asc_1.16.3.0-3 on coconut0 by sbuild/ia64 0.49
...
  ia64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/SDL 
 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/lib/sigc++-1.2/include 
 -I/usr/include/sigc++-1.2 -g -O2 -Wno-sign-compare -funsigned-char -D_UNIX_ 
 -D_SDL_ -DSIZE_T_not_identical_to_INT -MT sound.lo -MD -MP -MF 
 .deps/sound.Tpo -c sound.cpp -o sound.o
 In file included from ../ascstring.h:6,
  from sound.h:15,
  from sound.cpp:19:
 ../ASCStringHelpers.h: In static member function 'static size_t 
 ASCStringHelpers::_ConvertToCharT(char*, const wchar_t*, size_t)':
 ../ASCStringHelpers.h:474: error: 'wcstombs' is not a member of 'std'
 sound.cpp: In constructor 'SoundSystem::SoundSystem(bool, bool, bool)':
 sound.cpp:84: warning: deprecated conversion from string constant to 'char*'
 sound.cpp: In member function 'void SoundSystem::nextTrack()':
 sound.cpp:133: warning: deprecated conversion from string constant to 'char*'
 make[4]: *** [sound.lo] Error 1


--- source/ASCStringHelpers.h~  2007-04-01 15:35:58.0 +
+++ source/ASCStringHelpers.h   2007-04-01 15:36:03.0 +
@@ -1,6 +1,7 @@
 #ifndef __ASC_STRING_HELPERS_H_INCLUDED__
 #define __ASC_STRING_HELPERS_H_INCLUDED__
 
+#include cstdlib
 #include cassert
 #include cstdarg
 #include cstdio

-- 
Martin Michlmayr
http://www.cyrius.com/


___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#417169: FTBFS with GCC 4.3: missing #includes

2007-04-01 Thread Martin Michlmayr
Package: enemylines3
Version: 1.2-3
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  Some background of this can be found at
http://gcc.gnu.org/PR28080

You can reproduce this problem with gcc-snapshot from unstable.

 Automatic build of enemylines3_1.2-3 on coconut0 by sbuild/ia64 0.49
...
 g++ -O2 -Wall `sdl-config --cflags` -I./ -Ielements/   -c -o random.o 
 random.cc
 random.cc: In static member function 'static void el3::Random::sseed(unsigned 
 int)':
 random.cc:22: error: 'srand' was not declared in this scope
 random.cc: In member function 'unsigned int el3::Random::get()':
 random.cc:40: error: 'rand' was not declared in this scope
 random.cc: In static member function 'static int el3::Random::sget()':
 random.cc:70: error: 'rand' was not declared in this scope
 make[1]: *** [random.o] Error 1

--- random.cc~  2007-04-01 18:22:26.0 +
+++ random.cc   2007-04-01 18:22:32.0 +
@@ -1,5 +1,6 @@
 #include random.h
 
+#include cstdlib
 #include iostream
 
 

-- 
Martin Michlmayr
http://www.cyrius.com/


___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#417187: FTBFS with GCC 4.3: missing #includes

2007-04-01 Thread Martin Michlmayr
Package: fillets-ng
Version: 0.7.3-3
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  Some background of this can be found at
http://gcc.gnu.org/PR28080

You can reproduce this problem with gcc-snapshot from unstable.

 Automatic build of fillets-ng_0.7.3-3 on coconut0 by sbuild/ia64 0.49
...
 ia64-linux-gnu-g++ -DPACKAGE_NAME=\\ -DPACKAGE_TARNAME=\\ 
 -DPACKAGE_VERSION=\\ -DPACKAGE_STRING=\\ -DPACKAGE_BUGREPORT=\\ 
 -DPACKAGE=\fillets-ng\ -DVERSION=\0.7.3\ -DHAVE_X11=1  -I. -I.  
 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/lua50  
 -DSYSTEM_DATA_DIR=\/usr/share/games/fillets-ng\ -I/usr/local/include   -g 
 -O2 -Wall -W -Wpointer-arith -Wcast-qual -Wcast-align -Woverloaded-virtual 
 -Wconversion -Wshadow -c OptionAgent.cpp
 OptionAgent.cpp: In member function 'void OptionAgent::prepareDataPaths()':
 OptionAgent.cpp:99: error: 'getenv' was not declared in this scope
^^66
 OptionAgent.cpp: In member function 'void OptionAgent::prepareLang()':
 OptionAgent.cpp:122: warning: conversion to 'int' from 'size_t' may alter its 
 value
 OptionAgent.cpp:124: warning: conversion to 'long unsigned int' from 'int' 
 may alter its value
 /usr/lib/gcc-snapshot/lib/gcc/ia64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/bits/basic_string.h:
  In member function 'std::basic_string_CharT, _Traits, _Alloc::_Rep* 
 std::basic_string_CharT, _Traits, _Alloc::_M_rep() const [with _CharT = 
 char, _Traits = std::char_traitschar, _Alloc = std::allocatorchar]':
 /usr/lib/gcc-snapshot/lib/gcc/ia64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/bits/basic_string.h:496:
instantiated from 'std::basic_string_CharT, _Traits, 
 _Alloc::~basic_string() [with _CharT = char, _Traits = 
 std::char_traitschar, _Alloc = std::allocatorchar]'
 ExInfo.h:17:   instantiated from here
 /usr/lib/gcc-snapshot/lib/gcc/ia64-linux-gnu/4.3.0/../../../../include/c++/4.3.0/bits/basic_string.h:288:
  warning: cast from 'char*' to 'std::basic_stringchar, 
 std::char_traitschar, std::allocatorchar ::_Rep*' increases required 
 alignment of target type
 make[3]: *** [OptionAgent.o] Error 1

--- src/gengine/StringTool.cpp~ 2007-04-01 18:57:08.0 +
+++ src/gengine/StringTool.cpp  2007-04-01 18:57:14.0 +
@@ -8,6 +8,7 @@
  */
 #include StringTool.h
 
+#include cstdlib
 #include sstream
 
 //-
--- src/gengine/OptionAgent.cpp~2007-04-01 19:01:11.0 +
+++ src/gengine/OptionAgent.cpp 2007-04-01 18:55:53.0 +
@@ -23,6 +23,7 @@
 #include UnknownMsgException.h
 #include minmax.h
 
+#include cstdlib //getenv
 #include string.h //strlen
 #include locale.h //setlocale
 

-- 
Martin Michlmayr
http://www.cyrius.com/


___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#410178: FTBFS with GCC 4.2: the address of 'qdir' will always evaluate as 'true'

2007-02-08 Thread Martin Michlmayr
Package: openarena
Version: 0.6.0-2

Your package fails to build with GCC 4.2.  Version 4.2 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  Your package fails to build
because of a new warning in GCC 4.2.

 Automatic build of openarena_0.6.0-2 on coconut0 by sbuild/ia64 0.49

 make[2]: Entering directory `/build/tbm/openarena-0.6.0/code/tools/asm'
 gcc -O2 -Wall -Werror -fno-strict-aliasing -o q3asm q3asm.c cmdlib.c
 cc1: warnings being treated as errors
 cmdlib.c: In function 'ExpandPath':
 cmdlib.c:315: warning: the address of 'qdir' will always evaluate as 'true'
 cmdlib.c: In function 'ExpandGamePath':
 cmdlib.c:328: warning: the address of 'qdir' will always evaluate as 'true'
 make[2]: *** [q3asm] Error 1
 make[2]: Leaving directory `/build/tbm/openarena-0.6.0/code/tools/asm'
 make[1]: *** [tools] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/


___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#383923: FTBFS with GCC 4.2: 'anonymous' has incomplete type

2007-02-03 Thread Martin Michlmayr
tags 383923 + patch
thanks

* Martin Michlmayr [EMAIL PROTECTED] [2006-08-20 19:53]:
 Some background information about why this code is no longer
 accepted can be found at
 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9278

Here's a patch.

--- ./bogl/gl/extensions/arb_shader_objects_decl_p.h~   2007-02-03 
15:33:24.0 +
+++ ./bogl/gl/extensions/arb_shader_objects_decl_p.h2007-02-03 
15:33:36.0 +
@@ -37,7 +37,7 @@
typedef GLhandleARB (*_glCreateShaderObjectARB) (GLenum);
typedef GLvoid (*_glShaderSourceARB) (GLhandleARB, GLsizei, const 
GLcharARB**, const GLint*);
typedef GLvoid (*_glCompileShaderARB) (GLhandleARB);
-   typedef GLhandleARB (*_glCreateProgramObjectARB) (GLvoid);
+   typedef GLhandleARB (*_glCreateProgramObjectARB) (void);
typedef GLvoid (*_glAttachObjectARB) (GLhandleARB, GLhandleARB);
typedef GLvoid (*_glLinkProgramARB) (GLhandleARB);
typedef GLvoid (*_glUseProgramObjectARB) (GLhandleARB);
--- ./bogl/gl/bogl_2_0_decl_p.h~2007-02-03 15:34:30.0 +
+++ ./bogl/gl/bogl_2_0_decl_p.h 2007-02-03 15:34:38.0 +
@@ -290,7 +290,7 @@
typedef GLvoid (*_glShaderSource)(GLuint, GLsizei, const GLchar**, 
const GLint*);
typedef GLvoid (*_glCompileShader)(GLuint);
typedef GLvoid (*_glDeleteShader)(GLuint);
-   typedef GLuint (*_glCreateProgram)(GLvoid);
+   typedef GLuint (*_glCreateProgram)(void);
typedef GLvoid (*_glAttachShader)(GLuint, GLuint);
typedef GLvoid (*_glDetachShader)(GLuint, GLuint);
typedef GLvoid (*_glLinkProgram)(GLuint);

-- 
Martin Michlmayr
http://www.cyrius.com/


___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel


Bug#379862: FTBFS no longer reproducible

2007-02-03 Thread Martin Michlmayr
reopen 379862
found 379862 1:0.0.8-1
thanks

* Cyril Brulebois [EMAIL PROTECTED] [2007-01-14 00:39]:
 I tried to reproduce this FTBFS with latest gcc-4.2, but I wasn't able
 to. Thus I'm closing this bugreport. Feel free to reopen if needed.

Nothing has changed, so yes, this is still there.

(sid)1141:[EMAIL PROTECTED]: ~/src] cat t.cc
#include AL/alc.h
(sid)1142:[EMAIL PROTECTED]: ~/src] /usr/lib/gcc-snapshot/bin/g++ -c t.cc
In file included from t.cc:1:
/usr/include/AL/alc.h:190: error: 'anonymous' has incomplete type
/usr/include/AL/alc.h:190: error: invalid use of 'ALCvoid'
/usr/include/AL/alc.h:251: error: 'anonymous' has incomplete type
/usr/include/AL/alc.h:251: error: invalid use of 'ALCvoid'

Can you apply the patch below for the Debian package until we get the
new upstream release that supposedly fixes this.

--- /usr/include/AL/alc.h~  2007-02-03 16:29:31.0 +
+++ /usr/include/AL/alc.h   2007-02-03 16:29:42.0 +
@@ -187,7 +187,7 @@
 
 ALC_API voidALC_APIENTRY alcDestroyContext( ALCcontext *context );
 
-ALC_API ALCcontext *ALC_APIENTRY alcGetCurrentContext( ALCvoid );
+ALC_API ALCcontext *ALC_APIENTRY alcGetCurrentContext( void );
 
 ALC_API ALCdevice*  ALC_APIENTRY alcGetContextsDevice( ALCcontext *context 
);
 
@@ -248,7 +248,7 @@
 typedef void   (ALC_APIENTRY *LPALCPROCESSCONTEXT)( ALCcontext 
*context );
 typedef void   (ALC_APIENTRY *LPALCSUSPENDCONTEXT)( ALCcontext 
*context );
 typedef void   (ALC_APIENTRY *LPALCDESTROYCONTEXT)( ALCcontext 
*context );
-typedef ALCcontext *   (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( ALCvoid );
+typedef ALCcontext *   (ALC_APIENTRY *LPALCGETCURRENTCONTEXT)( void );
 typedef ALCdevice *(ALC_APIENTRY *LPALCGETCONTEXTSDEVICE)( ALCcontext 
*context );
 typedef ALCdevice *(ALC_APIENTRY *LPALCOPENDEVICE)( const ALCchar 
*devicename );
 typedef ALCboolean (ALC_APIENTRY *LPALCCLOSEDEVICE)( ALCdevice *device );


-- 
Martin Michlmayr
http://www.cyrius.com/


___
Pkg-games-devel mailing list
Pkg-games-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-devel