Bug#624916: btanks: FTBFS: engine/sl08/sl08.h:270:45: error: invalid conversion from 'void*' to 'Editor*' [-fpermissive]

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon May 2 12:29:49 UTC 2011


Source: btanks
Version: 0.9.8083-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110502 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> g++ -o build/release/editor/editor.o -c -g -O2 -g -O2 -fvisibility-inlines-hidden -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -fvisibility-inlines-hidden -fvisibility=hidden -g -O2 -g -O2 -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -fvisibility=hidden -Wall -Wno-deprecated -pedantic -Wno-long-long -pipe -pthread -Wall -Wno-deprecated -pedantic -Wno-long-long -pipe -pthread -DUSE_GLSDL -DV3_DISABLE_Z -DRELEASE -DPREFIX="\"/usr\"" -DRESOURCES_DIR="\"/usr/share/games/btanks\"" -DPLUGINS_DIR="\"/usr/lib/btanks\"" -D_GNU_SOURCE=1 -D_REENTRANT -I. -I/usr/include/SDL -Iengine -Iengine/src editor/editor.cpp
> editor/editor.cpp: In member function 'void Editor::render(sdlx::Surface&, float)':
> editor/editor.cpp:245:13: warning: variable 'window_size' set but not used [-Wunused-but-set-variable]
> In file included from editor/editor.h:31:0,
>                  from editor/editor.cpp:28:
> engine/sl08/sl08.h: In constructor 'sl08::slot1<return_type, arg1_type, object_type>::slot1() [with return_type = bool, arg1_type = float, object_type = Editor]':
> editor/editor.cpp:112:84:   instantiated from here
> engine/sl08/sl08.h:270:45: error: invalid conversion from 'void*' to 'Editor*' [-fpermissive]
> engine/sl08/sl08.h:270:45: error: cannot convert 'void*' to 'sl08::slot1<bool, float, Editor>::func_t' in initialization
> engine/sl08/sl08.h: In constructor 'sl08::slot2<return_type, arg1_type, arg2_type, object_type>::slot2() [with return_type = bool, arg1_type = const SDL_keysym, arg2_type = const bool, object_type = Editor]':
> editor/editor.cpp:112:84:   instantiated from here
> engine/sl08/sl08.h:445:45: error: invalid conversion from 'void*' to 'Editor*' [-fpermissive]
> engine/sl08/sl08.h:445:45: error: cannot convert 'void*' to 'sl08::slot2<bool, const SDL_keysym, const bool, Editor>::func_t' in initialization
> engine/sl08/sl08.h: In constructor 'sl08::slot4<return_type, arg1_type, arg2_type, arg3_type, arg4_type, object_type>::slot4() [with return_type = bool, arg1_type = const int, arg2_type = const bool, arg3_type = const int, arg4_type = const int, object_type = Editor]':
> editor/editor.cpp:112:84:   instantiated from here
> engine/sl08/sl08.h:795:45: error: invalid conversion from 'void*' to 'Editor*' [-fpermissive]
> engine/sl08/sl08.h:795:45: error: cannot convert 'void*' to 'sl08::slot4<bool, const int, const bool, const int, const int, Editor>::func_t' in initialization
> engine/sl08/sl08.h: In constructor 'sl08::slot5<return_type, arg1_type, arg2_type, arg3_type, arg4_type, arg5_type, object_type>::slot5() [with return_type = bool, arg1_type = const int, arg2_type = const int, arg3_type = const int, arg4_type = const int, arg5_type = const int, object_type = Editor]':
> editor/editor.cpp:112:84:   instantiated from here
> engine/sl08/sl08.h:970:45: error: invalid conversion from 'void*' to 'Editor*' [-fpermissive]
> engine/sl08/sl08.h:970:45: error: cannot convert 'void*' to 'sl08::slot5<bool, const int, const int, const int, const int, const int, Editor>::func_t' in initialization
> engine/sl08/sl08.h: In constructor 'sl08::slot1<void, arg1_type, object_type>::slot1() [with arg1_type = const SDL_Event&, object_type = Editor]':
> editor/editor.cpp:112:84:   instantiated from here
> engine/sl08/sl08.h:292:45: error: invalid conversion from 'void*' to 'Editor*' [-fpermissive]
> engine/sl08/sl08.h:292:45: error: cannot convert 'void*' to 'sl08::slot1<void, const SDL_Event&, Editor>::func_t' in initialization
> engine/sl08/sl08.h: In constructor 'sl08::slot1<void, arg1_type, object_type>::slot1() [with arg1_type = const int, object_type = Editor]':
> editor/editor.cpp:112:84:   instantiated from here
> engine/sl08/sl08.h:292:45: error: invalid conversion from 'void*' to 'Editor*' [-fpermissive]
> engine/sl08/sl08.h:292:45: error: cannot convert 'void*' to 'sl08::slot1<void, const int, Editor>::func_t' in initialization
> engine/sl08/sl08.h: In constructor 'sl08::slot2<void, arg1_type, arg2_type, object_type>::slot2() [with arg1_type = const int, arg2_type = const char*, object_type = Editor]':
> editor/editor.cpp:112:84:   instantiated from here
> engine/sl08/sl08.h:467:45: error: invalid conversion from 'void*' to 'Editor*' [-fpermissive]
> engine/sl08/sl08.h:467:45: error: cannot convert 'void*' to 'sl08::slot2<void, const int, const char*, Editor>::func_t' in initialization
> scons: *** [build/release/editor/editor.o] Error 1
> scons: building terminated because of errors.
> make[1]: *** [override_dh_auto_configure] Error 2

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/02/btanks_0.9.8083-2_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-games-devel mailing list