Just updated my OS and tried to build again.
Started with:
cmake ../6_20_04/ -DPYTHIA6_LIBRARY="/home/steve/packages/pythia6/v6_428/lib" -Dall:BOOL="ON" -Dpythia6="ON"
got:
[ 52%] Generating G__RooFitCore.cxx, ../../lib/RooFitCore.pcm
In module 'std' imported from input_line_1:1:
/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/unique_ptr.h:207:12: error: 'std::__uniq_ptr_data<ROOT::Experimental::TTaskGroup, std::default_delete<ROOT::Experimental::TTaskGroup>, true, true>' has different definitions in different modules;
definition in module 'std.condition_variable' is here
struct __uniq_ptr_data : __uniq_ptr_impl<_Tp, _Dp>
^
/usr/lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/bits/unique_ptr.h:207:12: note: definition in module 'std.condition_variable' is here
Error: Error loading the #pragma extra_include.
make[2]: *** [roofit/roofitcore/CMakeFiles/G__RooFitCore.dir/build.make:538: roofit/roofitcore/G__RooFitCore.cxx] Error 1
make[1]: *** [CMakeFiles/Makefile2:28159: roofit/roofitcore/CMakeFiles/G__RooFitCore.dir/all] Error 2
make: *** [Makefile:172: all] Error 2
[23:47]~/packages/root/6_20_04/build$ g++ --version
g++ (GCC) 10.1.1 20200507 (Red Hat 10.1.1-1)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Please read tips for efficient and successful posting and posting code
ROOT Version: 6_20_04
Platform: Fedora 32
Compiler: g++ (GCC) 10.1.1 20200507