Bug#1129803: xboxdrv: FTBFS: /usr/include/c++/15/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

Santiago Vila sanvila at debian.org
Thu Mar 5 23:13:32 GMT 2026


Package: src:xboxdrv
Version: 0.8.8-4
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202603/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:xboxdrv, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean
	make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
scons -c
scons: Reading SConscript files ...
Checking for C++ library X11... yes
scons: done reading SConscript files.
scons: Cleaning targets ...
scons: done cleaning targets.
rm -rf .sconf_temp/
rm -f .sconsign.dblite
rm -f config.log
make[1]: Leaving directory '/<<PKGBUILDDIR>>'

[... snipped ...]

      |         ^~~~~~~~~~~~~~~~
/usr/include/boost/function/function_template.hpp:507:9: note: previous declaration ‘template<class R, class ... T> template<class FunctionObj, class Allocator> void boost::detail::function::basic_vtable<R, T>::assign_functor_a(FunctionObj, boost::detail::function::function_buffer&, Allocator, int) const’
  507 |         assign_functor_a(FunctionObj f, function_buffer& functor, Allocator, std::true_type) const
      |         ^~~~~~~~~~~~~~~~
/usr/include/boost/function/function_template.hpp: In member function ‘bool boost::detail::function::basic_vtable<R, T>::assign_to(F, boost::detail::function::function_buffer&) const’:
/usr/include/boost/function/function_template.hpp:425:33: error: ‘move’ is not a member of ‘std’ [-Wtemplate-body]
  425 |           return assign_to(std::move(f), functor, tag());
      |                                 ^~~~
/usr/include/boost/function/function_template.hpp:425:33: note: ‘std::move’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp: In member function ‘bool boost::detail::function::basic_vtable<R, T>::assign_to_a(F, boost::detail::function::function_buffer&, Allocator) const’:
/usr/include/boost/function/function_template.hpp:431:35: error: ‘move’ is not a member of ‘std’ [-Wtemplate-body]
  431 |           return assign_to_a(std::move(f), functor, a, tag());
      |                                   ^~~~
/usr/include/boost/function/function_template.hpp:431:35: note: ‘std::move’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp: In member function ‘bool boost::detail::function::basic_vtable<R, T>::assign_to_a(FunctionPtr, boost::detail::function::function_buffer&, Allocator, boost::detail::function::function_ptr_tag) const’:
/usr/include/boost/function/function_template.hpp:466:33: error: ‘move’ is not a member of ‘std’ [-Wtemplate-body]
  466 |           return assign_to(std::move(f),functor,function_ptr_tag());
      |                                 ^~~~
/usr/include/boost/function/function_template.hpp:466:33: note: ‘std::move’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp: In member function ‘void boost::detail::function::basic_vtable<R, T>::assign_functor(FunctionObj, boost::detail::function::function_buffer&, int) const’:
/usr/include/boost/function/function_template.hpp:503:72: error: ‘move’ is not a member of ‘std’ [-Wtemplate-body]
  503 |           new (reinterpret_cast<void*>(functor.data)) FunctionObj(std::move(f));
      |                                                                        ^~~~
/usr/include/boost/function/function_template.hpp:503:72: note: ‘std::move’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp: In member function ‘void boost::detail::function::basic_vtable<R, T>::assign_functor_a(FunctionObj, boost::detail::function::function_buffer&, Allocator, int) const’:
/usr/include/boost/function/function_template.hpp:509:31: error: ‘move’ is not a member of ‘std’ [-Wtemplate-body]
  509 |           assign_functor(std::move(f),functor,std::true_type());
      |                               ^~~~
/usr/include/boost/function/function_template.hpp:509:31: note: ‘std::move’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp:509:52: error: ‘true_type’ is not a member of ‘std’ [-Wtemplate-body]
  509 |           assign_functor(std::move(f),functor,std::true_type());
      |                                                    ^~~~~~~~~
/usr/include/boost/function/function_template.hpp: In member function ‘void boost::detail::function::basic_vtable<R, T>::assign_functor(FunctionObj, boost::detail::function::function_buffer&, int) const’:
/usr/include/boost/function/function_template.hpp:517:58: error: ‘move’ is not a member of ‘std’ [-Wtemplate-body]
  517 |           functor.members.obj_ptr = new FunctionObj(std::move(f));
      |                                                          ^~~~
/usr/include/boost/function/function_template.hpp:517:58: note: ‘std::move’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp: In member function ‘void boost::detail::function::basic_vtable<R, T>::assign_functor_a(FunctionObj, boost::detail::function::function_buffer&, Allocator, int) const’:
/usr/include/boost/function/function_template.hpp:525:17: error: expected nested-name-specifier before ‘wrapper_allocator_type’ [-Wtemplate-body]
  525 |           using wrapper_allocator_type = typename std::allocator_traits<Allocator>::template rebind_alloc<functor_wrapper_type>;
      |                 ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/function/function_template.hpp:526:17: error: expected nested-name-specifier before ‘wrapper_allocator_pointer_type’ [-Wtemplate-body]
  526 |           using wrapper_allocator_pointer_type = typename std::allocator_traits<wrapper_allocator_type>::pointer;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/function/function_template.hpp:528:11: error: ‘wrapper_allocator_type’ was not declared in this scope [-Wtemplate-body]
  528 |           wrapper_allocator_type wrapper_allocator(a);
      |           ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/function/function_template.hpp:529:11: error: ‘wrapper_allocator_pointer_type’ was not declared in this scope [-Wtemplate-body]
  529 |           wrapper_allocator_pointer_type copy = wrapper_allocator.allocate(1);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/function/function_template.hpp:530:16: error: ‘allocator_traits’ is not a member of ‘std’ [-Wtemplate-body]
  530 |           std::allocator_traits<wrapper_allocator_type>::construct(wrapper_allocator, copy, functor_wrapper_type(f,a));
      |                ^~~~~~~~~~~~~~~~
/usr/include/boost/function/function_template.hpp:530:16: note: ‘std::allocator_traits’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp:530:58: error: ‘::construct’ has not been declared; did you mean ‘struct’? [-Wtemplate-body]
  530 |           std::allocator_traits<wrapper_allocator_type>::construct(wrapper_allocator, copy, functor_wrapper_type(f,a));
      |                                                          ^~~~~~~~~
      |                                                          struct
/usr/include/boost/function/function_template.hpp:530:68: error: ‘wrapper_allocator’ was not declared in this scope [-Wtemplate-body]
  530 |           std::allocator_traits<wrapper_allocator_type>::construct(wrapper_allocator, copy, functor_wrapper_type(f,a));
      |                                                                    ^~~~~~~~~~~~~~~~~
/usr/include/boost/function/function_template.hpp:530:87: error: ‘copy’ was not declared in this scope; did you mean ‘std::copy’? [-Wtemplate-body]
  530 |           std::allocator_traits<wrapper_allocator_type>::construct(wrapper_allocator, copy, functor_wrapper_type(f,a));
      |                                                                                       ^~~~
      |                                                                                       std::copy
/usr/include/c++/15/bits/streambuf_iterator.h:341:5: note: ‘std::copy’ declared here
  341 |     copy(istreambuf_iterator<_CharT> __first,
      |     ^~~~
/usr/include/boost/function/function_template.hpp: In member function ‘bool boost::detail::function::basic_vtable<R, T>::assign_to(FunctionObj, boost::detail::function::function_buffer&, boost::detail::function::function_obj_tag) const’:
/usr/include/boost/function/function_template.hpp:541:33: error: ‘move’ is not a member of ‘std’ [-Wtemplate-body]
  541 |             assign_functor(std::move(f), functor,
      |                                 ^~~~
/usr/include/boost/function/function_template.hpp:541:33: note: ‘std::move’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp:542:33: error: ‘integral_constant’ is not a member of ‘std’ [-Wtemplate-body]
  542 |                            std::integral_constant<bool, (function_allows_small_object_optimization<FunctionObj>::value)>());
      |                                 ^~~~~~~~~~~~~~~~~
/usr/include/boost/function/function_template.hpp:542:51: error: expected primary-expression before ‘bool’ [-Wtemplate-body]
  542 |                            std::integral_constant<bool, (function_allows_small_object_optimization<FunctionObj>::value)>());
      |                                                   ^~~~
/usr/include/boost/function/function_template.hpp:542:122: error: expected primary-expression before ‘)’ token [-Wtemplate-body]
  542 |                            std::integral_constant<bool, (function_allows_small_object_optimization<FunctionObj>::value)>());
      |                                                                                                                          ^
/usr/include/boost/function/function_template.hpp: In member function ‘bool boost::detail::function::basic_vtable<R, T>::assign_to_a(FunctionObj, boost::detail::function::function_buffer&, Allocator, boost::detail::function::function_obj_tag) const’:
/usr/include/boost/function/function_template.hpp:553:35: error: ‘move’ is not a member of ‘std’ [-Wtemplate-body]
  553 |             assign_functor_a(std::move(f), functor, a,
      |                                   ^~~~
/usr/include/boost/function/function_template.hpp:553:35: note: ‘std::move’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp:554:33: error: ‘integral_constant’ is not a member of ‘std’ [-Wtemplate-body]
  554 |                            std::integral_constant<bool, (function_allows_small_object_optimization<FunctionObj>::value)>());
      |                                 ^~~~~~~~~~~~~~~~~
/usr/include/boost/function/function_template.hpp:554:51: error: expected primary-expression before ‘bool’ [-Wtemplate-body]
  554 |                            std::integral_constant<bool, (function_allows_small_object_optimization<FunctionObj>::value)>());
      |                                                   ^~~~
/usr/include/boost/function/function_template.hpp:554:122: error: expected primary-expression before ‘)’ token [-Wtemplate-body]
  554 |                            std::integral_constant<bool, (function_allows_small_object_optimization<FunctionObj>::value)>());
      |                                                                                                                          ^
/usr/include/boost/function/function_template.hpp: In member function ‘bool boost::detail::function::basic_vtable<R, T>::assign_to(const boost::reference_wrapper<Y>&, boost::detail::function::function_buffer&, boost::detail::function::function_obj_ref_tag) const’:
/usr/include/boost/function/function_template.hpp:568:61: error: ‘is_const’ is not a member of ‘std’ [-Wtemplate-body]
  568 |           functor.members.obj_ref.is_const_qualified = std::is_const<FunctionObj>::value;
      |                                                             ^~~~~~~~
/usr/include/boost/function/function_template.hpp:568:81: error: expected primary-expression before ‘>’ token [-Wtemplate-body]
  568 |           functor.members.obj_ref.is_const_qualified = std::is_const<FunctionObj>::value;
      |                                                                                 ^
/usr/include/boost/function/function_template.hpp:568:84: error: ‘::value’ has not been declared [-Wtemplate-body]
  568 |           functor.members.obj_ref.is_const_qualified = std::is_const<FunctionObj>::value;
      |                                                                                    ^~~~~
/usr/include/boost/function/function_template.hpp:569:64: error: ‘is_volatile’ is not a member of ‘std’ [-Wtemplate-body]
  569 |           functor.members.obj_ref.is_volatile_qualified = std::is_volatile<FunctionObj>::value;
      |                                                                ^~~~~~~~~~~
/usr/include/boost/function/function_template.hpp:569:87: error: expected primary-expression before ‘>’ token [-Wtemplate-body]
  569 |           functor.members.obj_ref.is_volatile_qualified = std::is_volatile<FunctionObj>::value;
      |                                                                                       ^
/usr/include/boost/function/function_template.hpp:569:90: error: ‘::value’ has not been declared [-Wtemplate-body]
  569 |           functor.members.obj_ref.is_volatile_qualified = std::is_volatile<FunctionObj>::value;
      |                                                                                          ^~~~~
/usr/include/boost/function/function_template.hpp: At global scope:
/usr/include/boost/function/function_template.hpp:704:18: error: ‘is_trivially_copyable’ has not been declared in ‘std’
  704 |       using std::is_trivially_copyable;
      |                  ^~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/function/function_template.hpp:751:44: error: ‘enable_if’ in namespace ‘std’ does not name a template type [-Wtemplate-body]
  751 |                             ,typename std::enable_if<
      |                                            ^~~~~~~~~
/usr/include/boost/function/function_template.hpp:751:44: note: ‘std::enable_if’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp:751:53: error: expected ‘,’ or ‘...’ before ‘<’ token [-Wtemplate-body]
  751 |                             ,typename std::enable_if<
      |                                                     ^
/usr/include/boost/function/function_template.hpp:761:44: error: ‘enable_if’ in namespace ‘std’ does not name a template type [-Wtemplate-body]
  761 |                             ,typename std::enable_if<
      |                                            ^~~~~~~~~
/usr/include/boost/function/function_template.hpp:761:44: note: ‘std::enable_if’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp:761:53: error: expected ‘,’ or ‘...’ before ‘<’ token [-Wtemplate-body]
  761 |                             ,typename std::enable_if<
      |                                                     ^
/usr/include/boost/function/function_template.hpp:777:26: error: expected ‘,’ or ‘...’ before ‘&&’ token [-Wtemplate-body]
  777 |     function_n(function_n&& f) : function_base()
      |                          ^~
/usr/include/boost/function/function_template.hpp:777:5: error: invalid constructor; you probably meant ‘boost::function_n<R, T> (const boost::function_n<R, T>&)’ [-Wtemplate-body]
  777 |     function_n(function_n&& f) : function_base()
      |     ^~~~~~~~~~
/usr/include/boost/function/function_template.hpp:799:19: error: ‘enable_if’ in namespace ‘std’ does not name a template type [-Wtemplate-body]
  799 |     typename std::enable_if<
      |                   ^~~~~~~~~
/usr/include/boost/function/function_template.hpp:799:19: note: ‘std::enable_if’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp:799:28: error: expected unqualified-id before ‘<’ token [-Wtemplate-body]
  799 |     typename std::enable_if<
      |                            ^
/usr/include/boost/function/function_template.hpp:851:37: error: expected ‘,’ or ‘...’ before ‘&&’ token [-Wtemplate-body]
  851 |     function_n& operator=(function_n&& f)
      |                                     ^~
/usr/include/boost/function/function_template.hpp: In constructor ‘boost::function_n<R, T>::function_n(Functor, int)’:
/usr/include/boost/function/function_template.hpp:757:28: error: ‘move’ is not a member of ‘std’ [-Wtemplate-body]
  757 |       this->assign_to(std::move(f));
      |                            ^~~~
/usr/include/boost/function/function_template.hpp:757:28: note: ‘std::move’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp: In constructor ‘boost::function_n<R, T>::function_n(Functor, Allocator, int)’:
/usr/include/boost/function/function_template.hpp:767:30: error: ‘move’ is not a member of ‘std’ [-Wtemplate-body]
  767 |       this->assign_to_a(std::move(f),a);
      |                              ^~~~
/usr/include/boost/function/function_template.hpp:767:30: note: ‘std::move’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp: In member function ‘boost::function_n<R, T>::result_type boost::function_n<R, T>::operator()(T ...) const’:
/usr/include/boost/function/function_template.hpp:790:45: error: expected ‘>’ before ‘&&’ token [-Wtemplate-body]
  790 |                (this->functor, static_cast<T&&>(a)...);
      |                                             ^~
/usr/include/boost/function/function_template.hpp: In member function ‘boost::function_n<R, T>& boost::function_n<R, T>::operator=(boost::function_n<R, T>)’:
/usr/include/boost/function/function_template.hpp:853:12: error: ‘f’ was not declared in this scope [-Wtemplate-body]
  853 |       if (&f == this)
      |            ^
/usr/include/boost/function/function_template.hpp:858:27: error: ‘f’ was not declared in this scope [-Wtemplate-body]
  858 |         this->move_assign(f);
      |                           ^
/usr/include/boost/function/function_template.hpp: In member function ‘void boost::function_n<R, T>::assign_to(Functor)’:
/usr/include/boost/function/function_template.hpp:940:40: error: ‘move’ is not a member of ‘std’ [-Wtemplate-body]
  940 |       if (stored_vtable.assign_to(std::move(f), functor)) {
      |                                        ^~~~
/usr/include/boost/function/function_template.hpp:940:40: note: ‘std::move’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp:943:38: error: ‘is_trivially_copyable’ is not a member of ‘boost::detail::function’ [-Wtemplate-body]
  943 |         if (boost::detail::function::is_trivially_copyable<Functor>::value &&
      |                                      ^~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/function/function_template.hpp:943:67: error: expected primary-expression before ‘>’ token [-Wtemplate-body]
  943 |         if (boost::detail::function::is_trivially_copyable<Functor>::value &&
      |                                                                   ^
/usr/include/boost/function/function_template.hpp:943:70: error: ‘::value’ has not been declared [-Wtemplate-body]
  943 |         if (boost::detail::function::is_trivially_copyable<Functor>::value &&
      |                                                                      ^~~~~
/usr/include/boost/function/function_template.hpp: In member function ‘void boost::function_n<R, T>::assign_to_a(Functor, Allocator)’:
/usr/include/boost/function/function_template.hpp:973:42: error: ‘move’ is not a member of ‘std’ [-Wtemplate-body]
  973 |       if (stored_vtable.assign_to_a(std::move(f), functor, a)) {
      |                                          ^~~~
/usr/include/boost/function/function_template.hpp:973:42: note: ‘std::move’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp:976:38: error: ‘is_trivially_copyable’ is not a member of ‘boost::detail::function’ [-Wtemplate-body]
  976 |         if (boost::detail::function::is_trivially_copyable<Functor>::value &&
      |                                      ^~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/function/function_template.hpp:976:67: error: expected primary-expression before ‘>’ token [-Wtemplate-body]
  976 |         if (boost::detail::function::is_trivially_copyable<Functor>::value &&
      |                                                                   ^
/usr/include/boost/function/function_template.hpp:976:70: error: ‘::value’ has not been declared [-Wtemplate-body]
  976 |         if (boost::detail::function::is_trivially_copyable<Functor>::value &&
      |                                                                      ^~~~~
/usr/include/boost/function/function_template.hpp: At global scope:
/usr/include/boost/function/function_template.hpp:1080:27: error: ‘enable_if’ in namespace ‘std’ does not name a template type [-Wtemplate-body]
 1080 |            ,typename std::enable_if<
      |                           ^~~~~~~~~
/usr/include/boost/function/function_template.hpp:1080:27: note: ‘std::enable_if’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp:1080:36: error: expected ‘,’ or ‘...’ before ‘<’ token [-Wtemplate-body]
 1080 |            ,typename std::enable_if<
      |                                    ^
/usr/include/boost/function/function_template.hpp:1089:27: error: ‘enable_if’ in namespace ‘std’ does not name a template type [-Wtemplate-body]
 1089 |            ,typename std::enable_if<
      |                           ^~~~~~~~~
/usr/include/boost/function/function_template.hpp:1089:27: note: ‘std::enable_if’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp:1089:36: error: expected ‘,’ or ‘...’ before ‘<’ token [-Wtemplate-body]
 1089 |            ,typename std::enable_if<
      |                                    ^
/usr/include/boost/function/function_template.hpp:1104:21: error: expected ‘,’ or ‘...’ before ‘&&’ token [-Wtemplate-body]
 1104 |   function(self_type&& f): base_type(static_cast<base_type&&>(f)){}
      |                     ^~
/usr/include/boost/function/function_template.hpp:1104:3: error: invalid constructor; you probably meant ‘boost::function<R(T ...)> (const boost::function<R(T ...)>&)’ [-Wtemplate-body]
 1104 |   function(self_type&& f): base_type(static_cast<base_type&&>(f)){}
      |   ^~~~~~~~
/usr/include/boost/function/function_template.hpp:1105:21: error: expected ‘,’ or ‘...’ before ‘&&’ token [-Wtemplate-body]
 1105 |   function(base_type&& f): base_type(static_cast<base_type&&>(f)){}
      |                     ^~
/usr/include/boost/function/function_template.hpp:1113:33: error: expected ‘,’ or ‘...’ before ‘&&’ token [-Wtemplate-body]
 1113 |   self_type& operator=(self_type&& f)
      |                                 ^~
/usr/include/boost/function/function_template.hpp:1120:17: error: ‘enable_if’ in namespace ‘std’ does not name a template type [-Wtemplate-body]
 1120 |   typename std::enable_if<
      |                 ^~~~~~~~~
/usr/include/boost/function/function_template.hpp:1120:17: note: ‘std::enable_if’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp:1120:26: error: expected unqualified-id before ‘<’ token [-Wtemplate-body]
 1120 |   typename std::enable_if<
      |                          ^
/usr/include/boost/function/function_template.hpp:1141:33: error: expected ‘,’ or ‘...’ before ‘&&’ token [-Wtemplate-body]
 1141 |   self_type& operator=(base_type&& f)
      |                                 ^~
/usr/include/boost/function/function_template.hpp: In constructor ‘boost::function<R(T ...)>::function(Functor, int)’:
/usr/include/boost/function/function_template.hpp:1084:20: error: ‘move’ is not a member of ‘std’ [-Wtemplate-body]
 1084 |     base_type(std::move(f))
      |                    ^~~~
/usr/include/boost/function/function_template.hpp:1084:20: note: ‘std::move’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp: In constructor ‘boost::function<R(T ...)>::function(Functor, Allocator, int)’:
/usr/include/boost/function/function_template.hpp:1093:20: error: ‘move’ is not a member of ‘std’ [-Wtemplate-body]
 1093 |     base_type(std::move(f),a)
      |                    ^~~~
/usr/include/boost/function/function_template.hpp:1093:20: note: ‘std::move’ is only available from C++11 onwards
/usr/include/boost/function/function_template.hpp: In constructor ‘boost::function<R(T ...)>::function(base_type)’:
/usr/include/boost/function/function_template.hpp:1105:59: error: expected ‘>’ before ‘&&’ token [-Wtemplate-body]
 1105 |   function(base_type&& f): base_type(static_cast<base_type&&>(f)){}
      |                                                           ^~
/usr/include/boost/function/function_template.hpp:1105:63: error: ‘f’ was not declared in this scope [-Wtemplate-body]
 1105 |   function(base_type&& f): base_type(static_cast<base_type&&>(f)){}
      |                                                               ^
/usr/include/boost/function/function_template.hpp: In member function ‘boost::function<R(T ...)>::self_type& boost::function<R(T ...)>::operator=(self_type)’:
/usr/include/boost/function/function_template.hpp:1115:40: error: ‘f’ was not declared in this scope [-Wtemplate-body]
 1115 |     self_type(static_cast<self_type&&>(f)).swap(*this);
      |                                        ^
/usr/include/boost/function/function_template.hpp:1115:14: error: expected primary-expression before ‘(’ token [-Wtemplate-body]
 1115 |     self_type(static_cast<self_type&&>(f)).swap(*this);
      |              ^
/usr/include/boost/function/function_template.hpp:1115:36: error: expected ‘>’ before ‘&&’ token [-Wtemplate-body]
 1115 |     self_type(static_cast<self_type&&>(f)).swap(*this);
      |                                    ^~
/usr/include/boost/function/function_template.hpp: In member function ‘boost::function<R(T ...)>::self_type& boost::function<R(T ...)>::operator=(base_type)’:
/usr/include/boost/function/function_template.hpp:1143:40: error: ‘f’ was not declared in this scope [-Wtemplate-body]
 1143 |     self_type(static_cast<base_type&&>(f)).swap(*this);
      |                                        ^
/usr/include/boost/function/function_template.hpp:1143:14: error: expected primary-expression before ‘(’ token [-Wtemplate-body]
 1143 |     self_type(static_cast<base_type&&>(f)).swap(*this);
      |              ^
/usr/include/boost/function/function_template.hpp:1143:36: error: expected ‘>’ before ‘&&’ token [-Wtemplate-body]
 1143 |     self_type(static_cast<base_type&&>(f)).swap(*this);
      |                                    ^~
scons: *** [src/arg_parser.o] Error 1
scons: building terminated because of errors.
make[1]: *** [debian/rules:9: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-games-devel mailing list