Determining if compiler supports needed C++17 constructs failed with the following output: Change Dir: /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp Run Build Command(s):/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.tools/bin/gmake -f Makefile cmTC_e6219/fast && make -f CMakeFiles/cmTC_e6219.dir/build.make CMakeFiles/cmTC_e6219.dir/build make[1]: Entering directory '/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_e6219.dir/cm_cxx17_check.cpp.o /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.cwrapper/bin/c++ -O2 -D_FORTIFY_SOURCE=2 -I/2022Q2/include -I/usr/include -I/2022Q2/include/ncurses -std=c++1z -o CMakeFiles/cmTC_e6219.dir/cm_cxx17_check.cpp.o -c /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/Checks/cm_cxx17_check.cpp /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/Checks/cm_cxx17_check.cpp:5:20: fatal error: optional: No such file or directory #include ^ compilation terminated. make[1]: *** [CMakeFiles/cmTC_e6219.dir/build.make:78: CMakeFiles/cmTC_e6219.dir/cm_cxx17_check.cpp.o] Error 1 make[1]: Leaving directory '/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_e6219/fast] Error 2 Determining if the environ exist failed with the following output: Change Dir: /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp Run Build Command(s):/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.tools/bin/gmake -f Makefile cmTC_6603c/fast && make -f CMakeFiles/cmTC_6603c.dir/build.make CMakeFiles/cmTC_6603c.dir/build make[1]: Entering directory '/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_6603c.dir/CheckSymbolExists.c.o /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.cwrapper/bin/cc -O2 -D_FORTIFY_SOURCE=2 -I/2022Q2/include -I/usr/include -I/2022Q2/include/ncurses -o CMakeFiles/cmTC_6603c.dir/CheckSymbolExists.c.o -c /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function 'main': /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: 'environ' undeclared (first use in this function) return ((int*)(&environ))[argc]; ^~~~~~~ /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [CMakeFiles/cmTC_6603c.dir/build.make:78: CMakeFiles/cmTC_6603c.dir/CheckSymbolExists.c.o] Error 1 make[1]: Leaving directory '/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_6603c/fast] Error 2 File /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef environ return ((int*)(&environ))[argc]; #else (void)argc; return 0; #endif } Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp Run Build Command(s):/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.tools/bin/gmake -f Makefile cmTC_25dc8/fast && make -f CMakeFiles/cmTC_25dc8.dir/build.make CMakeFiles/cmTC_25dc8.dir/build make[1]: Entering directory '/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_25dc8.dir/src.c.o /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.cwrapper/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -O2 -D_FORTIFY_SOURCE=2 -I/2022Q2/include -I/usr/include -I/2022Q2/include/ncurses -o CMakeFiles/cmTC_25dc8.dir/src.c.o -c /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp/src.c Linking C executable cmTC_25dc8 /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_25dc8.dir/link.txt --verbose=1 /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.cwrapper/bin/cc -O2 -D_FORTIFY_SOURCE=2 -I/2022Q2/include -I/usr/include -I/2022Q2/include/ncurses -Wl,-zrelro -L/2022Q2/lib -Wl,-R/2022Q2/lib CMakeFiles/cmTC_25dc8.dir/src.c.o -o cmTC_25dc8 /bin/ld: CMakeFiles/cmTC_25dc8.dir/src.c.o: in function `main': src.c:(.text.startup+0x21): undefined reference to `pthread_create' /bin/ld: src.c:(.text.startup+0x2a): undefined reference to `pthread_detach' /bin/ld: src.c:(.text.startup+0x33): undefined reference to `pthread_cancel' /bin/ld: src.c:(.text.startup+0x3e): undefined reference to `pthread_join' collect2: error: ld returned 1 exit status make[1]: *** [CMakeFiles/cmTC_25dc8.dir/build.make:99: cmTC_25dc8] Error 1 make[1]: Leaving directory '/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_25dc8/fast] Error 2 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: /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp Run Build Command(s):/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.tools/bin/gmake -f Makefile cmTC_bfa9b/fast && make -f CMakeFiles/cmTC_bfa9b.dir/build.make CMakeFiles/cmTC_bfa9b.dir/build make[1]: Entering directory '/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_bfa9b.dir/CheckFunctionExists.c.o /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.cwrapper/bin/cc -O2 -D_FORTIFY_SOURCE=2 -I/2022Q2/include -I/usr/include -I/2022Q2/include/ncurses -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_bfa9b.dir/CheckFunctionExists.c.o -c /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Modules/CheckFunctionExists.c Linking C executable cmTC_bfa9b /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/cmTC_bfa9b.dir/link.txt --verbose=1 /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.cwrapper/bin/cc -O2 -D_FORTIFY_SOURCE=2 -I/2022Q2/include -I/usr/include -I/2022Q2/include/ncurses -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-zrelro -L/2022Q2/lib -Wl,-R/2022Q2/lib CMakeFiles/cmTC_bfa9b.dir/CheckFunctionExists.c.o -o cmTC_bfa9b -lpthreads /bin/ld: cannot find -lpthreads: No such file or directory collect2: error: ld returned 1 exit status make[1]: *** [CMakeFiles/cmTC_bfa9b.dir/build.make:99: cmTC_bfa9b] Error 1 make[1]: Leaving directory '/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_bfa9b/fast] Error 2 Checking whether CXX compiler has environ in stdlib.h failed to compile with the following output: Change Dir: /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command(s):/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.tools/bin/gmake -f Makefile cmTC_1c6d7/fast && make -f CMakeFiles/cmTC_1c6d7.dir/build.make CMakeFiles/cmTC_1c6d7.dir/build make[1]: Entering directory '/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/kwsys/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_1c6d7.dir/kwsysPlatformTestsCXX.cxx.o /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.cwrapper/bin/c++ -DTEST_KWSYS_CXX_HAS_ENVIRON_IN_STDLIB_H -O2 -D_FORTIFY_SOURCE=2 -I/2022Q2/include -I/usr/include -I/2022Q2/include/ncurses -std=c++14 -o CMakeFiles/cmTC_1c6d7.dir/kwsysPlatformTestsCXX.cxx.o -c /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/kwsys/kwsysPlatformTestsCXX.cxx /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/kwsys/kwsysPlatformTestsCXX.cxx: In function 'int main()': /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/kwsys/kwsysPlatformTestsCXX.cxx:53:13: error: 'environ' was not declared in this scope char* e = environ[0]; ^~~~~~~ make[1]: *** [CMakeFiles/cmTC_1c6d7.dir/build.make:78: CMakeFiles/cmTC_1c6d7.dir/kwsysPlatformTestsCXX.cxx.o] Error 1 make[1]: Leaving directory '/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/kwsys/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_1c6d7/fast] Error 2 Checking whether CXX compiler struct stat has st_mtimespec member failed to compile with the following output: Change Dir: /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/kwsys/CMakeFiles/CMakeTmp Run Build Command(s):/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.tools/bin/gmake -f Makefile cmTC_b77a4/fast && make -f CMakeFiles/cmTC_b77a4.dir/build.make CMakeFiles/cmTC_b77a4.dir/build make[1]: Entering directory '/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/kwsys/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_b77a4.dir/kwsysPlatformTestsCXX.cxx.o /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.cwrapper/bin/c++ -DTEST_KWSYS_CXX_STAT_HAS_ST_MTIMESPEC -O2 -D_FORTIFY_SOURCE=2 -I/2022Q2/include -I/usr/include -I/2022Q2/include/ncurses -std=c++14 -o CMakeFiles/cmTC_b77a4.dir/kwsysPlatformTestsCXX.cxx.o -c /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/kwsys/kwsysPlatformTestsCXX.cxx /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/kwsys/kwsysPlatformTestsCXX.cxx: In function 'int main()': /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/kwsys/kwsysPlatformTestsCXX.cxx:26:15: error: 'struct stat' has no member named 'st_mtimespec'; did you mean 'st_mtim'? (void)stat1.st_mtimespec.tv_sec; ^~~~~~~~~~~~ /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/kwsys/kwsysPlatformTestsCXX.cxx:27:15: error: 'struct stat' has no member named 'st_mtimespec'; did you mean 'st_mtim'? (void)stat1.st_mtimespec.tv_nsec; ^~~~~~~~~~~~ make[1]: *** [CMakeFiles/cmTC_b77a4.dir/build.make:78: CMakeFiles/cmTC_b77a4.dir/kwsysPlatformTestsCXX.cxx.o] Error 1 make[1]: Leaving directory '/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Source/kwsys/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_b77a4/fast] Error 2 Looking for a Fortran compiler failed with the following output: -- The Fortran compiler identification is unknown PKGSRC-WARNING: Something is trying to run the fortran compiler, PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile. -- Detecting Fortran compiler ABI info -- Detecting Fortran compiler ABI info - failed -- Check for working Fortran compiler: /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.cwrapper/bin/f77 -- Check for working Fortran compiler: /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.cwrapper/bin/f77 - broken CMake Error at /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Modules/CMakeTestFortranCompiler.cmake:61 (message): The Fortran compiler "/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.cwrapper/bin/f77" is not able to compile a simple test program. It fails with the following output: Change Dir: /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Tests/CMakeFiles/CheckFortran/CMakeFiles/CMakeTmp Run Build Command(s):/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.tools/bin/gmake -f Makefile cmTC_9564f/fast && make -f CMakeFiles/cmTC_9564f.dir/build.make CMakeFiles/cmTC_9564f.dir/build make[1]: Entering directory '/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Tests/CMakeFiles/CheckFortran/CMakeFiles/CMakeTmp' Building Fortran object CMakeFiles/cmTC_9564f.dir/testFortranCompiler.f.o /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/.cwrapper/bin/f77 -O -c /sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Tests/CMakeFiles/CheckFortran/CMakeFiles/CMakeTmp/testFortranCompiler.f -o CMakeFiles/cmTC_9564f.dir/testFortranCompiler.f.o PKGSRC-WARNING: Something is trying to run the fortran compiler, PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile. make[1]: *** [CMakeFiles/cmTC_9564f.dir/build.make:78: CMakeFiles/cmTC_9564f.dir/testFortranCompiler.f.o] Error 1 make[1]: Leaving directory '/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Tests/CMakeFiles/CheckFortran/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_9564f/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:2 (project) -- Configuring incomplete, errors occurred! See also "/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Tests/CMakeFiles/CheckFortran/CMakeFiles/CMakeOutput.log". See also "/sda3/jails/current/pkglinux-pkgsrc.2022Q2/linux/cmake/work/cmake-3.24.1/Tests/CMakeFiles/CheckFortran/CMakeFiles/CMakeError.log".