Bug#812273: minetest: FTBFS with GCC 6: is protected

Martin Michlmayr tbm at hpe.com
Fri Jan 22 03:40:58 UTC 2016


Package: minetest
Version: 0.4.13+repack-1
Severity: normal
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

You can find a snapshot of GCC 6 in experimental.  To build with
GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> cd /<<BUILDDIR>>/minetest-0.4.13+repack/obj-x86_64-linux-gnu/src && /usr/bin/c++   -DSERVER -DUSE_CMAKE_CONFIG_H -I/usr/include/leveldb -I/<<BUILDDIR>>/minetest-0.4.13+repack/obj-x86_64-linux-gnu/src -I/<<BUILDDIR>>/minetest-0.4.13+repack/src -I/usr/include/irrlicht -I/<<BUILDDIR>>/minetest-0.4.13+repack/src/None -I/usr/include/AL -I/usr/include/luajit-2.0 -I/<<BUILDDIR>>/minetest-0.4.13+repack/src/gmp -I/usr/include/jsoncpp -I/<<BUILDDIR>>/minetest-0.4.13+repack/src/script -I/usr/include/freetype2 -I/<<BUILDDIR>>/minetest-0.4.13+repack/src/cguittfont  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2    -o CMakeFiles/minetestserver.dir/unittest/test_collision.cpp.o -c /<<BUILDDIR>>/minetest-0.4.13+repack/src/unittest/test_collision.cpp
> /<<BUILDDIR>>/minetest-0.4.13+repack/src/script/lua_api/l_env.cpp: In member function 'virtual void LuaABM::trigger(ServerEnvironment*, v3s16, MapNode, irr::u32, irr::u32)':
> /<<BUILDDIR>>/minetest-0.4.13+repack/src/script/lua_api/l_env.cpp:49:28: error: 'void ScriptApiBase::realityCheck()' is protected within this context
>   scriptIface->realityCheck();
>                             ^
> 
> In file included from /<<BUILDDIR>>/minetest-0.4.13+repack/src/script/scripting_game.h:23:0,
>                  from /<<BUILDDIR>>/minetest-0.4.13+repack/src/script/lua_api/l_env.cpp:28:
> /<<BUILDDIR>>/minetest-0.4.13+repack/src/script/cpp_api/s_base.h:96:7: note: declared protected here
>   void realityCheck();
>        ^~~~~~~~~~~~
> 
> /<<BUILDDIR>>/minetest-0.4.13+repack/src/script/lua_api/l_env.cpp:51:39: error: 'lua_State* ScriptApiBase::getStack()' is protected within this context
>   lua_State *L = scriptIface->getStack();
>                                        ^
> 
> In file included from /<<BUILDDIR>>/minetest-0.4.13+repack/src/script/scripting_game.h:23:0,
>                  from /<<BUILDDIR>>/minetest-0.4.13+repack/src/script/lua_api/l_env.cpp:28:
> /<<BUILDDIR>>/minetest-0.4.13+repack/src/script/cpp_api/s_base.h:93:13: note: declared protected here
>   lua_State* getStack()
>              ^~~~~~~~
> 
> /<<BUILDDIR>>/minetest-0.4.13+repack/src/script/lua_api/l_env.cpp:85:53: error: 'void ScriptApiBase::scriptError(int, const char*)' is protected within this context
>    scriptIface->scriptError(result, "LuaABM::trigger");
>                                                      ^
> 
> In file included from /<<BUILDDIR>>/minetest-0.4.13+repack/src/script/scripting_game.h:23:0,
>                  from /<<BUILDDIR>>/minetest-0.4.13+repack/src/script/lua_api/l_env.cpp:28:
> /<<BUILDDIR>>/minetest-0.4.13+repack/src/script/cpp_api/s_base.h:97:7: note: declared protected here
>   void scriptError(int result, const char *fxn);
>        ^~~~~~~~~~~

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the Pkg-games-devel mailing list