Bug#548511: xmoto: FTBFS: error: ambiguous overload for 'operator<<'

Kurt Roeckx kurt at roeckx.be
Sat Sep 26 17:42:15 UTC 2009


Source: xmoto
Version: 0.5.2-1
Severity: serious

Hi,

There was an error while trying to autobuild your package:

> Start Time: 20090926-1654

[...]

> Build-Depends: debhelper (>= 5.0.0), dpkg-dev (>= 1.13.19), autotools-dev, quilt, libsdl1.2-dev, libsdl-ttf2.0-dev, libsdl-mixer1.2-dev, libsdl-net1.2-dev, libjpeg62-dev, libpng12-dev, zlib1g-dev, libgl1-mesa-dev | libgl-dev, libode-dev, liblua5.1-0-dev, libcurl4-gnutls-dev, libbz2-dev, libsqlite3-dev

[...]

> Toolchain package versions: libc6.1-dev_2.9-26 linux-libc-dev_2.6.30-6 g++-4.3_4.3.4-3 gcc-4.3_4.3.4-3 binutils_2.19.91.20090910-1 libstdc++6_4.4.1-4 libstdc++6-4.3-dev_4.3.4-3
> 

[...]

> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xmoto\" -DVERSION=\"0.5.2\" -D_GNU_SOURCE=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 -DXMOTO_LITTLE_ENDIAN=1 -DHAVE_SQLITE3_H=1 -DHAVE_LIBSQLITE3=1 -DHAVE_LIBZ=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_LIBBZ2=1 -DHAVE_LIBGLU=1 -DHAVE_ICONV_H=1 -DHAVE_LIBSDL_MIXER=1 -DHAVE_LIBSDL_NET=1 -DHAVE_LIBSDL_TTF=1 -DHAVE_PTHRE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 -DHAVE_STDINT_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_ASPRINTF=1 -DHAVE_FWPRINTF=1 -DHAVE_PUTENV=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SNPRINTF=1 -DHAVE_WCSLEN=1 -DHAVE_DECL__SNPRINTF=0 -DHAVE_DECL__SNWPRINTF=0 -DHAVE_DECL_GETC_UNLOCKED=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_LC_MESSAGES=1 -DENABLE_NLS=1 -DHAVE_
> GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.    -Wall -g -O2 -Wl,-z,defs -DdDOUBLE -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DNOMMGR -Wall -DGAMEDATADIR=\"/usr/share/games/xmoto\" -DLOCALESDIR=\"/usr/share/games/locale\" -DASIAN_TTF_FILE=\"/usr/share/fonts/truetype/wqy/wqy-zenhei.ttf\" -DALLOW_DEV=0 -DCONFIGURE_DEFAULT_THEME=\"Modern\"  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DUSE_OPENGL=1 -DUSE_SDLGFX=0 -D'SVN_REV=""'  -Wall -g -O2 -Wl,-z,defs -DdDOUBLE -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -MT Replay.o -MD -MP -MF .deps/Replay.Tpo -c -o Replay.o Replay.cpp
> Replay.cpp: In member function 'void Replay::saveReplay_2(FileHandle*)':
> Replay.cpp:159: error: ambiguous overload for 'operator<<' in 'v_replay << ((Replay*)this)->Replay::m_Chunks.std::vector<_Tp, _Alloc>::size [with _Tp = ReplayStateChunk*, _Alloc = std::allocator<ReplayStateChunk*>]()'
> DBuffer.h:64: note: candidates are: void DBuffer::operator<<(bool)
> DBuffer.h:66: note:                 void DBuffer::operator<<(int)
> DBuffer.h:68: note:                 void DBuffer::operator<<(unsigned char)
> DBuffer.h:70: note:                 void DBuffer::operator<<(unsigned int)
> DBuffer.h:72: note:                 void DBuffer::operator<<(float)
> DBuffer.h:74: note:                 void DBuffer::operator<<(std::string) <near match>
> make[2]: *** [Replay.o] Error 1
> make[2]: Leaving directory `/build/buildd-xmoto_0.5.2-1-alpha-C3N6nA/xmoto-0.5.2/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/build/buildd-xmoto_0.5.2-1-alpha-C3N6nA/xmoto-0.5.2'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2

A full build log can be found at:
http://buildd.debian.org/build.php?arch=alpha&pkg=xmoto&ver=0.5.2-1


Kurt






More information about the Pkg-games-devel mailing list