[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#477011: adonthell: FTBFS: py_adonthell_wrap.cc:1177: error: invalid conversion from 'const char*' to 'char*'



Package: adonthell
Version: 0.3.4.cvs.20050813-3
Severity: serious
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20080419 qa-ftbfs
Justification: FTBFS on i386

Hi,

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

This rebuild was done with gcc 4.3 instead of gcc 4.2, because gcc 4.3 is now
the default on most architectures (even if it's not the case on i386 yet).
Feel free to downgrade this bug to 'important' if your package is only built
on i386, and this bug is specific to gcc 4.3 (i.e the package builds fine with
gcc 4.2).

Relevant part:
> if i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..   -DOGG_MUSIC -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include -I/usr/include/python2.5 -DPY_DEBUG -I/usr/include/freetype2   -Wall -fno-exceptions -DSWIG_GLOBAL -DDATA_DIR="\"/usr/share/games/adonthell"\" -O2 -MT py_adonthell_wrap.o -MD -MP -MF ".deps/py_adonthell_wrap.Tpo" \
> 	  -c -o py_adonthell_wrap.o `test -f 'py_adonthell_wrap.cc' || echo './'`py_adonthell_wrap.cc; \
> 	then mv -f ".deps/py_adonthell_wrap.Tpo" ".deps/py_adonthell_wrap.Po"; \
> 	else rm -f ".deps/py_adonthell_wrap.Tpo"; exit 1; \
> 	fi
> In file included from /usr/include/c++/4.3/ext/hash_map:64,
>                  from str_hash.h:27,
>                  from storage.h:34,
>                  from character_base.h:37,
>                  from mapcharacter.h:36,
>                  from character.h:29,
>                  from map_event.h:26,
>                  from py_adonthell_wrap.cc:1439:
> /usr/include/c++/4.3/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.
> py_adonthell_wrap.cc: In function 'int SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, int)':
> py_adonthell_wrap.cc:1177: error: invalid conversion from 'const char*' to 'char*'
> In file included from event.h:27,
>                  from time_event.h:25,
>                  from py_adonthell_wrap.cc:1438:
> py_object.h: In member function 'PyObject* py_object::get_instance(const bool&) const':
> py_object.h:206: warning: suggest explicit braces to avoid ambiguous 'else'
> In file included from win_container.h:19,
>                  from win_object.h:19,
>                  from win_label.h:18,
>                  from text_bubble.h:31,
>                  from mapcharacter.h:38,
>                  from character.h:29,
>                  from map_event.h:26,
>                  from py_adonthell_wrap.cc:1439:
> win_base.h: In member function 'void win_base::set_activate(bool)':
> win_base.h:153: warning: suggest parentheses around assignment used as truth value
> In file included from win_scroll.h:19,
>                  from win_theme.h:18,
>                  from text_bubble.h:32,
>                  from mapcharacter.h:38,
>                  from character.h:29,
>                  from map_event.h:26,
>                  from py_adonthell_wrap.cc:1439:
> win_scrollbar.h: In member function 'void win_scrollbar::set_trans_scrollbar(bool)':
> win_scrollbar.h:54: warning: suggest parentheses around assignment used as truth value
> py_adonthell_wrap.cc: In function 'void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)':
> py_adonthell_wrap.cc:28595: error: invalid conversion from 'const char*' to 'char*'
> py_adonthell_wrap.cc: At global scope:
> py_adonthell_wrap.cc:231: warning: 'swig_type_info* SWIG_TypeDynamicCast(swig_type_info*, void**)' defined but not used
> py_adonthell_wrap.cc:419: warning: 'const char* SWIG_UnpackDataName(const char*, void*, size_t, const char*)' defined but not used
> py_adonthell_wrap.cc:499: warning: 'void SWIG_PropagateClientData(swig_type_info*)' defined but not used
> py_adonthell_wrap.cc:1198: warning: 'void* SWIG_Python_MustGetPtr(PyObject*, swig_type_info*, int, int)' defined but not used
> py_adonthell_wrap.cc:1212: warning: 'int SWIG_Python_ConvertPacked(PyObject*, void*, size_t, swig_type_info*, int)' defined but not used
> make[4]: *** [py_adonthell_wrap.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2008/04/19

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 containing a sid i386
environment.  Internet was not accessible from the build systems.

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



Reply to: