Determining if the include file conio.h exists failed with the following output: Change Dir: /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_dd509 && [1/2] Building C object CMakeFiles/cmTC_dd509.dir/CheckIncludeFile.c.o FAILED: CMakeFiles/cmTC_dd509.dir/CheckIncludeFile.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -DNDEBUG -O2 -pipe -march=native -Wformat -Werror=format-security -o CMakeFiles/cmTC_dd509.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c CheckIncludeFile.c:1:10: fatal error: conio.h: No such file or directory 1 | #include | ^~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Determining if the include file rpc/xdr.h exists failed with the following output: Change Dir: /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_d4661 && [1/2] Building C object CMakeFiles/cmTC_d4661.dir/CheckIncludeFile.c.o FAILED: CMakeFiles/cmTC_d4661.dir/CheckIncludeFile.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -DNDEBUG -O2 -pipe -march=native -Wformat -Werror=format-security -o CMakeFiles/cmTC_d4661.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c CheckIncludeFile.c:1:10: fatal error: rpc/xdr.h: No such file or directory 1 | #include | ^~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Determining if the rint exist failed with the following output: Change Dir: /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_0964f && [1/2] Building C object CMakeFiles/cmTC_0964f.dir/CheckSymbolExists.c.o [2/2] Linking C executable cmTC_0964f FAILED: cmTC_0964f : && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic CMakeFiles/cmTC_0964f.dir/CheckSymbolExists.c.o -o cmTC_0964f && : /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_0964f.dir/CheckSymbolExists.c.o: in function `main': CheckSymbolExists.c:(.text.startup+0x3): undefined reference to `rint' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. File /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef rint return ((int*)(&rint))[argc]; #else (void)argc; return 0; #endif } Determining if the sranddev exist failed with the following output: Change Dir: /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_649f4 && [1/2] Building C object CMakeFiles/cmTC_649f4.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_649f4.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -DNDEBUG -O2 -pipe -march=native -Wformat -Werror=format-security -o CMakeFiles/cmTC_649f4.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c CheckSymbolExists.c: In function ‘main’: CheckSymbolExists.c:8:19: error: ‘sranddev’ undeclared (first use in this function) 8 | return ((int*)(&sranddev))[argc]; | ^~~~~~~~ CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in ninja: build stopped: subcommand failed. File /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef sranddev return ((int*)(&sranddev))[argc]; #else (void)argc; return 0; #endif } Performing C SOURCE FILE Test SCANDIR_NEEDS_CONST failed with the following output: Change Dir: /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_d2f19 && [1/2] Building C object CMakeFiles/cmTC_d2f19.dir/src.c.o FAILED: CMakeFiles/cmTC_d2f19.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -DNDEBUG -O2 -pipe -march=native -Wformat -Werror=format-security -DSCANDIR_NEEDS_CONST -Werror -o CMakeFiles/cmTC_d2f19.dir/src.c.o -c src.c src.c: In function ‘main’: src.c:7:46: error: passing argument 3 of ‘scandir’ from incompatible pointer type [-Werror=incompatible-pointer-types] 7 | int count = scandir ("./", &entries_pp, matchFiles, 0); | ^~~~~~~~~~ | | | int (*)(struct dirent *) In file included from src.c:3: /usr/include/dirent.h:257:13: note: expected ‘int (*)(const struct dirent *)’ but argument is of type ‘int (*)(struct dirent *)’ 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. Source file was: #include #include int main(){ extern int matchFiles (struct dirent *entry_p); struct dirent **entries_pp; int count = scandir ("./", &entries_pp, matchFiles, 0); return count; } Performing C++ SOURCE FILE Test HAVE_STD_TR1_SHARED_PTR failed with the following output: Change Dir: /var/tmp/portage/sci-chemistry/openbabel-2.4.1-r1/work/openbabel-2.4.1_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_faf74 && [1/2] Building CXX object CMakeFiles/cmTC_faf74.dir/src.cxx.o FAILED: CMakeFiles/cmTC_faf74.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -DNDEBUG -O2 -pipe -march=native -Wformat -Werror=format-security -pthread -DHAVE_STD_TR1_SHARED_PTR -Werror -o CMakeFiles/cmTC_faf74.dir/src.cxx.o -c src.cxx src.cxx: In function ‘int main()’: src.cxx:2:45: error: ‘std::tr1’ has not been declared 2 | int main(){ std::tr1::shared_ptr p; return 0; } | ^~~ src.cxx:2:61: error: expected primary-expression before ‘int’ 2 | int main(){ std::tr1::shared_ptr p; return 0; } | ^~~ ninja: build stopped: subcommand failed. Source file was: #include int main(){ std::tr1::shared_ptr p; return 0; }