Luabind failed to compile

Hello folks!

I have a little problem. The build of luabind stops everytime at:

...skipped <pbin/gcc-10.2.0/debug>libluabindd.so.0.9.0 for lack of <pbin/gcc-10.2.0/debug>src/pcall.o...
...failed updating 1 target...
...skipped 1 target...
...updated 20 targets...

It is this part:

gcc.compile.c++ bin/gcc-10.2.0/debug/src/pcall.o
src/pcall.cpp: In function 'int luabind::detail::resume_impl(lua_State*, int, int)':
src/pcall.cpp:51:38: error: too few arguments to function 'int lua_resume(lua_State*, lua_State*, int, int*)'
   51 |   int res = lua_resume(L, NULL, nargs);
      |                                      ^
In file included from ./luabind/lua_include.hpp:31,
                 from src/pcall.cpp:27:
/usr/include/lua.h:300:15: note: declared here
  300 | LUA_API int  (lua_resume)     (lua_State *L, lua_State *from, int narg,
      |               ^~~~~~~~~~

    "g++"   -fPIC -O0 -fno-inline -Wall -g  -DLUABIND_DYNAMIC_LINK  -I"." -I"/usr/include"  -c -o "bin/gcc-10.2.0/debug/src/pcall.o" "src/pcall.cpp"

...failed gcc.compile.c++ bin/gcc-10.2.0/debug/src/pcall.o...

I also added this:

export BOOST_BUILD_PATH=/usr/share/boost-build/src/kernel/
export LUA_PATH=/usr/include/lua5.3

to the PKGBUILD.

full log
==> Making package: luabind-rpavlik-git v0.9.r145.ga0edf58-1 (Mon Apr 26 22:10:19 2021)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating luabind git repo...
Fetching origin
==> Validating source files with md5sums...
    luabind ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of luabind git repo...
Cloning into 'luabind'...
done.
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Jamroot:16: Unescaped special character in argument [luabind
Jamroot:16: Unescaped special character in argument DEBUG]
Jamroot:93: Unescaped special character in argument prefix:
Jamroot:94: Unescaped special character in argument includes:
Jamroot:95: Unescaped special character in argument lib:
Jamroot:96: Unescaped special character in argument candidates:
Jamroot:97: Unescaped special character in argument to:
warning: No toolsets are configured.
warning: Configuring default toolset "gcc".
warning: If the default is wrong, your build may not work correctly.
warning: Use the "toolset=xxxxx" option to override our guess.
warning: For more configuration options, please consult
warning: http://boost.org/boost-build2/doc/html/bbv2/advanced/configuration.html
...patience...
...found 1006 targets...
...updating 22 targets...
gcc.compile.c++ bin/gcc-10.2.0/debug/src/class_registry.o
gcc.compile.c++ bin/gcc-10.2.0/debug/src/class.o
In file included from /usr/include/boost/bind.hpp:30,
                 from ./luabind/class.hpp:78,
                 from src/class.cpp:30:
/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
In file included from ./luabind/class.hpp:92,
                 from src/class.cpp:30:
./luabind/scope.hpp:59:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   59 |         explicit scope(std::auto_ptr<detail::registration> reg);
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/class.cpp:30:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/object_rep.hpp:32,
                 from ./luabind/detail/policy.hpp:61,
                 from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from src/class.cpp:30:
./luabind/detail/instance_holder.hpp:53:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   53 | void release_ownership(std::auto_ptr<T>& p)
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/class.cpp:30:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/policy.hpp:64,
                 from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from src/class.cpp:30:
./luabind/detail/has_get_pointer.hpp:61:23: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   61 |   T* get_pointer(std::auto_ptr<T> const&);
      |                       ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/class.cpp:30:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from src/class.cpp:30:
./luabind/detail/policy.hpp: In function 'void luabind::detail::make_pointee_instance(lua_State*, T&, mpl_::false_, mpl_::true_)':
./luabind/detail/policy.hpp:193:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  193 |         std::auto_ptr<T> ptr(new T(x));
      |              ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/class.cpp:30:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/class.hpp:94,
                 from src/class.cpp:30:
./luabind/function.hpp: In function 'luabind::scope luabind::def(const char*, F, const Policies&)':
./luabind/function.hpp:49:23: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   49 |     return scope(std::auto_ptr<detail::registration>(
      |                       ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/class.cpp:30:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/class.hpp:96,
                 from src/class.cpp:30:
./luabind/detail/constructor.hpp: In member function 'void luabind::detail::construct_aux<0, T, Pointer, Signature>::operator()(const luabind::adl::argument&) const':
./luabind/detail/constructor.hpp:50:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   50 |         std::auto_ptr<T> instance(new T);
      |              ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/class.cpp:30:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from src/class.cpp:30:
./luabind/class.hpp: At global scope:
./luabind/class.hpp:338:26: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  338 |             typedef std::auto_ptr<T> type;
      |                          ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/class.cpp:30:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
src/class.cpp: In constructor 'luabind::detail::class_base::class_base(const char*)':
src/class.cpp:238:22: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  238 |         : scope(std::auto_ptr<registration>(
      |                      ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/class.cpp:30:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
src/class.cpp: In member function 'void luabind::detail::class_base::add_member(luabind::detail::registration*)':
src/class.cpp:261:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  261 |   std::auto_ptr<registration> ptr(member);
      |        ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/class.cpp:30:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
src/class.cpp: In member function 'void luabind::detail::class_base::add_default_member(luabind::detail::registration*)':
src/class.cpp:267:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  267 |   std::auto_ptr<registration> ptr(member);
      |        ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/class.cpp:30:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
gcc.compile.c++ bin/gcc-10.2.0/debug/src/class_rep.o
In file included from /usr/include/boost/bind.hpp:30,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
In file included from ./luabind/class.hpp:92,
                 from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
./luabind/scope.hpp:59:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   59 |         explicit scope(std::auto_ptr<detail::registration> reg);
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/object_rep.hpp:32,
                 from ./luabind/detail/policy.hpp:61,
                 from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
./luabind/detail/instance_holder.hpp:53:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   53 | void release_ownership(std::auto_ptr<T>& p)
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/policy.hpp:64,
                 from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
./luabind/detail/has_get_pointer.hpp:61:23: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   61 |   T* get_pointer(std::auto_ptr<T> const&);
      |                       ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
./luabind/detail/policy.hpp: In function 'void luabind::detail::make_pointee_instance(lua_State*, T&, mpl_::false_, mpl_::true_)':
./luabind/detail/policy.hpp:193:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  193 |         std::auto_ptr<T> ptr(new T(x));
      |              ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/class.hpp:94,
                 from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
./luabind/function.hpp: In function 'luabind::scope luabind::def(const char*, F, const Policies&)':
./luabind/function.hpp:49:23: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   49 |     return scope(std::auto_ptr<detail::registration>(
      |                       ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/class.hpp:96,
                 from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
./luabind/detail/constructor.hpp: In member function 'void luabind::detail::construct_aux<0, T, Pointer, Signature>::operator()(const luabind::adl::argument&) const':
./luabind/detail/constructor.hpp:50:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   50 |         std::auto_ptr<T> instance(new T);
      |              ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
./luabind/class.hpp: At global scope:
./luabind/class.hpp:338:26: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  338 |             typedef std::auto_ptr<T> type;
      |                          ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_rep.cpp:29:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
gcc.compile.c++ bin/gcc-10.2.0/debug/src/create_class.o
In file included from /usr/include/boost/bind.hpp:30,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
In file included from ./luabind/class.hpp:92,
                 from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
./luabind/scope.hpp:59:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   59 |         explicit scope(std::auto_ptr<detail::registration> reg);
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/object_rep.hpp:32,
                 from ./luabind/detail/policy.hpp:61,
                 from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
./luabind/detail/instance_holder.hpp:53:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   53 | void release_ownership(std::auto_ptr<T>& p)
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/policy.hpp:64,
                 from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
./luabind/detail/has_get_pointer.hpp:61:23: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   61 |   T* get_pointer(std::auto_ptr<T> const&);
      |                       ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
./luabind/detail/policy.hpp: In function 'void luabind::detail::make_pointee_instance(lua_State*, T&, mpl_::false_, mpl_::true_)':
./luabind/detail/policy.hpp:193:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  193 |         std::auto_ptr<T> ptr(new T(x));
      |              ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/class.hpp:94,
                 from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
./luabind/function.hpp: In function 'luabind::scope luabind::def(const char*, F, const Policies&)':
./luabind/function.hpp:49:23: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   49 |     return scope(std::auto_ptr<detail::registration>(
      |                       ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/class.hpp:96,
                 from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
./luabind/detail/constructor.hpp: In member function 'void luabind::detail::construct_aux<0, T, Pointer, Signature>::operator()(const luabind::adl::argument&) const':
./luabind/detail/constructor.hpp:50:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   50 |         std::auto_ptr<T> instance(new T);
      |              ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
./luabind/class.hpp: At global scope:
./luabind/class.hpp:338:26: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  338 |             typedef std::auto_ptr<T> type;
      |                          ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/create_class.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
gcc.compile.c++ bin/gcc-10.2.0/debug/src/error.o
gcc.compile.c++ bin/gcc-10.2.0/debug/src/exception_handler.o
gcc.compile.c++ bin/gcc-10.2.0/debug/src/link_compatibility.o
gcc.compile.c++ bin/gcc-10.2.0/debug/src/class_info.o
In file included from /usr/include/boost/bind.hpp:30,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
In file included from ./luabind/class.hpp:92,
                 from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
./luabind/scope.hpp:59:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   59 |         explicit scope(std::auto_ptr<detail::registration> reg);
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/object_rep.hpp:32,
                 from ./luabind/detail/policy.hpp:61,
                 from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
./luabind/detail/instance_holder.hpp:53:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   53 | void release_ownership(std::auto_ptr<T>& p)
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/policy.hpp:64,
                 from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
./luabind/detail/has_get_pointer.hpp:61:23: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   61 |   T* get_pointer(std::auto_ptr<T> const&);
      |                       ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
./luabind/detail/policy.hpp: In function 'void luabind::detail::make_pointee_instance(lua_State*, T&, mpl_::false_, mpl_::true_)':
./luabind/detail/policy.hpp:193:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  193 |         std::auto_ptr<T> ptr(new T(x));
      |              ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/class.hpp:94,
                 from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
./luabind/function.hpp: In function 'luabind::scope luabind::def(const char*, F, const Policies&)':
./luabind/function.hpp:49:23: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   49 |     return scope(std::auto_ptr<detail::registration>(
      |                       ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/class.hpp:96,
                 from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
./luabind/detail/constructor.hpp: In member function 'void luabind::detail::construct_aux<0, T, Pointer, Signature>::operator()(const luabind::adl::argument&) const':
./luabind/detail/constructor.hpp:50:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   50 |         std::auto_ptr<T> instance(new T);
      |              ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
./luabind/class.hpp: At global scope:
./luabind/class.hpp:338:26: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  338 |             typedef std::auto_ptr<T> type;
      |                          ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from ./luabind/luabind.hpp:28,
                 from src/class_info.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
src/class_info.cpp: In function 'luabind::class_info luabind::get_class_info(const luabind::adl::argument&)':
src/class_info.cpp:43:8: warning: variable 'givenClassRep' set but not used [-Wunused-but-set-variable]
   43 |   bool givenClassRep = false;
      |        ^~~~~~~~~~~~~
gcc.compile.c++ bin/gcc-10.2.0/debug/src/object_rep.o
In file included from ./luabind/detail/object_rep.hpp:32,
                 from src/object_rep.cpp:25:
./luabind/detail/instance_holder.hpp:53:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   53 | void release_ownership(std::auto_ptr<T>& p)
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from ./luabind/detail/inheritance.hpp:11,
                 from ./luabind/detail/instance_holder.hpp:8,
                 from ./luabind/detail/object_rep.hpp:32,
                 from src/object_rep.cpp:25:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
gcc.compile.c++ bin/gcc-10.2.0/debug/src/pcall.o
src/pcall.cpp: In function 'int luabind::detail::resume_impl(lua_State*, int, int)':
src/pcall.cpp:51:38: error: too few arguments to function 'int lua_resume(lua_State*, lua_State*, int, int*)'
   51 |   int res = lua_resume(L, NULL, nargs);
      |                                      ^
In file included from ./luabind/lua_include.hpp:31,
                 from src/pcall.cpp:27:
/usr/include/lua.h:300:15: note: declared here
  300 | LUA_API int  (lua_resume)     (lua_State *L, lua_State *from, int narg,
      |               ^~~~~~~~~~

    "g++"   -fPIC -O0 -fno-inline -Wall -g  -DLUABIND_DYNAMIC_LINK  -I"." -I"/usr/include"  -c -o "bin/gcc-10.2.0/debug/src/pcall.o" "src/pcall.cpp"

...failed gcc.compile.c++ bin/gcc-10.2.0/debug/src/pcall.o...
gcc.compile.c++ bin/gcc-10.2.0/debug/src/inheritance.o
gcc.compile.c++ bin/gcc-10.2.0/debug/src/scope.o
In file included from src/scope.cpp:27:
./luabind/scope.hpp:59:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   59 |         explicit scope(std::auto_ptr<detail::registration> reg);
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from ./luabind/scope.hpp:29,
                 from src/scope.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
src/scope.cpp:55:23: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   55 |     scope::scope(std::auto_ptr<detail::registration> reg)
      |                       ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from ./luabind/scope.hpp:29,
                 from src/scope.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
src/scope.cpp: In constructor 'luabind::namespace_::namespace_(const char*)':
src/scope.cpp:199:22: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  199 |         : scope(std::auto_ptr<detail::registration>(
      |                      ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from ./luabind/scope.hpp:29,
                 from src/scope.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
gcc.compile.c++ bin/gcc-10.2.0/debug/src/weak_ref.o
gcc.compile.c++ bin/gcc-10.2.0/debug/src/stack_content_by_name.o
In file included from ./luabind/detail/object_rep.hpp:32,
                 from src/stack_content_by_name.cpp:28:
./luabind/detail/instance_holder.hpp:53:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   53 | void release_ownership(std::auto_ptr<T>& p)
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from ./luabind/detail/inheritance.hpp:11,
                 from ./luabind/detail/instance_holder.hpp:8,
                 from ./luabind/detail/object_rep.hpp:32,
                 from src/stack_content_by_name.cpp:28:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
gcc.compile.c++ bin/gcc-10.2.0/debug/src/function.o
In file included from ./luabind/detail/object_rep.hpp:32,
                 from ./luabind/detail/policy.hpp:61,
                 from ./luabind/detail/object.hpp:38,
                 from ./luabind/make_function.hpp:9,
                 from src/function.cpp:7:
./luabind/detail/instance_holder.hpp:53:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   53 | void release_ownership(std::auto_ptr<T>& p)
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from ./luabind/detail/policy.hpp:31,
                 from ./luabind/detail/object.hpp:38,
                 from ./luabind/make_function.hpp:9,
                 from src/function.cpp:7:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/policy.hpp:64,
                 from ./luabind/detail/object.hpp:38,
                 from ./luabind/make_function.hpp:9,
                 from src/function.cpp:7:
./luabind/detail/has_get_pointer.hpp:61:23: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   61 |   T* get_pointer(std::auto_ptr<T> const&);
      |                       ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from ./luabind/detail/policy.hpp:31,
                 from ./luabind/detail/object.hpp:38,
                 from ./luabind/make_function.hpp:9,
                 from src/function.cpp:7:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/object.hpp:38,
                 from ./luabind/make_function.hpp:9,
                 from src/function.cpp:7:
./luabind/detail/policy.hpp: In function 'void luabind::detail::make_pointee_instance(lua_State*, T&, mpl_::false_, mpl_::true_)':
./luabind/detail/policy.hpp:193:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  193 |         std::auto_ptr<T> ptr(new T(x));
      |              ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from ./luabind/detail/policy.hpp:31,
                 from ./luabind/detail/object.hpp:38,
                 from ./luabind/make_function.hpp:9,
                 from src/function.cpp:7:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
gcc.compile.c++ bin/gcc-10.2.0/debug/src/open.o
In file included from /usr/include/boost/bind.hpp:30,
                 from ./luabind/class.hpp:78,
                 from src/open.cpp:27:
/usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
   36 | BOOST_PRAGMA_MESSAGE(
      | ^~~~~~~~~~~~~~~~~~~~
In file included from ./luabind/class.hpp:92,
                 from src/open.cpp:27:
./luabind/scope.hpp:59:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   59 |         explicit scope(std::auto_ptr<detail::registration> reg);
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/open.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/object_rep.hpp:32,
                 from ./luabind/detail/policy.hpp:61,
                 from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from src/open.cpp:27:
./luabind/detail/instance_holder.hpp:53:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   53 | void release_ownership(std::auto_ptr<T>& p)
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/open.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/policy.hpp:64,
                 from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from src/open.cpp:27:
./luabind/detail/has_get_pointer.hpp:61:23: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   61 |   T* get_pointer(std::auto_ptr<T> const&);
      |                       ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/open.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/convert_to_lua.hpp:28,
                 from ./luabind/detail/call_member.hpp:30,
                 from ./luabind/wrapper_base.hpp:31,
                 from ./luabind/back_reference.hpp:29,
                 from ./luabind/class.hpp:93,
                 from src/open.cpp:27:
./luabind/detail/policy.hpp: In function 'void luabind::detail::make_pointee_instance(lua_State*, T&, mpl_::false_, mpl_::true_)':
./luabind/detail/policy.hpp:193:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  193 |         std::auto_ptr<T> ptr(new T(x));
      |              ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/open.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/class.hpp:94,
                 from src/open.cpp:27:
./luabind/function.hpp: In function 'luabind::scope luabind::def(const char*, F, const Policies&)':
./luabind/function.hpp:49:23: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   49 |     return scope(std::auto_ptr<detail::registration>(
      |                       ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/open.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/class.hpp:96,
                 from src/open.cpp:27:
./luabind/detail/constructor.hpp: In member function 'void luabind::detail::construct_aux<0, T, Pointer, Signature>::operator()(const luabind::adl::argument&) const':
./luabind/detail/constructor.hpp:50:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   50 |         std::auto_ptr<T> instance(new T);
      |              ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/open.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from src/open.cpp:27:
./luabind/class.hpp: At global scope:
./luabind/class.hpp:338:26: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  338 |             typedef std::auto_ptr<T> type;
      |                          ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:29,
                 from ./luabind/class.hpp:78,
                 from src/open.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
gcc.compile.c++ bin/gcc-10.2.0/debug/src/wrapper_base.o
In file included from ./luabind/detail/object_rep.hpp:32,
                 from ./luabind/detail/policy.hpp:61,
                 from ./luabind/detail/object.hpp:38,
                 from ./luabind/make_function.hpp:9,
                 from ./luabind/function.hpp:8,
                 from src/wrapper_base.cpp:27:
./luabind/detail/instance_holder.hpp:53:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   53 | void release_ownership(std::auto_ptr<T>& p)
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from ./luabind/detail/policy.hpp:31,
                 from ./luabind/detail/object.hpp:38,
                 from ./luabind/make_function.hpp:9,
                 from ./luabind/function.hpp:8,
                 from src/wrapper_base.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/policy.hpp:64,
                 from ./luabind/detail/object.hpp:38,
                 from ./luabind/make_function.hpp:9,
                 from ./luabind/function.hpp:8,
                 from src/wrapper_base.cpp:27:
./luabind/detail/has_get_pointer.hpp:61:23: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   61 |   T* get_pointer(std::auto_ptr<T> const&);
      |                       ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from ./luabind/detail/policy.hpp:31,
                 from ./luabind/detail/object.hpp:38,
                 from ./luabind/make_function.hpp:9,
                 from ./luabind/function.hpp:8,
                 from src/wrapper_base.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/detail/object.hpp:38,
                 from ./luabind/make_function.hpp:9,
                 from ./luabind/function.hpp:8,
                 from src/wrapper_base.cpp:27:
./luabind/detail/policy.hpp: In function 'void luabind::detail::make_pointee_instance(lua_State*, T&, mpl_::false_, mpl_::true_)':
./luabind/detail/policy.hpp:193:14: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
  193 |         std::auto_ptr<T> ptr(new T(x));
      |              ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from ./luabind/detail/policy.hpp:31,
                 from ./luabind/detail/object.hpp:38,
                 from ./luabind/make_function.hpp:9,
                 from ./luabind/function.hpp:8,
                 from src/wrapper_base.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from ./luabind/function.hpp:9,
                 from src/wrapper_base.cpp:27:
./luabind/scope.hpp: At global scope:
./luabind/scope.hpp:59:29: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   59 |         explicit scope(std::auto_ptr<detail::registration> reg);
      |                             ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from ./luabind/detail/policy.hpp:31,
                 from ./luabind/detail/object.hpp:38,
                 from ./luabind/make_function.hpp:9,
                 from ./luabind/function.hpp:8,
                 from src/wrapper_base.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
In file included from src/wrapper_base.cpp:27:
./luabind/function.hpp: In function 'luabind::scope luabind::def(const char*, F, const Policies&)':
./luabind/function.hpp:49:23: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
   49 |     return scope(std::auto_ptr<detail::registration>(
      |                       ^~~~~~~~
In file included from /usr/include/c++/10.2.0/memory:83,
                 from ./luabind/detail/policy.hpp:31,
                 from ./luabind/detail/object.hpp:38,
                 from ./luabind/make_function.hpp:9,
                 from ./luabind/function.hpp:8,
                 from src/wrapper_base.cpp:27:
/usr/include/c++/10.2.0/bits/unique_ptr.h:57:28: note: declared here
   57 |   template<typename> class auto_ptr;
      |                            ^~~~~~~~
...skipped <pbin/gcc-10.2.0/debug>libluabindd.so.0.9.0 for lack of <pbin/gcc-10.2.0/debug>src/pcall.o...
...failed updating 1 target...
...skipped 1 target...
...updated 20 targets...
==> ERROR: A failure occurred in build().
    Aborting...

I searched the web, but i see no solution.

Anyone have an idea?

I badly need this to compile the ryzom dev client :slight_smile:

Thank you :wink:

see this

there is too much requests to AUR with pamac ( priority to solve )

2 Likes

That does not explain the build errors though. :wink:
Different issue…

1 Like

Sorry, that is not the issue…

I did this with makepkg :wink:

see this
/etc/makepkg.conf.pacnew appears in Testing

No sorry, it builds everything except pcall.o, that is the issue.

Here is this output btw:

pacdiff -l -o                                                                             ✔ 
/etc/default/grub.pacnew
/etc/pipewire/media-session.d/alsa-monitor.conf.pacnew
/etc/pipewire/media-session.d/media-session.conf.pacnew

I fixed it. It seems, it works only with lua51. I added:

export BOOST_BUILD_PATH=/usr/share/boost-build/src/kernel/
export LUA_PATH=/usr/include/lua5.1

and installed lua51:

pamac install lua51

And it worked.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.