Bug#966911: mame: FTBFS: ../../../../../3rdparty/sol2/sol/stack_push.hpp:549:39: error: call of overloaded ‘push<const wchar_t*>(lua_State*&, const wchar_t [2], const wchar_t*) ’ is ambiguous
Lucas Nussbaum
lucas at debian.org
Mon Aug 3 09:04:19 BST 2020
Source: mame
Version: 0.222+dfsg.1-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -g0 -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -MMD -MP -MP -DPTR64=1 -DNDEBUG -DCRLF=2 -DLSB_FIRST -DXMD_H -DFLAC__NO_DLL -DNATIVE_DRC=drcbe_x64 -DLUA_COMPAT_ALL -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -DNO_AFFINITY_NP -I"../../../../../src/osd" -I"../../../../../src/emu" -I"../../../../../src/devices" -I"../../../../../src/mame" -I"../../../../../src/lib" -I"../../../../../src/lib/util" -I"../../../../../src/lib/netlist" -I"../../../../../3rdparty" -I"../../../../generated/mame/layout" -I"../../../../../scripts" -m64 -pipe -O3 -fno-strict-aliasing -Wno-unknown-pragmas -Wall -Wcast-align -Wundef -Wformat-security -Wwrite-strings -Wno-sign-compare -Wno-conversion -Wno-error=deprecated-declarations -Wno-unused-result -Wno-array-bounds -Wno-format-overflow -Wno-stringop-truncation -Wno-stringop-overflow -Wno-return-local-addr -m64 -std=c++14 -Woverloaded-virtual -Wno-class-memaccess -Wsuggest-override -flifetime-dse=1 -include ../../../../linux_gcc/obj/x64/Release/emu.h -o "../../../../linux_gcc/obj/x64/Release/src/mame/drivers/fidel_excel.o" -c "../../../../../src/mame/drivers/fidel_excel.cpp"
> In file included from ../../../../../3rdparty/sol2/sol/stack.hpp:30,
> from ../../../../../3rdparty/sol2/sol/object.hpp:26,
> from ../../../../../3rdparty/sol2/sol/proxy.hpp:26,
> from ../../../../../3rdparty/sol2/sol/table_core.hpp:25,
> from ../../../../../3rdparty/sol2/sol/table.hpp:25,
> from ../../../../../3rdparty/sol2/sol/state_view.hpp:26,
> from ../../../../../3rdparty/sol2/sol/state.hpp:25,
> from ../../../../../3rdparty/sol2/sol.hpp:45,
> from ../../../../../src/frontend/mame/luaengine.h:27,
> from ../../../../../src/frontend/mame/clifront.cpp:19:
> ../../../../../3rdparty/sol2/sol/stack_push.hpp: In instantiation of ‘static int sol::stack::pusher<wchar_t [N]>::push(lua_State*, const wchar_t (&)[N], std::size_t) [with long unsigned int N = 2; lua_State = lua_State; std::size_t = long unsigned int]’:
> ../../../../../3rdparty/sol2/sol/stack_core.hpp:173:48: required from ‘int sol::stack::push(lua_State*, T&&, Args&& ...) [with T = const wchar_t (&)[2]; Args = {int}; lua_State = lua_State]’
> ../../../../../3rdparty/sol2/sol/stack_push.hpp:579:33: required from here
> ../../../../../3rdparty/sol2/sol/stack_push.hpp:549:39: error: call of overloaded ‘push<const wchar_t*>(lua_State*&, const wchar_t [2], const wchar_t*)’ is ambiguous
> 549 | return stack::push<const wchar_t*>(L, str, str + sz);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
> In file included from ../../../../../3rdparty/sol2/sol/stack.hpp:25,
> from ../../../../../3rdparty/sol2/sol/object.hpp:26,
> from ../../../../../3rdparty/sol2/sol/proxy.hpp:26,
> from ../../../../../3rdparty/sol2/sol/table_core.hpp:25,
> from ../../../../../3rdparty/sol2/sol/table.hpp:25,
> from ../../../../../3rdparty/sol2/sol/state_view.hpp:26,
> from ../../../../../3rdparty/sol2/sol/state.hpp:25,
> from ../../../../../3rdparty/sol2/sol.hpp:45,
> from ../../../../../src/frontend/mame/luaengine.h:27,
> from ../../../../../src/frontend/mame/clifront.cpp:19:
> ../../../../../3rdparty/sol2/sol/stack_core.hpp:172:14: note: candidate: ‘int sol::stack::push(lua_State*, T&&, Args&& ...) [with T = const wchar_t*; Args = {const wchar_t*}; lua_State = lua_State]’
> 172 | inline int push(lua_State* L, T&& t, Args&&... args) {
> | ^~~~
> ../../../../../3rdparty/sol2/sol/stack_core.hpp:178:14: note: candidate: ‘int sol::stack::push(lua_State*, Arg&&, Args&& ...) [with T = const wchar_t*; Arg = const wchar_t (&)[2]; Args = {const wchar_t*}; <template-parameter-1-4> = void; lua_State = lua_State]’
> 178 | inline int push(lua_State* L, Arg&& arg, Args&&... args) {
> | ^~~~
> In file included from ../../../../../3rdparty/sol2/sol/stack.hpp:30,
> from ../../../../../3rdparty/sol2/sol/object.hpp:26,
> from ../../../../../3rdparty/sol2/sol/proxy.hpp:26,
> from ../../../../../3rdparty/sol2/sol/table_core.hpp:25,
> from ../../../../../3rdparty/sol2/sol/table.hpp:25,
> from ../../../../../3rdparty/sol2/sol/state_view.hpp:26,
> from ../../../../../3rdparty/sol2/sol/state.hpp:25,
> from ../../../../../3rdparty/sol2/sol.hpp:45,
> from ../../../../../src/frontend/mame/luaengine.h:27,
> from ../../../../../src/frontend/mame/clifront.cpp:19:
> ../../../../../3rdparty/sol2/sol/stack_push.hpp: In instantiation of ‘static int sol::stack::pusher<char16_t [N]>::push(lua_State*, const char16_t (&)[N], std::size_t) [with long unsigned int N = 2; lua_State = lua_State; std::size_t = long unsigned int]’:
> ../../../../../3rdparty/sol2/sol/stack_core.hpp:173:48: required from ‘int sol::stack::push(lua_State*, T&&, Args&& ...) [with T = const char16_t (&)[2]; Args = {int}; lua_State = lua_State]’
> ../../../../../3rdparty/sol2/sol/stack_push.hpp:587:33: required from here
> ../../../../../3rdparty/sol2/sol/stack_push.hpp:560:40: error: call of overloaded ‘push<const char16_t*>(lua_State*&, const char16_t [2], const char16_t*)’ is ambiguous
> 560 | return stack::push<const char16_t*>(L, str, str + sz);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
> In file included from ../../../../../3rdparty/sol2/sol/stack.hpp:25,
> from ../../../../../3rdparty/sol2/sol/object.hpp:26,
> from ../../../../../3rdparty/sol2/sol/proxy.hpp:26,
> from ../../../../../3rdparty/sol2/sol/table_core.hpp:25,
> from ../../../../../3rdparty/sol2/sol/table.hpp:25,
> from ../../../../../3rdparty/sol2/sol/state_view.hpp:26,
> from ../../../../../3rdparty/sol2/sol/state.hpp:25,
> from ../../../../../3rdparty/sol2/sol.hpp:45,
> from ../../../../../src/frontend/mame/luaengine.h:27,
> from ../../../../../src/frontend/mame/clifront.cpp:19:
> ../../../../../3rdparty/sol2/sol/stack_core.hpp:172:14: note: candidate: ‘int sol::stack::push(lua_State*, T&&, Args&& ...) [with T = const char16_t*; Args = {const char16_t*}; lua_State = lua_State]’
> 172 | inline int push(lua_State* L, T&& t, Args&&... args) {
> | ^~~~
> ../../../../../3rdparty/sol2/sol/stack_core.hpp:178:14: note: candidate: ‘int sol::stack::push(lua_State*, Arg&&, Args&& ...) [with T = const char16_t*; Arg = const char16_t (&)[2]; Args = {const char16_t*}; <template-parameter-1-4> = void; lua_State = lua_State]’
> 178 | inline int push(lua_State* L, Arg&& arg, Args&&... args) {
> | ^~~~
> In file included from ../../../../../3rdparty/sol2/sol/stack.hpp:30,
> from ../../../../../3rdparty/sol2/sol/object.hpp:26,
> from ../../../../../3rdparty/sol2/sol/proxy.hpp:26,
> from ../../../../../3rdparty/sol2/sol/table_core.hpp:25,
> from ../../../../../3rdparty/sol2/sol/table.hpp:25,
> from ../../../../../3rdparty/sol2/sol/state_view.hpp:26,
> from ../../../../../3rdparty/sol2/sol/state.hpp:25,
> from ../../../../../3rdparty/sol2/sol.hpp:45,
> from ../../../../../src/frontend/mame/luaengine.h:27,
> from ../../../../../src/frontend/mame/clifront.cpp:19:
> ../../../../../3rdparty/sol2/sol/stack_push.hpp: In instantiation of ‘static int sol::stack::pusher<char32_t [N]>::push(lua_State*, const char32_t (&)[N], std::size_t) [with long unsigned int N = 2; lua_State = lua_State; std::size_t = long unsigned int]’:
> ../../../../../3rdparty/sol2/sol/stack_core.hpp:173:48: required from ‘int sol::stack::push(lua_State*, T&&, Args&& ...) [with T = const char32_t (&)[2]; Args = {int}; lua_State = lua_State]’
> ../../../../../3rdparty/sol2/sol/stack_push.hpp:595:33: required from here
> ../../../../../3rdparty/sol2/sol/stack_push.hpp:571:40: error: call of overloaded ‘push<const char32_t*>(lua_State*&, const char32_t [2], const char32_t*)’ is ambiguous
> 571 | return stack::push<const char32_t*>(L, str, str + sz);
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
> In file included from ../../../../../3rdparty/sol2/sol/stack.hpp:25,
> from ../../../../../3rdparty/sol2/sol/object.hpp:26,
> from ../../../../../3rdparty/sol2/sol/proxy.hpp:26,
> from ../../../../../3rdparty/sol2/sol/table_core.hpp:25,
> from ../../../../../3rdparty/sol2/sol/table.hpp:25,
> from ../../../../../3rdparty/sol2/sol/state_view.hpp:26,
> from ../../../../../3rdparty/sol2/sol/state.hpp:25,
> from ../../../../../3rdparty/sol2/sol.hpp:45,
> from ../../../../../src/frontend/mame/luaengine.h:27,
> from ../../../../../src/frontend/mame/clifront.cpp:19:
> ../../../../../3rdparty/sol2/sol/stack_core.hpp:172:14: note: candidate: ‘int sol::stack::push(lua_State*, T&&, Args&& ...) [with T = const char32_t*; Args = {const char32_t*}; lua_State = lua_State]’
> 172 | inline int push(lua_State* L, T&& t, Args&&... args) {
> | ^~~~
> ../../../../../3rdparty/sol2/sol/stack_core.hpp:178:14: note: candidate: ‘int sol::stack::push(lua_State*, Arg&&, Args&& ...) [with T = const char32_t*; Arg = const char32_t (&)[2]; Args = {const char32_t*}; <template-parameter-1-4> = void; lua_State = lua_State]’
> 178 | inline int push(lua_State* L, Arg&& arg, Args&&... args) {
> | ^~~~
> make[4]: *** [frontend.make:686: ../../../../linux_gcc/obj/x64/Release/src/frontend/mame/clifront.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/08/02/mame_0.222+dfsg.1-2_unstable.log
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 EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-games-devel
mailing list