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 <[email protected]> Wed, 05 Aug 2026 11:24:27 +0000
| Newsgroups | gmane.linux.debian.devel.bugs.rc |
|---|---|
| Message-ID | <E1wrZjX-00GxjW-1h__10970.6836797827$1785929289$gmane$org@paradis.debian.org> |
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/Joystic
k.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
--------------------------------------------------------------------------------