Performing C++ SOURCE FILE Test DEAL_II_HAVE_COMPLEX_OPERATOR_OVERLOADS failed with the following output: Change Dir: /var/tmp/portage/sci-libs/dealii-9.2.0/work/dealii-9.2.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_6fd0c && [1/2] Building CXX object CMakeFiles/cmTC_6fd0c.dir/src.cxx.o FAILED: CMakeFiles/cmTC_6fd0c.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DDEAL_II_HAVE_COMPLEX_OPERATOR_OVERLOADS -pipe -march=native -fno-diagnostics-color -Og -g -std=c++17 -o CMakeFiles/cmTC_6fd0c.dir/src.cxx.o -c src.cxx src.cxx: In function ‘int main()’: src.cxx:6:14: error: no match for ‘operator*’ (operand types are ‘double’ and ‘std::complex’) 6 | double() * std::complex(); In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:391:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’ 391 | operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:391:5: note: template argument deduction/substitution failed: src.cxx:6:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘double’ 6 | double() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:400:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)’ 400 | operator*(const complex<_Tp>& __x, const _Tp& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:400:5: note: template argument deduction/substitution failed: src.cxx:6:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘double’ 6 | double() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:409:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)’ 409 | operator*(const _Tp& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:409:5: note: template argument deduction/substitution failed: src.cxx:6:36: note: deduced conflicting types for parameter ‘_Tp’ (‘double’ and ‘float’) 6 | double() * std::complex(); | ^ src.cxx:7:27: error: no match for ‘operator*’ (operand types are ‘std::complex’ and ‘double’) 7 | std::complex() * double(); In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:391:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’ 391 | operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:391:5: note: template argument deduction/substitution failed: src.cxx:7:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘double’ 7 | std::complex() * double(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:400:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)’ 400 | operator*(const complex<_Tp>& __x, const _Tp& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:400:5: note: template argument deduction/substitution failed: src.cxx:7:36: note: deduced conflicting types for parameter ‘const _Tp’ (‘float’ and ‘double’) 7 | std::complex() * double(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:409:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)’ 409 | operator*(const _Tp& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:409:5: note: template argument deduction/substitution failed: src.cxx:7:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘double’ 7 | std::complex() * double(); | ^ src.cxx:8:13: error: no match for ‘operator*’ (operand types are ‘float’ and ‘std::complex’) 8 | float() * std::complex(); In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:391:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’ 391 | operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:391:5: note: template argument deduction/substitution failed: src.cxx:8:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘float’ 8 | float() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:400:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)’ 400 | operator*(const complex<_Tp>& __x, const _Tp& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:400:5: note: template argument deduction/substitution failed: src.cxx:8:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘float’ 8 | float() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:409:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)’ 409 | operator*(const _Tp& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:409:5: note: template argument deduction/substitution failed: src.cxx:8:36: note: deduced conflicting types for parameter ‘_Tp’ (‘float’ and ‘double’) 8 | float() * std::complex(); | ^ src.cxx:9:28: error: no match for ‘operator*’ (operand types are ‘std::complex’ and ‘float’) 9 | std::complex() * float(); In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:391:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’ 391 | operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:391:5: note: template argument deduction/substitution failed: src.cxx:9:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘float’ 9 | std::complex() * float(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:400:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)’ 400 | operator*(const complex<_Tp>& __x, const _Tp& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:400:5: note: template argument deduction/substitution failed: src.cxx:9:36: note: deduced conflicting types for parameter ‘const _Tp’ (‘double’ and ‘float’) 9 | std::complex() * float(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:409:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)’ 409 | operator*(const _Tp& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:409:5: note: template argument deduction/substitution failed: src.cxx:9:36: note: mismatched types ‘const std::complex<_Tp>’ and ‘float’ 9 | std::complex() * float(); | ^ src.cxx:10:28: error: no match for ‘operator*’ (operand types are ‘std::complex’ and ‘std::complex’) 10 | std::complex() * std::complex(); | ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ | | | | complex complex In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:391:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’ 391 | operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:391:5: note: template argument deduction/substitution failed: src.cxx:10:50: note: deduced conflicting types for parameter ‘_Tp’ (‘double’ and ‘float’) 10 | std::complex() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:400:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)’ 400 | operator*(const complex<_Tp>& __x, const _Tp& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:400:5: note: template argument deduction/substitution failed: src.cxx:10:50: note: deduced conflicting types for parameter ‘const _Tp’ (‘double’ and ‘std::complex’) 10 | std::complex() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:409:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)’ 409 | operator*(const _Tp& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:409:5: note: template argument deduction/substitution failed: src.cxx:10:50: note: deduced conflicting types for parameter ‘_Tp’ (‘std::complex’ and ‘float’) 10 | std::complex() * std::complex(); | ^ src.cxx:11:27: error: no match for ‘operator*’ (operand types are ‘std::complex’ and ‘std::complex’) 11 | std::complex() * std::complex(); | ~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ | | | | complex complex In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:391:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&)’ 391 | operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:391:5: note: template argument deduction/substitution failed: src.cxx:11:50: note: deduced conflicting types for parameter ‘_Tp’ (‘float’ and ‘double’) 11 | std::complex() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:400:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&)’ 400 | operator*(const complex<_Tp>& __x, const _Tp& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:400:5: note: template argument deduction/substitution failed: src.cxx:11:50: note: deduced conflicting types for parameter ‘const _Tp’ (‘float’ and ‘std::complex’) 11 | std::complex() * std::complex(); | ^ In file included from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:409:5: note: candidate: ‘template std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&)’ 409 | operator*(const _Tp& __x, const complex<_Tp>& __y) | ^~~~~~~~ /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/complex:409:5: note: template argument deduction/substitution failed: src.cxx:11:50: note: deduced conflicting types for parameter ‘_Tp’ (‘std::complex’ and ‘double’) 11 | std::complex() * std::complex(); | ^ ninja: build stopped: subcommand failed. Source file was: #include int main() { double() * std::complex(); std::complex() * double(); float() * std::complex(); std::complex() * float(); std::complex() * std::complex(); std::complex() * std::complex(); return 0; } Performing C++ SOURCE FILE Test DEAL_II_COMPILER_HAS_FUSE_LD_LLD failed with the following output: Change Dir: /var/tmp/portage/sci-libs/dealii-9.2.0/work/dealii-9.2.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_85b64 && [1/2] Building CXX object CMakeFiles/cmTC_85b64.dir/src.cxx.o [2/2] Linking CXX executable cmTC_85b64 FAILED: cmTC_85b64 : && /usr/bin/x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -Og -g -Werror -shared -fPIC -fuse-ld=lld -rdynamic CMakeFiles/cmTC_85b64.dir/src.cxx.o -o cmTC_85b64 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 && : collect2: fatal error: cannot find ‘ld’ compilation terminated. ninja: build stopped: subcommand failed. Source file was: #include void foo() { std::cout << "Hello, world!" << std::endl; } Performing C++ SOURCE FILE Test MKL_SYMBOL_CHECK failed with the following output: Change Dir: /var/tmp/portage/sci-libs/dealii-9.2.0/work/dealii-9.2.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_0ed48 && [1/2] Building CXX object CMakeFiles/cmTC_0ed48.dir/src.cxx.o FAILED: CMakeFiles/cmTC_0ed48.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DMKL_SYMBOL_CHECK -pthread -o CMakeFiles/cmTC_0ed48.dir/src.cxx.o -c src.cxx src.cxx:2:14: fatal error: mkl.h: No such file or directory 2 | #include | ^~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source file was: #include #include int main(){ const int m = 5; const int n = 2; std::vector A(m*n,0.); std::vector B(m*n,0.); mkl_domatcopy('C', 'T', m, n, 1., A.data(), n, B.data(), m); return 0; } Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /var/tmp/portage/sci-libs/dealii-9.2.0/work/dealii-9.2.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_a489e && [1/2] Building C object CMakeFiles/cmTC_a489e.dir/src.c.o [2/2] Linking C executable cmTC_a489e FAILED: cmTC_a489e : && /usr/bin/x86_64-pc-linux-gnu-gcc -rdynamic CMakeFiles/cmTC_a489e.dir/src.c.o -o cmTC_a489e && : /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_a489e.dir/src.c.o: in function `main': src.c:(.text+0x3e): undefined reference to `pthread_create' /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text+0x4a): undefined reference to `pthread_detach' /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text+0x56): undefined reference to `pthread_cancel' /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: src.c:(.text+0x67): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Source file was: #include static void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_cancel(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL); return 0; } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /var/tmp/portage/sci-libs/dealii-9.2.0/work/dealii-9.2.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_0ee12 && [1/2] Building C object CMakeFiles/cmTC_0ee12.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_0ee12 FAILED: cmTC_0ee12 : && /usr/bin/x86_64-pc-linux-gnu-gcc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_0ee12.dir/CheckFunctionExists.c.o -o cmTC_0ee12 -lpthreads && : /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Performing C++ SOURCE FILE Test DEAL_II_HAS_AUTO_PTR failed with the following output: Change Dir: /var/tmp/portage/sci-libs/dealii-9.2.0/work/dealii-9.2.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_680c1 && [1/2] Building CXX object CMakeFiles/cmTC_680c1.dir/src.cxx.o FAILED: CMakeFiles/cmTC_680c1.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DDEAL_II_HAS_AUTO_PTR -pipe -march=native -fno-diagnostics-color -Og -g -std=c++17 -Werror -o CMakeFiles/cmTC_680c1.dir/src.cxx.o -c src.cxx src.cxx: In function ‘int main()’: src.cxx:9:12: error: ‘template class std::auto_ptr’ is deprecated [-Werror=deprecated-declarations] 9 | std::auto_ptr x(i); | ^~~~~~~~ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/memory:83, from src.cxx:2: /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/include/g++-v10/bits/unique_ptr.h:57:28: note: declared here 57 | template class auto_ptr; | ^~~~~~~~ cc1plus: all warnings being treated as errors ninja: build stopped: subcommand failed. Source file was: #include #include int main() { #ifndef BOOST_NO_AUTO_PTR int *i = new int; std::auto_ptr x(i); #endif return 0; }