Bug#602822: wormux: FTBFS: graphic/spritecache.cpp:52: error: call of overloaded 'fixed_point(size_t)' is ambiguous

Philipp Kern pkern at debian.org
Mon Nov 8 14:47:42 UTC 2010


Source: wormux
Version: 1:0.9.2.1-1
Severity: serious

> 
> sbuild (Debian sbuild) 0.60.0 (23 Feb 2010) on zandonai.debian.org
> 
> ╔══════════════════════════════════════════════════════════════════════════════╗
> ║ wormux 1:0.9.2.1-1 (s390)                                  03 Nov 2010 19:56 ║
> ╚══════════════════════════════════════════════════════════════════════════════╝
[...]
> 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/games/wormux//font/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"0.9.2\"  -I../lib/wormux/include -I../lib/fixedpoint -g -O2 -Wall -Wextra -Wall -Wextra -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/fribidi   -I/usr/include/libpng12   -I/usr/include/libxml2   -I/usr/include/libpng12   -c -o spriteanimation.o `test -f 'graphic/spriteanimation.cpp' || echo './'`graphic/spriteanimation.cpp
> 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/games/wormux//font/DejaVuSans.ttf\" -DPACKAGE_VERSION=\"0.9.2\"  -I../lib/wormux/include -I../lib/fixedpoint -g -O2 -Wall -Wextra -Wall -Wextra -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/fribidi   -I/usr/include/libpng12   -I/usr/include/libxml2   -I/usr/include/libpng12   -c -o spritecache.o `test -f 'graphic/spritecache.cpp' || echo './'`graphic/spritecache.cpp
> graphic/spritecache.cpp: In member function 'Surface SpriteFrameCache::GetFlippedSurfaceForAngle(Double) const':
> graphic/spritecache.cpp:52: error: call of overloaded 'fixed_point(size_t)' is ambiguous
> ../lib/fixedpoint/fixed_class.h:69: note: candidates are: fixedpoint::fixed_point<p>::fixed_point(unsigned int) [with int p = 16]
> ../lib/fixedpoint/fixed_class.h:67: note:                 fixedpoint::fixed_point<p>::fixed_point(long int) [with int p = 16]
> ../lib/fixedpoint/fixed_class.h:65: note:                 fixedpoint::fixed_point<p>::fixed_point(double) [with int p = 16]
> ../lib/fixedpoint/fixed_class.h:64: note:                 fixedpoint::fixed_point<p>::fixed_point(float) [with int p = 16]
> ../lib/fixedpoint/fixed_class.h:63: note:                 fixedpoint::fixed_point<p>::fixed_point(int64_t) [with int p = 16]
> ../lib/fixedpoint/fixed_class.h:62: note:                 fixedpoint::fixed_point<p>::fixed_point(int32_t) [with int p = 16]
> ../lib/fixedpoint/fixed_class.h:58: note:                 fixedpoint::fixed_point<16>::fixed_point(const fixedpoint::fixed_point<16>&)
> graphic/spritecache.cpp: In member function 'Surface SpriteFrameCache::GetSurfaceForAngle(Double) const':
> graphic/spritecache.cpp:64: error: call of overloaded 'fixed_point(size_t)' is ambiguous
> ../lib/fixedpoint/fixed_class.h:69: note: candidates are: fixedpoint::fixed_point<p>::fixed_point(unsigned int) [with int p = 16]
> ../lib/fixedpoint/fixed_class.h:67: note:                 fixedpoint::fixed_point<p>::fixed_point(long int) [with int p = 16]
> ../lib/fixedpoint/fixed_class.h:65: note:                 fixedpoint::fixed_point<p>::fixed_point(double) [with int p = 16]
> ../lib/fixedpoint/fixed_class.h:64: note:                 fixedpoint::fixed_point<p>::fixed_point(float) [with int p = 16]
> ../lib/fixedpoint/fixed_class.h:63: note:                 fixedpoint::fixed_point<p>::fixed_point(int64_t) [with int p = 16]
> ../lib/fixedpoint/fixed_class.h:62: note:                 fixedpoint::fixed_point<p>::fixed_point(int32_t) [with int p = 16]
> ../lib/fixedpoint/fixed_class.h:58: note:                 fixedpoint::fixed_point<16>::fixed_point(const fixedpoint::fixed_point<16>&)
> make[4]: *** [spritecache.o] Error 1
> make[4]: Leaving directory `/build/buildd-wormux_0.9.2.1-1-s390-z4Sf5W/wormux-0.9.2.1/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/build/buildd-wormux_0.9.2.1-1-s390-z4Sf5W/wormux-0.9.2.1/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/build/buildd-wormux_0.9.2.1-1-s390-z4Sf5W/wormux-0.9.2.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/build/buildd-wormux_0.9.2.1-1-s390-z4Sf5W/wormux-0.9.2.1'
> dh_auto_build: make -j1 returned exit code 2
> make: *** [binary-arch] Error 2
> dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary-arch gave error exit status 2
> ────────────────────────────────────────────────────────────────────────────────
> Build finished at 20101103-1959
> FAILED [dpkg-buildpackage died]
> ────────────────────────────────────────────────────────────────────────────────
> Purging /var/lib/schroot/mount/sid-experimental-s390-sbuild-daef400d-f777-4cf2-bff6-c3f9f869b8e5/build/buildd-wormux_0.9.2.1-1-s390-z4Sf5W
> Not removing build depends: cloned chroot in use
> ────────────────────────────────────────────────────────────────────────────────
> Finished at 20101103-1959
> Build needed 00:03:52, 138008k disc space
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20101108/616d885d/attachment.pgp>


More information about the Pkg-games-devel mailing list