Bug#1143675: libsfml: FTBFS: /<<PKGBUILDDIR>>/examples/text/Text.cpp:684:164: error: no match for 'operator+' (operand types are 'const char8_t [99]' and 'const std::__cxx11::basic_string<char>')
Santiago Vila
sanvila at debian.org
Wed Aug 5 12:24:27 BST 2026
Package: src:libsfml
Version: 3.1.0+dfsg-3
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/202608/
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:libsfml, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
-DBUILD_SHARED_LIBS=ON \
-DSFML_BUILD_DOC=ON \
-DSFML_BUILD_EXAMPLES=ON \
-DSFML_BUILD_TEST_SUITE=ON \
-DSFML_CA_PATH=/etc/ssl/certs/ca-certificates.crt \
[... snipped ...]
⢠required from âconstexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char (&)[22], const char8_t (&)[106]}; _Tp = DemoText; _Alloc = std::allocator<DemoText>; reference = DemoText&]â
/usr/include/c++/16/bits/vector.tcc:121:30:
121 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 | std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required from here
/<<PKGBUILDDIR>>/examples/text/Text.cpp:670:27:
670 | demoTexts.emplace_back("NotoSerif-Regular.ttf", u8"ÐдÑавÑÑвÑйÑе. Ðак поживаеÑе? ÐадеÑÑÑ, Ñ Ð²Ð°Ñ Ð¾ÑлиÑнÑй денÑ!");
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required by the constraints of âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...)â
/usr/include/c++/16/bits/stl_construct.h:96:5:
96 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
⢠in requirements [with _Tp = DemoText; _Args = {const char (&)[22], const char8_t (&)[106]}]
/usr/include/c++/16/bits/stl_construct.h:94:10:
94 | && requires { ::new((void*)0) _Tp(std::declval<_Args>()...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠the required expression â::new(void*(0)) _Tpâ is invalid
/usr/include/c++/16/bits/stl_construct.h:94:21:
94 | && requires { ::new((void*)0) _Tp(std::declval<_Args>()...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/16/bits/alloc_traits.h: In instantiation of âstatic constexpr void std::allocator_traits<std::allocator<_Up> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = DemoText; _Args = {const char (&)[31], const char8_t (&)[49]}; _Tp = DemoText; allocator_type = std::allocator<DemoText>]â:
/usr/include/c++/16/bits/vector.tcc:121:30: required from âconstexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char (&)[31], const char8_t (&)[49]}; _Tp = DemoText; _Alloc = std::allocator<DemoText>; reference = DemoText&]â
121 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 | std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/text/Text.cpp:671:27: required from here
671 | demoTexts.emplace_back("NotoSerifTC-Regular.subset.ttf", u8"ä½ å¥½ãä½ å¥½åï¼ç¥ä½ ä»å¤©éå¾æå¿«ï¼");
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/16/bits/alloc_traits.h:716:28: error: no matching function for call to âconstruct_at(DemoText*&, const char [31], const char8_t [49])â
716 | std::construct_at(__p, std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠there is 1 candidate
⢠candidate 1: âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...)â
/usr/include/c++/16/bits/stl_construct.h:96:5:
96 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
⢠template argument deduction/substitution failed:
⢠constraints not satisfied
⢠/usr/include/c++/16/bits/stl_construct.h: In substitution of âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...) [with _Tp = DemoText; _Args = {const char (&)[31], const char8_t (&)[49]}]â:
⢠required from âstatic constexpr void std::allocator_traits<std::allocator<_Up> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = DemoText; _Args = {const char (&)[31], const char8_t (&)[49]}; _Tp = DemoText; allocator_type = std::allocator<DemoText>]â
/usr/include/c++/16/bits/alloc_traits.h:716:21:
716 | std::construct_at(__p, std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required from âconstexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char (&)[31], const char8_t (&)[49]}; _Tp = DemoText; _Alloc = std::allocator<DemoText>; reference = DemoText&]â
/usr/include/c++/16/bits/vector.tcc:121:30:
121 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 | std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required from here
/<<PKGBUILDDIR>>/examples/text/Text.cpp:671:27:
671 | demoTexts.emplace_back("NotoSerifTC-Regular.subset.ttf", u8"ä½ å¥½ãä½ å¥½åï¼ç¥ä½ ä»å¤©éå¾æå¿«ï¼");
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required by the constraints of âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...)â
/usr/include/c++/16/bits/stl_construct.h:96:5:
96 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
⢠in requirements [with _Tp = DemoText; _Args = {const char (&)[31], const char8_t (&)[49]}]
/usr/include/c++/16/bits/stl_construct.h:94:10:
94 | && requires { ::new((void*)0) _Tp(std::declval<_Args>()...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠the required expression â::new(void*(0)) _Tpâ is invalid
/usr/include/c++/16/bits/stl_construct.h:94:21:
94 | && requires { ::new((void*)0) _Tp(std::declval<_Args>()...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/16/bits/alloc_traits.h: In instantiation of âstatic constexpr void std::allocator_traits<std::allocator<_Up> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = DemoText; _Args = {const char (&)[26], const char8_t (&)[116]}; _Tp = DemoText; allocator_type = std::allocator<DemoText>]â:
/usr/include/c++/16/bits/vector.tcc:121:30: required from âconstexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char (&)[26], const char8_t (&)[116]}; _Tp = DemoText; _Alloc = std::allocator<DemoText>; reference = DemoText&]â
121 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 | std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/text/Text.cpp:672:27: required from here
672 | demoTexts.emplace_back("NotoSerifThai-Regular.ttf", u8"สวัสà¸à¸µ สà¸à¸²à¸¢à¸à¸µà¹à¸«à¸¡ หวัà¸à¸§à¹à¸²à¸à¸¸à¸à¸à¸à¸¡à¸µà¸§à¸±à¸à¸à¸µà¹ à¸à¸°!");
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/16/bits/alloc_traits.h:716:28: error: no matching function for call to âconstruct_at(DemoText*&, const char [26], const char8_t [116])â
716 | std::construct_at(__p, std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠there is 1 candidate
⢠candidate 1: âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...)â
/usr/include/c++/16/bits/stl_construct.h:96:5:
96 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
⢠template argument deduction/substitution failed:
⢠constraints not satisfied
⢠/usr/include/c++/16/bits/stl_construct.h: In substitution of âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...) [with _Tp = DemoText; _Args = {const char (&)[26], const char8_t (&)[116]}]â:
⢠required from âstatic constexpr void std::allocator_traits<std::allocator<_Up> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = DemoText; _Args = {const char (&)[26], const char8_t (&)[116]}; _Tp = DemoText; allocator_type = std::allocator<DemoText>]â
/usr/include/c++/16/bits/alloc_traits.h:716:21:
716 | std::construct_at(__p, std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required from âconstexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char (&)[26], const char8_t (&)[116]}; _Tp = DemoText; _Alloc = std::allocator<DemoText>; reference = DemoText&]â
/usr/include/c++/16/bits/vector.tcc:121:30:
121 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 | std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required from here
/<<PKGBUILDDIR>>/examples/text/Text.cpp:672:27:
672 | demoTexts.emplace_back("NotoSerifThai-Regular.ttf", u8"สวัสà¸à¸µ สà¸à¸²à¸¢à¸à¸µà¹à¸«à¸¡ หวัà¸à¸§à¹à¸²à¸à¸¸à¸à¸à¸à¸¡à¸µà¸§à¸±à¸à¸à¸µà¹ à¸à¸°!");
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required by the constraints of âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...)â
/usr/include/c++/16/bits/stl_construct.h:96:5:
96 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
⢠in requirements [with _Tp = DemoText; _Args = {const char (&)[26], const char8_t (&)[116]}]
/usr/include/c++/16/bits/stl_construct.h:94:10:
94 | && requires { ::new((void*)0) _Tp(std::declval<_Args>()...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠the required expression â::new(void*(0)) _Tpâ is invalid
/usr/include/c++/16/bits/stl_construct.h:94:21:
94 | && requires { ::new((void*)0) _Tp(std::declval<_Args>()...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/16/bits/alloc_traits.h: In instantiation of âstatic constexpr void std::allocator_traits<std::allocator<_Up> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = DemoText; _Args = {const char (&)[29], const char8_t (&)[190]}; _Tp = DemoText; allocator_type = std::allocator<DemoText>]â:
/usr/include/c++/16/bits/vector.tcc:121:30: required from âconstexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char (&)[29], const char8_t (&)[190]}; _Tp = DemoText; _Alloc = std::allocator<DemoText>; reference = DemoText&]â
121 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 | std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/text/Text.cpp:673:27: required from here
673 | demoTexts.emplace_back("NotoSerifTibetan-Regular.ttf", u8"à½à½à½ºà¼à½à½¼à¼ à½à¾±à½¼à½à¼à½à½à½ºà¼à½à½¼? à½à¾±à½ºà½à¼à½¢à½à¼à½£à¼à½à½²à½à¼à½à½¼à¼à½¡à½à¼à½à½¼à¼à½à½²à½à¼à½¡à½¼à½à¼à½à½ ིà¼à½¢à½ºà¼à½à¼à½¡à½¼à½à¼");
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/16/bits/alloc_traits.h:716:28: error: no matching function for call to âconstruct_at(DemoText*&, const char [29], const char8_t [190])â
716 | std::construct_at(__p, std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠there is 1 candidate
⢠candidate 1: âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...)â
/usr/include/c++/16/bits/stl_construct.h:96:5:
96 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
⢠template argument deduction/substitution failed:
⢠constraints not satisfied
⢠/usr/include/c++/16/bits/stl_construct.h: In substitution of âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...) [with _Tp = DemoText; _Args = {const char (&)[29], const char8_t (&)[190]}]â:
⢠required from âstatic constexpr void std::allocator_traits<std::allocator<_Up> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = DemoText; _Args = {const char (&)[29], const char8_t (&)[190]}; _Tp = DemoText; allocator_type = std::allocator<DemoText>]â
/usr/include/c++/16/bits/alloc_traits.h:716:21:
716 | std::construct_at(__p, std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required from âconstexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char (&)[29], const char8_t (&)[190]}; _Tp = DemoText; _Alloc = std::allocator<DemoText>; reference = DemoText&]â
/usr/include/c++/16/bits/vector.tcc:121:30:
121 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 | std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required from here
/<<PKGBUILDDIR>>/examples/text/Text.cpp:673:27:
673 | demoTexts.emplace_back("NotoSerifTibetan-Regular.ttf", u8"à½à½à½ºà¼à½à½¼à¼ à½à¾±à½¼à½à¼à½à½à½ºà¼à½à½¼? à½à¾±à½ºà½à¼à½¢à½à¼à½£à¼à½à½²à½à¼à½à½¼à¼à½¡à½à¼à½à½¼à¼à½à½²à½à¼à½¡à½¼à½à¼à½à½ ིà¼à½¢à½ºà¼à½à¼à½¡à½¼à½à¼");
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required by the constraints of âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...)â
/usr/include/c++/16/bits/stl_construct.h:96:5:
96 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
⢠in requirements [with _Tp = DemoText; _Args = {const char (&)[29], const char8_t (&)[190]}]
/usr/include/c++/16/bits/stl_construct.h:94:10:
94 | && requires { ::new((void*)0) _Tp(std::declval<_Args>()...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠the required expression â::new(void*(0)) _Tpâ is invalid
/usr/include/c++/16/bits/stl_construct.h:94:21:
94 | && requires { ::new((void*)0) _Tp(std::declval<_Args>()...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/16/bits/alloc_traits.h: In instantiation of âstatic constexpr void std::allocator_traits<std::allocator<_Up> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = DemoText; _Args = {const char (&)[22], const char8_t (&)[77]}; _Tp = DemoText; allocator_type = std::allocator<DemoText>]â:
/usr/include/c++/16/bits/vector.tcc:121:30: required from âconstexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char (&)[22], const char8_t (&)[77]}; _Tp = DemoText; _Alloc = std::allocator<DemoText>; reference = DemoText&]â
121 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 | std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/text/Text.cpp:674:27: required from here
674 | demoTexts.emplace_back("NotoSerif-Regular.ttf", u8"Bonjour. Comment allez-vous ? J'espère que vous passez une bonne journée !");
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/16/bits/alloc_traits.h:716:28: error: no matching function for call to âconstruct_at(DemoText*&, const char [22], const char8_t [77])â
716 | std::construct_at(__p, std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠there is 1 candidate
⢠candidate 1: âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...)â
/usr/include/c++/16/bits/stl_construct.h:96:5:
96 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
⢠template argument deduction/substitution failed:
⢠constraints not satisfied
⢠/usr/include/c++/16/bits/stl_construct.h: In substitution of âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...) [with _Tp = DemoText; _Args = {const char (&)[22], const char8_t (&)[77]}]â:
⢠required from âstatic constexpr void std::allocator_traits<std::allocator<_Up> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = DemoText; _Args = {const char (&)[22], const char8_t (&)[77]}; _Tp = DemoText; allocator_type = std::allocator<DemoText>]â
/usr/include/c++/16/bits/alloc_traits.h:716:21:
716 | std::construct_at(__p, std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required from âconstexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char (&)[22], const char8_t (&)[77]}; _Tp = DemoText; _Alloc = std::allocator<DemoText>; reference = DemoText&]â
/usr/include/c++/16/bits/vector.tcc:121:30:
121 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 | std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required from here
/<<PKGBUILDDIR>>/examples/text/Text.cpp:674:27:
674 | demoTexts.emplace_back("NotoSerif-Regular.ttf", u8"Bonjour. Comment allez-vous ? J'espère que vous passez une bonne journée !");
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required by the constraints of âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...)â
/usr/include/c++/16/bits/stl_construct.h:96:5:
96 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
⢠in requirements [with _Tp = DemoText; _Args = {const char (&)[22], const char8_t (&)[77]}]
/usr/include/c++/16/bits/stl_construct.h:94:10:
94 | && requires { ::new((void*)0) _Tp(std::declval<_Args>()...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠the required expression â::new(void*(0)) _Tpâ is invalid
/usr/include/c++/16/bits/stl_construct.h:94:21:
94 | && requires { ::new((void*)0) _Tp(std::declval<_Args>()...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/16/bits/alloc_traits.h: In instantiation of âstatic constexpr void std::allocator_traits<std::allocator<_Up> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = DemoText; _Args = {const char (&)[30], const char8_t (&)[77]}; _Tp = DemoText; allocator_type = std::allocator<DemoText>]â:
/usr/include/c++/16/bits/vector.tcc:121:30: required from âconstexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char (&)[30], const char8_t (&)[77]}; _Tp = DemoText; _Alloc = std::allocator<DemoText>; reference = DemoText&]â
121 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 | std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/examples/text/Text.cpp:675:27: required from here
675 | demoTexts.emplace_back("NotoSerifEthiopic-Regular.ttf", u8"ááᢠáµááá§ á¥á© áá á¥áá³áá
á°áµá á áµáá!");
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/16/bits/alloc_traits.h:716:28: error: no matching function for call to âconstruct_at(DemoText*&, const char [30], const char8_t [77])â
716 | std::construct_at(__p, std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠there is 1 candidate
⢠candidate 1: âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...)â
/usr/include/c++/16/bits/stl_construct.h:96:5:
96 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
⢠template argument deduction/substitution failed:
⢠constraints not satisfied
⢠/usr/include/c++/16/bits/stl_construct.h: In substitution of âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...) [with _Tp = DemoText; _Args = {const char (&)[30], const char8_t (&)[77]}]â:
⢠required from âstatic constexpr void std::allocator_traits<std::allocator<_Up> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = DemoText; _Args = {const char (&)[30], const char8_t (&)[77]}; _Tp = DemoText; allocator_type = std::allocator<DemoText>]â
/usr/include/c++/16/bits/alloc_traits.h:716:21:
716 | std::construct_at(__p, std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required from âconstexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {const char (&)[30], const char8_t (&)[77]}; _Tp = DemoText; _Alloc = std::allocator<DemoText>; reference = DemoText&]â
/usr/include/c++/16/bits/vector.tcc:121:30:
121 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 | std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required from here
/<<PKGBUILDDIR>>/examples/text/Text.cpp:675:27:
675 | demoTexts.emplace_back("NotoSerifEthiopic-Regular.ttf", u8"ááᢠáµááá§ á¥á© áá á¥áá³áá
á°áµá á áµáá!");
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠required by the constraints of âtemplate<class _Tp, class ... _Args> requires !(is_unbounded_array_v<_Tp>) && requires{::new(void*(0)) _Tp;} constexpr _Tp* std::construct_at(_Tp*, _Args&& ...)â
/usr/include/c++/16/bits/stl_construct.h:96:5:
96 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
⢠in requirements [with _Tp = DemoText; _Args = {const char (&)[30], const char8_t (&)[77]}]
/usr/include/c++/16/bits/stl_construct.h:94:10:
94 | && requires { ::new((void*)0) _Tp(std::declval<_Args>()...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
⢠the required expression â::new(void*(0)) _Tpâ is invalid
/usr/include/c++/16/bits/stl_construct.h:94:21:
94 | && requires { ::new((void*)0) _Tp(std::declval<_Args>()...); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file=CMakeFiles/stencil.dir/link.d CMakeFiles/stencil.dir/Stencil.cpp.o -o ../../bin/stencil -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib ../../lib/libsfml-graphics.so.3.1.0 ../../lib/libsfml-window.so.3.1.0 ../../lib/libsfml-system.so.3.1.0
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 76%] Built target stencil
make -f examples/joystick/CMakeFiles/joystick.dir/build.make examples/joystick/CMakeFiles/joystick.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/examples/joystick /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/examples/joystick /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/examples/joystick/CMakeFiles/joystick.dir/DependInfo.cmake "--color=" joystick
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f examples/joystick/CMakeFiles/joystick.dir/build.make examples/joystick/CMakeFiles/joystick.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 77%] Building CXX object examples/joystick/CMakeFiles/joystick.dir/Joystick.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/examples/joystick && /usr/bin/x86_64-linux-gnu-g++ -I/<<PKGBUILDDIR>>/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wshadow -Wnon-virtual-dtor -Wcast-align -Wunused -Woverloaded-virtual -Wconversion -Wsign-conversion -Wdouble-promotion -Wformat=2 -Wimplicit-fallthrough -Wsuggest-override -Wnull-dereference -Wold-style-cast -Wpedantic -Wmisleading-indentation -Wduplicated-cond -Wlogical-op -Wduplicated-branches -MD -MT examples/joystick/CMakeFiles/joystick.dir/Joystick.cpp.o -MF CMakeFiles/joystick.dir/Joystick.cpp.o.d -o CMakeFiles/joystick.dir/Joystick.cpp.o -c /<<PKGBUILDDIR>>/examples/joystick/Joystick.cpp
make[3]: *** [examples/text/CMakeFiles/text.dir/build.make:82: examples/text/CMakeFiles/text.dir/Text.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:1567: examples/text/CMakeFiles/text.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 77%] Linking CXX executable ../../bin/joystick
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/examples/joystick && /usr/bin/cmake -E cmake_link_script CMakeFiles/joystick.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file=CMakeFiles/joystick.dir/link.d CMakeFiles/joystick.dir/Joystick.cpp.o -o ../../bin/joystick -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib ../../lib/libsfml-graphics.so.3.1.0 ../../lib/libsfml-window.so.3.1.0 ../../lib/libsfml-system.so.3.1.0
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 77%] Built target joystick
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:169: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-games-devel
mailing list