* installing *source* package ‘deadwood’ ...
** this is package ‘deadwood’ version ‘0.9.0-2’
** package ‘deadwood’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘clang version 21.1.8’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/deadwood/src'
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -DDEADWOOD_R -Isrc/ -I../src/ -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c RcppDeadwood.cpp -o RcppDeadwood.o
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -DDEADWOOD_R -Isrc/ -I../src/ -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c RcppOldmst.cpp -o RcppOldmst.o
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -isystem /usr/local/clang21/include -I/usr/local/clang/include -fopenmp -DDEADWOOD_R -Isrc/ -I../src/ -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c RcppExports.cpp -o RcppExports.o
In file included from RcppDeadwood.cpp:17:
In file included from ./c_common.h:33:
/usr/local/clang21/bin/../include/c++/v1/string:803:42: error: implicit instantiation of undefined template 'std::char_traits<bool>'
803 | static_assert(is_same<_CharT, typename traits_type::char_type>::value,
| ^
./c_deadwood.h:674:29: note: in instantiation of template class 'std::basic_string<bool>' requested here
674 | std::basic_string<bool> mst_skip(m, false); // std::vector<bool> has no data()
| ^
/usr/local/clang21/bin/../include/c++/v1/__fwd/string.h:23:8: note: template is declared here
23 | struct char_traits;
| ^
In file included from RcppDeadwood.cpp:17:
In file included from ./c_common.h:33:
In file included from /usr/local/clang21/bin/../include/c++/v1/string:654:
/usr/local/clang21/bin/../include/c++/v1/string_view:310:42: error: implicit instantiation of undefined template 'std::char_traits<bool>'
310 | static_assert(is_same<_CharT, typename traits_type::char_type>::value,
| ^
/usr/local/clang21/bin/../include/c++/v1/__type_traits/is_convertible.h:22:98: note: in instantiation of template class 'std::basic_string_view<bool>' requested here
22 | struct _LIBCPP_NO_SPECIALIZATIONS is_convertible : integral_constant<bool, __is_convertible(_T1, _T2)> {};
| ^
/usr/local/clang21/bin/../include/c++/v1/string:713:29: note: in instantiation of template class 'std::is_convertible<const long &, std::basic_string_view<bool>>' requested here
713 | : public _BoolConstant< is_convertible<const _Tp&, basic_string_view<_CharT, _Traits> >::value &&
| ^
/usr/local/clang21/bin/../include/c++/v1/string:1159:27: note: in instantiation of template class 'std::__can_be_converted_to_string_view<bool, std::char_traits<bool>, long>' requested here
1159 | __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value &&
| ^
/usr/local/clang21/bin/../include/c++/v1/string:1162:64: note: while substituting prior template arguments into non-type template parameter [with _Tp = Py_ssize_t]
1162 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t, const allocator_type& __a)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1163 | : __alloc_(__a) {
| ~~~~~~~~~~~~~~~~~
1164 | __self_view __sv = __t;
| ~~~~~~~~~~~~~~~~~~~~~~~
1165 | __init(__sv.data(), __sv.size());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1166 | }
| ~
./c_deadwood.h:674:29: note: while substituting deduced template arguments into function template 'basic_string' [with _Tp = Py_ssize_t, $1 = (no value)]
674 | std::basic_string<bool> mst_skip(m, false); // std::vector<bool> has no data()
| ^
/usr/local/clang21/bin/../include/c++/v1/__fwd/string.h:23:8: note: template is declared here
23 | struct char_traits;
| ^
In file included from RcppDeadwood.cpp:17:
In file included from ./c_common.h:33:
/usr/local/clang21/bin/../include/c++/v1/string:2610:3: error: implicit instantiation of undefined template 'std::char_traits<bool>'
2610 | traits_type::assign(std::__to_address(__p), __n, __c);
| ^
/usr/local/clang21/bin/../include/c++/v1/string:1090:97: note: in instantiation of member function 'std::basic_string<bool>::__init' requested here
1090 | _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 basic_string(size_type __n, _CharT __c) { __init(__n, __c); }
| ^
./c_deadwood.h:674:29: note: in instantiation of member function 'std::basic_string<bool>::basic_string' requested here
674 | std::basic_string<bool> mst_skip(m, false); // std::vector<bool> has no data()
| ^
/usr/local/clang21/bin/../include/c++/v1/__fwd/string.h:23:8: note: template is declared here
23 | struct char_traits;
| ^
In file included from RcppDeadwood.cpp:17:
In file included from ./c_common.h:33:
/usr/local/clang21/bin/../include/c++/v1/string:2611:3: error: implicit instantiation of undefined template 'std::char_traits<bool>'
2611 | traits_type::assign(__p[__n], value_type());
| ^
/usr/local/clang21/bin/../include/c++/v1/__fwd/string.h:23:8: note: template is declared here
23 | struct char_traits;
| ^
4 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:197: RcppDeadwood.o] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/deadwood/src'
ERROR: compilation failed for package ‘deadwood’
* removing ‘/data/gannet/ripley/R/packages/tests-clang/deadwood.Rcheck/deadwood’