I can’t build root-6.24.06 or root-6.26.02 on fedora 36. Here’s the error… common to both builds. I was able to build root-6.24.06 on fedora 35 just fine. any ideas?
— What follows is a trunkated error output, just the first few lines. if you need the whole error dump I can provide it.-----
[ 49%] Generating G__Core.cxx, …/lib/Core.pcm
While building module ‘Core’:
While building module ‘std’ imported from input_line_1:1:
In file included from :2:
In file included from /usr/lib/gcc/x86_64-redhat-linux/12/…/…/…/…/include/c++/12/array:43:
In file included from /usr/lib/gcc/x86_64-redhat-linux/12/…/…/…/…/include/c++/12/bits/stl_algobase.h:64:
In file included from /usr/lib/gcc/x86_64-redhat-linux/12/…/…/…/…/include/c++/12/bits/stl_pair.h:62:
/usr/lib/gcc/x86_64-redhat-linux/12/…/…/…/…/include/c++/12/bits/utility.h:220:27: error: redefinition of ‘__is_in_place_type_v<in_place_type_t<_Tp> >’
inline constexpr bool __is_in_place_type_v<in_place_type_t<_Tp>> = true;
^
/usr/lib/gcc/x86_64-redhat-linux/12/…/…/…/…/include/c++/12/bits/stl_pair.h:62:11: note: ‘/usr/lib/gcc/x86_64-redhat-linux/12/…/…/…/…/include/c++/12/bits/utility.h’ included multiple times, additional include site in header from module ‘std.algorithm’
include <bits/utility.h> // for std::tuple_element, std::tuple_size
Please read tips for efficient and successful posting and posting code
_ROOT Version:6.26.02
_Platform:Fedora 36
_Compiler:gcc 12.1.1