Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 742854 Details for
Bug 816144
dev-lang/swi-prolog-8.2.3-r2: Fails to compile tty support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
CMakeError.log, note line 661
CMakeError.log (text/x-log), 65.56 KB, created by
Vladimir Mihajlovic
on 2021-10-03 22:58:35 UTC
(
hide
)
Description:
CMakeError.log, note line 661
Filename:
MIME Type:
Creator:
Vladimir Mihajlovic
Created:
2021-10-03 22:58:35 UTC
Size:
65.56 KB
patch
obsolete
>Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_fdc68 && [1/2] Building C object CMakeFiles/cmTC_fdc68.dir/src.c.o >[2/2] Linking C executable cmTC_fdc68 >FAILED: cmTC_fdc68 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_fdc68.dir/src.c.o -o cmTC_fdc68 && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_fdc68.dir/src.c.o: in function `main': >src.c:(.text.startup+0x23): 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.startup+0x2c): 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.startup+0x35): 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.startup+0x40): undefined reference to `pthread_join' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > >Source file was: >#include <pthread.h> > >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/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_a2578 && [1/2] Building C object CMakeFiles/cmTC_a2578.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_a2578 >FAILED: cmTC_a2578 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_a2578.dir/CheckFunctionExists.c.o -o cmTC_a2578 -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. > > > >Determining if the include file dl.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_290d6 && [1/2] Building C object CMakeFiles/cmTC_290d6.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_290d6.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_290d6.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: dl.h: No such file or directory > 1 | #include <dl.h> > | ^~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file dmalloc.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_e0ca3 && [1/2] Building C object CMakeFiles/cmTC_e0ca3.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_e0ca3.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_e0ca3.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: dmalloc.h: No such file or directory > 1 | #include <dmalloc.h> > | ^~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file floatingpoint.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_5dd5c && [1/2] Building C object CMakeFiles/cmTC_5dd5c.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_5dd5c.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_5dd5c.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: floatingpoint.h: No such file or directory > 1 | #include <floatingpoint.h> > | ^~~~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file ieeefp.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_0ba04 && [1/2] Building C object CMakeFiles/cmTC_0ba04.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_0ba04.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_0ba04.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: ieeefp.h: No such file or directory > 1 | #include <ieeefp.h> > | ^~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file libloaderapi.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_ab7fb && [1/2] Building C object CMakeFiles/cmTC_ab7fb.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_ab7fb.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_ab7fb.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: libloaderapi.h: No such file or directory > 1 | #include <libloaderapi.h> > | ^~~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file shlobj.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_f9d09 && [1/2] Building C object CMakeFiles/cmTC_f9d09.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_f9d09.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_f9d09.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: shlobj.h: No such file or directory > 1 | #include <shlobj.h> > | ^~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file sys/ndir.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_d84a0 && [1/2] Building C object CMakeFiles/cmTC_d84a0.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_d84a0.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_d84a0.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: sys/ndir.h: No such file or directory > 1 | #include <sys/ndir.h> > | ^~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file sys/termio.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_b9363 && [1/2] Building C object CMakeFiles/cmTC_b9363.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_b9363.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_b9363.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: sys/termio.h: No such file or directory > 1 | #include <sys/termio.h> > | ^~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file valgrind/valgrind.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_e5e95 && [1/2] Building C object CMakeFiles/cmTC_e5e95.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_e5e95.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_e5e95.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: valgrind/valgrind.h: No such file or directory > 1 | #include <valgrind/valgrind.h> > | ^~~~~~~~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file vfork.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_ee160 && [1/2] Building C object CMakeFiles/cmTC_ee160.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_ee160.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_ee160.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: vfork.h: No such file or directory > 1 | #include <vfork.h> > | ^~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file mach/thread_act.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_609ee && [1/2] Building C object CMakeFiles/cmTC_609ee.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_609ee.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_609ee.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: mach/thread_act.h: No such file or directory > 1 | #include <mach/thread_act.h> > | ^~~~~~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file sys/stropts.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_09ba5 && [1/2] Building C object CMakeFiles/cmTC_09ba5.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_09ba5.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_09ba5.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: sys/stropts.h: No such file or directory > 1 | #include <sys/stropts.h> > | ^~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file crt_externs.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_1fbc7 && [1/2] Building C object CMakeFiles/cmTC_1fbc7.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_1fbc7.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_1fbc7.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: crt_externs.h: No such file or directory > 1 | #include <crt_externs.h> > | ^~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the function qsort_s exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_61361 && [1/2] Building C object CMakeFiles/cmTC_61361.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_61361 >FAILED: cmTC_61361 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=qsort_s -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_61361.dir/CheckFunctionExists.c.o -o cmTC_61361 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_61361.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `qsort_s' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function stricmp exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_b8d87 && [1/2] Building C object CMakeFiles/cmTC_b8d87.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_b8d87 >FAILED: cmTC_b8d87 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=stricmp -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_b8d87.dir/CheckFunctionExists.c.o -o cmTC_b8d87 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_b8d87.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `stricmp' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function strlwr exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_c5eb9 && [1/2] Building C object CMakeFiles/cmTC_c5eb9.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_c5eb9 >FAILED: cmTC_c5eb9 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=strlwr -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_c5eb9.dir/CheckFunctionExists.c.o -o cmTC_c5eb9 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_c5eb9.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `strlwr' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function mbcasescoll exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_fc172 && [1/2] Building C object CMakeFiles/cmTC_fc172.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_fc172 >FAILED: cmTC_fc172 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=mbcasescoll -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_fc172.dir/CheckFunctionExists.c.o -o cmTC_fc172 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_fc172.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `mbcasescoll' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_2bfc7 && [1/2] Building C object CMakeFiles/cmTC_2bfc7.dir/src.c.o >[2/2] Linking C executable cmTC_2bfc7 >FAILED: cmTC_2bfc7 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_2bfc7.dir/src.c.o -o cmTC_2bfc7 && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_2bfc7.dir/src.c.o: in function `main': >src.c:(.text.startup+0x23): 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.startup+0x2c): 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.startup+0x35): 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.startup+0x40): undefined reference to `pthread_join' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > >Source file was: >#include <pthread.h> > >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/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_6034c && [1/2] Building C object CMakeFiles/cmTC_6034c.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_6034c >FAILED: cmTC_6034c >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_6034c.dir/CheckFunctionExists.c.o -o cmTC_6034c -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 CMAKE_HAVE_LIBC_PTHREAD failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_e61b6 && [1/2] Building C object CMakeFiles/cmTC_e61b6.dir/src.c.o >[2/2] Linking C executable cmTC_e61b6 >FAILED: cmTC_e61b6 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_e61b6.dir/src.c.o -o cmTC_e61b6 && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_e61b6.dir/src.c.o: in function `main': >src.c:(.text.startup+0x23): 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.startup+0x2c): 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.startup+0x35): 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.startup+0x40): undefined reference to `pthread_join' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > >Source file was: >#include <pthread.h> > >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/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_74438 && [1/2] Building C object CMakeFiles/cmTC_74438.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_74438 >FAILED: cmTC_74438 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_74438.dir/CheckFunctionExists.c.o -o cmTC_74438 -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. > > > >Determining if the include file dl.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_078bf && [1/2] Building C object CMakeFiles/cmTC_078bf.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_078bf.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_078bf.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: dl.h: No such file or directory > 1 | #include <dl.h> > | ^~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file dmalloc.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_355b5 && [1/2] Building C object CMakeFiles/cmTC_355b5.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_355b5.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_355b5.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: dmalloc.h: No such file or directory > 1 | #include <dmalloc.h> > | ^~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file floatingpoint.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_4dc16 && [1/2] Building C object CMakeFiles/cmTC_4dc16.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_4dc16.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_4dc16.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: floatingpoint.h: No such file or directory > 1 | #include <floatingpoint.h> > | ^~~~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file ieeefp.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_96014 && [1/2] Building C object CMakeFiles/cmTC_96014.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_96014.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_96014.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: ieeefp.h: No such file or directory > 1 | #include <ieeefp.h> > | ^~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file libloaderapi.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_57a3a && [1/2] Building C object CMakeFiles/cmTC_57a3a.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_57a3a.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_57a3a.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: libloaderapi.h: No such file or directory > 1 | #include <libloaderapi.h> > | ^~~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file shlobj.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_37116 && [1/2] Building C object CMakeFiles/cmTC_37116.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_37116.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_37116.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: shlobj.h: No such file or directory > 1 | #include <shlobj.h> > | ^~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file sys/ndir.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_6d3cc && [1/2] Building C object CMakeFiles/cmTC_6d3cc.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_6d3cc.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_6d3cc.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: sys/ndir.h: No such file or directory > 1 | #include <sys/ndir.h> > | ^~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file sys/termio.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_32781 && [1/2] Building C object CMakeFiles/cmTC_32781.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_32781.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_32781.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: sys/termio.h: No such file or directory > 1 | #include <sys/termio.h> > | ^~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file valgrind/valgrind.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_7d824 && [1/2] Building C object CMakeFiles/cmTC_7d824.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_7d824.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_7d824.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: valgrind/valgrind.h: No such file or directory > 1 | #include <valgrind/valgrind.h> > | ^~~~~~~~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file vfork.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_fcc48 && [1/2] Building C object CMakeFiles/cmTC_fcc48.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_fcc48.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_fcc48.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: vfork.h: No such file or directory > 1 | #include <vfork.h> > | ^~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file mach/thread_act.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_39330 && [1/2] Building C object CMakeFiles/cmTC_39330.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_39330.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_39330.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: mach/thread_act.h: No such file or directory > 1 | #include <mach/thread_act.h> > | ^~~~~~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file sys/stropts.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_4d1a8 && [1/2] Building C object CMakeFiles/cmTC_4d1a8.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_4d1a8.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_4d1a8.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: sys/stropts.h: No such file or directory > 1 | #include <sys/stropts.h> > | ^~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file crt_externs.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_3e361 && [1/2] Building C object CMakeFiles/cmTC_3e361.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_3e361.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_3e361.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: crt_externs.h: No such file or directory > 1 | #include <crt_externs.h> > | ^~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the function qsort_s exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_06896 && [1/2] Building C object CMakeFiles/cmTC_06896.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_06896 >FAILED: cmTC_06896 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=qsort_s -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_06896.dir/CheckFunctionExists.c.o -o cmTC_06896 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_06896.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `qsort_s' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function stricmp exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_51843 && [1/2] Building C object CMakeFiles/cmTC_51843.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_51843 >FAILED: cmTC_51843 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=stricmp -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_51843.dir/CheckFunctionExists.c.o -o cmTC_51843 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_51843.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `stricmp' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function strlwr exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_ef39b && [1/2] Building C object CMakeFiles/cmTC_ef39b.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_ef39b >FAILED: cmTC_ef39b >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=strlwr -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_ef39b.dir/CheckFunctionExists.c.o -o cmTC_ef39b -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_ef39b.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `strlwr' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function mbcasescoll exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_91169 && [1/2] Building C object CMakeFiles/cmTC_91169.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_91169 >FAILED: cmTC_91169 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=mbcasescoll -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_91169.dir/CheckFunctionExists.c.o -o cmTC_91169 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_91169.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `mbcasescoll' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function _NSGetEnviron exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_7d4a8 && [1/2] Building C object CMakeFiles/cmTC_7d4a8.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_7d4a8 >FAILED: cmTC_7d4a8 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=_NSGetEnviron -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_7d4a8.dir/CheckFunctionExists.c.o -o cmTC_7d4a8 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_7d4a8.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `_NSGetEnviron' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function shl_load exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_bcab9 && [1/2] Building C object CMakeFiles/cmTC_bcab9.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_bcab9 >FAILED: cmTC_bcab9 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=shl_load -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_bcab9.dir/CheckFunctionExists.c.o -o cmTC_bcab9 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_bcab9.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `shl_load' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function tgetent exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_0c92b && [1/2] Building C object CMakeFiles/cmTC_0c92b.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_0c92b >FAILED: cmTC_0c92b >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=tgetent -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_0c92b.dir/CheckFunctionExists.c.o -o cmTC_0c92b -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_0c92b.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `tgetent' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function sgttyb exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_1e858 && [1/2] Building C object CMakeFiles/cmTC_1e858.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_1e858 >FAILED: cmTC_1e858 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=sgttyb -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_1e858.dir/CheckFunctionExists.c.o -o cmTC_1e858 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_1e858.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `sgttyb' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function fpclass exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_255c7 && [1/2] Building C object CMakeFiles/cmTC_255c7.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_255c7 >FAILED: cmTC_255c7 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=fpclass -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_255c7.dir/CheckFunctionExists.c.o -o cmTC_255c7 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_255c7.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `fpclass' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function fpresetsticky exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_bd2d1 && [1/2] Building C object CMakeFiles/cmTC_bd2d1.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_bd2d1 >FAILED: cmTC_bd2d1 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=fpresetsticky -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_bd2d1.dir/CheckFunctionExists.c.o -o cmTC_bd2d1 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_bd2d1.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `fpresetsticky' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function fpsetmask exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_6a9f0 && [1/2] Building C object CMakeFiles/cmTC_6a9f0.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_6a9f0 >FAILED: cmTC_6a9f0 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=fpsetmask -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_6a9f0.dir/CheckFunctionExists.c.o -o cmTC_6a9f0 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_6a9f0.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `fpsetmask' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function localtime_s exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_59d30 && [1/2] Building C object CMakeFiles/cmTC_59d30.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_59d30 >FAILED: cmTC_59d30 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=localtime_s -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_59d30.dir/CheckFunctionExists.c.o -o cmTC_59d30 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_59d30.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `localtime_s' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function delay exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_d02e6 && [1/2] Building C object CMakeFiles/cmTC_d02e6.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_d02e6 >FAILED: cmTC_d02e6 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=delay -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_d02e6.dir/CheckFunctionExists.c.o -o cmTC_d02e6 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_d02e6.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `delay' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function dossleep exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_c7246 && [1/2] Building C object CMakeFiles/cmTC_c7246.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_c7246 >FAILED: cmTC_c7246 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=dossleep -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_c7246.dir/CheckFunctionExists.c.o -o cmTC_c7246 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_c7246.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `dossleep' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Performing C SOURCE FILE Test SYS_CPUSET_H_FOUND failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_ec3e6 && [1/2] Building C object CMakeFiles/cmTC_ec3e6.dir/src.c.o >FAILED: CMakeFiles/cmTC_ec3e6.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DSYS_CPUSET_H_FOUND -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_ec3e6.dir/src.c.o -c src.c >src.c:2:15: fatal error: sys/cpuset.h: No such file or directory > 2 | #include <sys/cpuset.h> > | ^~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > >Source file was: >#include <sys/param.h> > #include <sys/cpuset.h> > int main() {} >Determining if the include file pthread_np.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_09a22 && [1/2] Building C object CMakeFiles/cmTC_09a22.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_09a22.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_09a22.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: pthread_np.h: No such file or directory > 1 | #include <pthread_np.h> > | ^~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the function pthread_getw32threadhandle_np exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_d365e && [1/2] Building C object CMakeFiles/cmTC_d365e.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_d365e >FAILED: cmTC_d365e >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=pthread_getw32threadhandle_np -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_d365e.dir/CheckFunctionExists.c.o -o cmTC_d365e -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_d365e.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `pthread_getw32threadhandle_np' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function sema_init exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_30ff2 && [1/2] Building C object CMakeFiles/cmTC_30ff2.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_30ff2 >FAILED: cmTC_30ff2 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=sema_init -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_30ff2.dir/CheckFunctionExists.c.o -o cmTC_30ff2 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_30ff2.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `sema_init' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Performing C SOURCE FILE Test HAVE_PTHREAD_SETNAME_NP_WITH_TID_AND_ARG failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_32b91 && [1/2] Building C object CMakeFiles/cmTC_32b91.dir/src.c.o >FAILED: CMakeFiles/cmTC_32b91.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_PTHREAD_SETNAME_NP_WITH_TID_AND_ARG -O2 -pipe -march=native -fno-strict-aliasing -Werror -o CMakeFiles/cmTC_32b91.dir/src.c.o -c src.c >src.c: In function âmainâ: >src.c:4:10: error: too many arguments to function âpthread_setname_npâ > 4 | { pthread_setname_np(0, "%s", (void *)"myname"); return 0; > | ^~~~~~~~~~~~~~~~~~ >In file included from src.c:2: >/usr/include/pthread.h:443:12: note: declared here > 443 | extern int pthread_setname_np (pthread_t __target_thread, const char *__name) > | ^~~~~~~~~~~~~~~~~~ >ninja: build stopped: subcommand failed. > > >Source file was: >#define _GNU_SOURCE > #include <pthread.h> > int main() > { pthread_setname_np(0, "%s", (void *)"myname"); return 0; > } >Performing C SOURCE FILE Test HAVE_GETTID_MACRO failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_494e3 && [1/2] Building C object CMakeFiles/cmTC_494e3.dir/src.c.o >FAILED: CMakeFiles/cmTC_494e3.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_GETTID_MACRO -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_494e3.dir/src.c.o -c src.c >src.c: In function âmainâ: >src.c:4:8: warning: implicit declaration of function â_syscall0â [-Wimplicit-function-declaration] > 4 | { _syscall0(pid_t,gettid); > | ^~~~~~~~~ >src.c:4:18: error: expected expression before âpid_tâ > 4 | { _syscall0(pid_t,gettid); > | ^~~~~ >ninja: build stopped: subcommand failed. > > >Source file was: >#include <sys/types.h> > #include <linux/unistd.h> > int main() > { _syscall0(pid_t,gettid); > return 0; > } >Determining if the function WSAPoll exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_051b3 && [1/2] Building C object CMakeFiles/cmTC_051b3.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_051b3 >FAILED: cmTC_051b3 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=WSAPoll -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_051b3.dir/CheckFunctionExists.c.o -o cmTC_051b3 -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_051b3.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `WSAPoll' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function WinExec exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_66a7a && [1/2] Building C object CMakeFiles/cmTC_66a7a.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_66a7a >FAILED: cmTC_66a7a >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=WinExec -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_66a7a.dir/CheckFunctionExists.c.o -o cmTC_66a7a -ldl -lm -lrt -lcurses /usr/lib64/libform.so /usr/lib64/libgmp.so -lpthread && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_66a7a.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `WinExec' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function socket exists in the socket failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_92504 && [1/2] Building C object CMakeFiles/cmTC_92504.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_92504 >FAILED: cmTC_92504 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=socket -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_92504.dir/CheckFunctionExists.c.o -o cmTC_92504 -lsocket && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsocket >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function crypt exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_47711 && [1/2] Building C object CMakeFiles/cmTC_47711.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_47711 >FAILED: cmTC_47711 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=crypt -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_47711.dir/CheckFunctionExists.c.o -o cmTC_47711 && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_47711.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `crypt' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the include file io.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_2cfb1 && [1/2] Building C object CMakeFiles/cmTC_2cfb1.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_2cfb1.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_2cfb1.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: io.h: No such file or directory > 1 | #include <io.h> > | ^~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file Security/Security.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_f071c && [1/2] Building C object CMakeFiles/cmTC_f071c.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_f071c.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_f071c.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: Security/Security.h: No such file or directory > 1 | #include <Security/Security.h> > | ^~~~~~~~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Performing C SOURCE FILE Test HAVE_KSECCLASS failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_d60c9 && [1/2] Building C object CMakeFiles/cmTC_d60c9.dir/src.c.o >FAILED: CMakeFiles/cmTC_d60c9.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_KSECCLASS -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_d60c9.dir/src.c.o -c src.c >src.c:2:15: fatal error: Security/Security.h: No such file or directory > 2 | #include <Security/Security.h> > | ^~~~~~~~~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > >Source file was: >#include <sys/types.h> > #include <Security/Security.h> > > int main() { const void *key = kSecClass; return 0; } >Determining if the function CRYPTO_THREADID_get_callback exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_6c557 && [1/2] Building C object CMakeFiles/cmTC_6c557.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_6c557 >FAILED: cmTC_6c557 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=CRYPTO_THREADID_get_callback -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_6c557.dir/CheckFunctionExists.c.o -o cmTC_6c557 /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libcrypto.so && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_6c557.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `CRYPTO_THREADID_get_callback' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function CRYPTO_THREADID_set_callback exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_04648 && [1/2] Building C object CMakeFiles/cmTC_04648.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_04648 >FAILED: cmTC_04648 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=CRYPTO_THREADID_set_callback -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_04648.dir/CheckFunctionExists.c.o -o cmTC_04648 /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libcrypto.so && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_04648.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `CRYPTO_THREADID_set_callback' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining if the function OPENSSL_zalloc exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_4a1df && [1/2] Building C object CMakeFiles/cmTC_4a1df.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_4a1df >FAILED: cmTC_4a1df >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=OPENSSL_zalloc -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_4a1df.dir/CheckFunctionExists.c.o -o cmTC_4a1df /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libcrypto.so && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_4a1df.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `OPENSSL_zalloc' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > > >Determining size of CRYPTO_THREADID failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_067cf && [1/2] Building C object CMakeFiles/cmTC_067cf.dir/SIZEOF_CRYPTO_THREADID.c.o >FAILED: CMakeFiles/cmTC_067cf.dir/SIZEOF_CRYPTO_THREADID.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_067cf.dir/SIZEOF_CRYPTO_THREADID.c.o -c /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CheckTypeSize/SIZEOF_CRYPTO_THREADID.c >/var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CheckTypeSize/SIZEOF_CRYPTO_THREADID.c:28:22: error: âCRYPTO_THREADIDâ undeclared here (not in a function) > 28 | #define SIZE (sizeof(CRYPTO_THREADID)) > | ^~~~~~~~~~~~~~~ >/var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CheckTypeSize/SIZEOF_CRYPTO_THREADID.c:30:12: note: in expansion of macro âSIZEâ > 30 | ('0' + ((SIZE / 10000)%10)), > | ^~~~ >ninja: build stopped: subcommand failed. > > >/var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CheckTypeSize/SIZEOF_CRYPTO_THREADID.c: >#include <sys/types.h> >#include <stdint.h> >#include <stddef.h> >#include "sys/socket.h" > > >#undef KEY >#if defined(__i386) ># define KEY '_','_','i','3','8','6' >#elif defined(__x86_64) ># define KEY '_','_','x','8','6','_','6','4' >#elif defined(__PPC64__) ># define KEY '_','_','P','P','C','6','4','_','_' >#elif defined(__ppc64__) ># define KEY '_','_','p','p','c','6','4','_','_' >#elif defined(__PPC__) ># define KEY '_','_','P','P','C','_','_' >#elif defined(__ppc__) ># define KEY '_','_','p','p','c','_','_' >#elif defined(__aarch64__) ># define KEY '_','_','a','a','r','c','h','6','4','_','_' >#elif defined(__ARM_ARCH_7A__) ># define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' >#elif defined(__ARM_ARCH_7S__) ># define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' >#endif > >#define SIZE (sizeof(CRYPTO_THREADID)) >static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', > ('0' + ((SIZE / 10000)%10)), > ('0' + ((SIZE / 1000)%10)), > ('0' + ((SIZE / 100)%10)), > ('0' + ((SIZE / 10)%10)), > ('0' + (SIZE % 10)), > ']', >#ifdef KEY > ' ','k','e','y','[', KEY, ']', >#endif > '\0'}; > >#ifdef __CLASSIC_C__ >int main(argc, argv) int argc; char *argv[]; >#else >int main(int argc, char *argv[]) >#endif >{ > int require = 0; > require += info_size[argc]; > (void)argv; > return require; >} > > >Performing C SOURCE FILE Test HAVE_X509_VERIFY_PARAM_ID failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_3b3a6 && [1/2] Building C object CMakeFiles/cmTC_3b3a6.dir/src.c.o >FAILED: CMakeFiles/cmTC_3b3a6.dir/src.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_X509_VERIFY_PARAM_ID -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_3b3a6.dir/src.c.o -c src.c >src.c: In function âmainâ: >src.c:6:40: error: invalid use of incomplete typedef âX509_VERIFY_PARAMâ {aka âstruct X509_VERIFY_PARAM_stâ} > 6 | (void)sizeof(((X509_VERIFY_PARAM *)0)->id); > | ^~ >ninja: build stopped: subcommand failed. > > >Source file was: > >#include <openssl/ssl.h> > >int main() >{ > (void)sizeof(((X509_VERIFY_PARAM *)0)->id); > return 0; >} > >Determining if the include file stropts.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_ea0ef && [1/2] Building C object CMakeFiles/cmTC_ea0ef.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_ea0ef.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -I/usr/include/freetype2 -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_ea0ef.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: stropts.h: No such file or directory > 1 | #include <stropts.h> > | ^~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file frame.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_5a519 && [1/2] Building C object CMakeFiles/cmTC_5a519.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_5a519.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -I/usr/include/freetype2 -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_5a519.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: frame.h: No such file or directory > 1 | #include <frame.h> > | ^~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file siginfo.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_1cd11 && [1/2] Building C object CMakeFiles/cmTC_1cd11.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_1cd11.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -I/usr/include/freetype2 -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_1cd11.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: siginfo.h: No such file or directory > 1 | #include <siginfo.h> > | ^~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file bstring.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_30a79 && [1/2] Building C object CMakeFiles/cmTC_30a79.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_30a79.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -I/usr/include/freetype2 -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_30a79.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: bstring.h: No such file or directory > 1 | #include <bstring.h> > | ^~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file conio.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_dbaff && [1/2] Building C object CMakeFiles/cmTC_dbaff.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_dbaff.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -I/usr/include/freetype2 -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_dbaff.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: conio.h: No such file or directory > 1 | #include <conio.h> > | ^~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the include file sys/access.h exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_8cc6b && [1/2] Building C object CMakeFiles/cmTC_8cc6b.dir/CheckIncludeFile.c.o >FAILED: CMakeFiles/cmTC_8cc6b.dir/CheckIncludeFile.c.o >/usr/bin/x86_64-pc-linux-gnu-gcc -I/usr/include/freetype2 -O2 -pipe -march=native -fno-strict-aliasing -o CMakeFiles/cmTC_8cc6b.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c >CheckIncludeFile.c:1:10: fatal error: sys/access.h: No such file or directory > 1 | #include <sys/access.h> > | ^~~~~~~~~~~~~~ >compilation terminated. >ninja: build stopped: subcommand failed. > > > >Determining if the function XmIsMotifWMRunning exists failed with the following output: >Change Dir: /var/tmp/portage/dev-lang/swi-prolog-8.2.3-r2/work/swipl-8.2.3/build/CMakeFiles/CMakeTmp > >Run Build Command(s):/usr/bin/ninja cmTC_09a86 && [1/2] Building C object CMakeFiles/cmTC_09a86.dir/CheckFunctionExists.c.o >[2/2] Linking C executable cmTC_09a86 >FAILED: cmTC_09a86 >: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-strict-aliasing -DCHECK_FUNCTION_EXISTS=XmIsMotifWMRunning -Wl,-O1 -Wl,--as-needed CMakeFiles/cmTC_09a86.dir/CheckFunctionExists.c.o -o cmTC_09a86 /usr/lib64/libXpm.so /usr/lib64/libXext.so /usr/lib64/libXt.so /usr/lib64/libX11.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libXft.so /usr/lib64/libfreetype.so /usr/lib64/libfontconfig.so && : >/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_09a86.dir/CheckFunctionExists.c.o: in function `main': >CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `XmIsMotifWMRunning' >collect2: error: ld returned 1 exit status >ninja: build stopped: subcommand failed. > > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 816144
: 742854 |
743013
|
746349