On 2021-06-18 4:18 p.m., George R Goffe via test wrote:
Thanks for answering my question. Here's the info that you
requested and that I forgot to provide. Apologies for that.
fc35-bash 5.1 ~# uname -a
Linux fc35 5.13.0-0.rc6.45.fc35.x86_64 #1 SMP Mon Jun 14 13:44:07 UTC 2021 x86_64
GNU/Linux
fc35-bash 5.1 ~# rpm -q cmake
cmake-3.20.3-1.fc35.x86_64
fc35-bash 5.1 ~# cmake -version
/usr/include/c++/11/bits/basic_string.h:1057: std::__cxx11::basic_string<_CharT,
_Traits, _Alloc>::reference std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::operator[](std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::size_type) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc
= std::allocator<char>; std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::reference = char&; std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::size_type = long unsigned int]: Assertion '__pos <= size()'
failed.
Aborted (core dumped)
Ok, it's rawhide, so this is the correct list. However, I can't
reproduce the issue, so it seems it's something specific to your system.
I just did a clean minimal install and this is what I get:
$ rpm -q cmake
cmake-3.20.3-1.fc35.x86_64
$ cmake --version
cmake version 3.20.3