Performing C SOURCE FILE Test HAVE_STRUCT_SOCKADDR_SA_LEN failed with the following output: Change Dir: /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_7da16 && [1/2] Building C object CMakeFiles/cmTC_7da16.dir/src.c.o FAILED: CMakeFiles/cmTC_7da16.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_STRUCT_SOCKADDR_SA_LEN -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DQT_NO_DEBUG -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration -std=c99 -o CMakeFiles/cmTC_7da16.dir/src.c.o -c /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CMakeTmp/src.c /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CMakeTmp/src.c: In function ‘main’: /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CMakeTmp/src.c:7:38: error: ‘struct sockaddr’ has no member named ‘sa_len’ 7 | (void)sizeof(((struct sockaddr *)0)->sa_len); | ^~ ninja: build stopped: subcommand failed. Source file was: #include #include int main() { (void)sizeof(((struct sockaddr *)0)->sa_len); return 0; } Determining if the function getmntinfo exists failed with the following output: Change Dir: /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_8e02f && [1/2] Building C object CMakeFiles/cmTC_8e02f.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_8e02f FAILED: cmTC_8e02f : && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration -DCHECK_FUNCTION_EXISTS=getmntinfo -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 CMakeFiles/cmTC_8e02f.dir/CheckFunctionExists.c.o -o cmTC_8e02f && : /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_8e02f.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `getmntinfo' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Performing C++ SOURCE FILE Test GETMNTINFO_USES_STATVFS failed with the following output: Change Dir: /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_1789b && [1/2] Building CXX object CMakeFiles/cmTC_1789b.dir/src.cxx.o FAILED: CMakeFiles/cmTC_1789b.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DGETMNTINFO_USES_STATVFS -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DQT_NO_DEBUG -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -pedantic -Wzero-as-null-pointer-constant -Wmissing-include-dirs -fdiagnostics-color=always -std=c++17 -o CMakeFiles/cmTC_1789b.dir/src.cxx.o -c /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CMakeTmp/src.cxx /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’: /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CMakeTmp/src.cxx:7:12: error: ‘getmntinfo’ was not declared in this scope 7 | return getmntinfo(&mntbufp, flags); | ^~~~~~~~~~ ninja: build stopped: subcommand failed. Source file was: #include #include int main(){ struct statvfs *mntbufp; int flags; return getmntinfo(&mntbufp, flags); } Determining if files sys/types.h;sys/extattr.h exist failed with the following output: Change Dir: /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_4a895 && [1/2] Building C object CMakeFiles/cmTC_4a895.dir/HAVE_SYS_EXTATTR_H.c.o FAILED: CMakeFiles/cmTC_4a895.dir/HAVE_SYS_EXTATTR_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DQT_NO_DEBUG -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration -std=c99 -o CMakeFiles/cmTC_4a895.dir/HAVE_SYS_EXTATTR_H.c.o -c /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_EXTATTR_H.c /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_EXTATTR_H.c:3:10: fatal error: sys/extattr.h: No such file or directory 3 | #include | ^~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include #include int main(void){return 0;} Determining if files arpa/nameser8_compat.h exist failed with the following output: Change Dir: /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_504af && [1/2] Building C object CMakeFiles/cmTC_504af.dir/HAVE_ARPA_NAMESER8_COMPAT_H.c.o FAILED: CMakeFiles/cmTC_504af.dir/HAVE_ARPA_NAMESER8_COMPAT_H.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DQT_NO_DEBUG -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration -std=c99 -o CMakeFiles/cmTC_504af.dir/HAVE_ARPA_NAMESER8_COMPAT_H.c.o -c /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CheckIncludeFiles/HAVE_ARPA_NAMESER8_COMPAT_H.c /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CheckIncludeFiles/HAVE_ARPA_NAMESER8_COMPAT_H.c:2:10: fatal error: arpa/nameser8_compat.h: No such file or directory 2 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Source: /* */ #include int main(void){return 0;} Determining if the function res_init exists in the resolv failed with the following output: Change Dir: /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_44ccb && [1/2] Building C object CMakeFiles/cmTC_44ccb.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_44ccb FAILED: cmTC_44ccb : && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration -DCHECK_FUNCTION_EXISTS=res_init -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 CMakeFiles/cmTC_44ccb.dir/CheckFunctionExists.c.o -o cmTC_44ccb -lresolv && : /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_44ccb.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `res_init' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function connect exists in the socket failed with the following output: Change Dir: /var/tmp/portage/kde-frameworks/kio-5.86.0/work/kio-5.86.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_132f4 && [1/2] Building C object CMakeFiles/cmTC_132f4.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_132f4 FAILED: cmTC_132f4 : && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration -DCHECK_FUNCTION_EXISTS=connect -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 CMakeFiles/cmTC_132f4.dir/CheckFunctionExists.c.o -o cmTC_132f4 -lsocket && : /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsocket collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.