Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_fc8db/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_fc8db.dir/build.make CMakeFiles/cmTC_fc8db.dir/build
Building C object CMakeFiles/cmTC_fc8db.dir/src.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_fc8db.dir/src.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_fc8db
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fc8db.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCMAKE_HAVE_LIBC_PTHREAD -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_fc8db.dir/src.c.o -o cmTC_fc8db 
ld: CMakeFiles/cmTC_fc8db.dir/src.c.o: in function `main':
src.c:(.text.startup+0x20): undefined reference to `pthread_create'
ld: src.c:(.text.startup+0x30): undefined reference to `pthread_cancel'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp


Source file was:
#include <pthread.h>

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: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_7a494/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_7a494.dir/build.make CMakeFiles/cmTC_7a494.dir/build
Building C object CMakeFiles/cmTC_7a494.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_7a494.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_7a494
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7a494.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_7a494.dir/CheckFunctionExists.c.o -o cmTC_7a494  -lpthreads 
ld: cannot find -lpthreads
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file alloca.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_4c8f2/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_4c8f2.dir/build.make CMakeFiles/cmTC_4c8f2.dir/build
Building C object CMakeFiles/cmTC_4c8f2.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_4c8f2.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: alloca.h: No such file or directory
 #include <alloca.h>
          ^~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file dl.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_8d64d/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_8d64d.dir/build.make CMakeFiles/cmTC_8d64d.dir/build
Building C object CMakeFiles/cmTC_8d64d.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_8d64d.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: dl.h: No such file or directory
 #include <dl.h>
          ^~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file dmalloc.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_4f854/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_4f854.dir/build.make CMakeFiles/cmTC_4f854.dir/build
Building C object CMakeFiles/cmTC_4f854.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_4f854.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: dmalloc.h: No such file or directory
 #include <dmalloc.h>
          ^~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file floatingpoint.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_616e1/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_616e1.dir/build.make CMakeFiles/cmTC_616e1.dir/build
Building C object CMakeFiles/cmTC_616e1.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_616e1.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: floatingpoint.h: No such file or directory
 #include <floatingpoint.h>
          ^~~~~~~~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file ieee754.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_ef21f/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_ef21f.dir/build.make CMakeFiles/cmTC_ef21f.dir/build
Building C object CMakeFiles/cmTC_ef21f.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_ef21f.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: ieee754.h: No such file or directory
 #include <ieee754.h>
          ^~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file libloaderapi.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_c767d/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_c767d.dir/build.make CMakeFiles/cmTC_c767d.dir/build
Building C object CMakeFiles/cmTC_c767d.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_c767d.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: libloaderapi.h: No such file or directory
 #include <libloaderapi.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file ncurses/curses.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_3088c/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_3088c.dir/build.make CMakeFiles/cmTC_3088c.dir/build
Building C object CMakeFiles/cmTC_3088c.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_3088c.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: ncurses/curses.h: No such file or directory
 #include <ncurses/curses.h>
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file ncurses/term.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_69d50/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_69d50.dir/build.make CMakeFiles/cmTC_69d50.dir/build
Building C object CMakeFiles/cmTC_69d50.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_69d50.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: ncurses/term.h: No such file or directory
 #include <ncurses/term.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file shlobj.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_ff2de/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_ff2de.dir/build.make CMakeFiles/cmTC_ff2de.dir/build
Building C object CMakeFiles/cmTC_ff2de.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_ff2de.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: shlobj.h: No such file or directory
 #include <shlobj.h>
          ^~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file sys/ndir.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_0ed01/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_0ed01.dir/build.make CMakeFiles/cmTC_0ed01.dir/build
Building C object CMakeFiles/cmTC_0ed01.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_0ed01.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/ndir.h: No such file or directory
 #include <sys/ndir.h>
          ^~~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file sys/termio.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_5fe05/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_5fe05.dir/build.make CMakeFiles/cmTC_5fe05.dir/build
Building C object CMakeFiles/cmTC_5fe05.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_5fe05.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/termio.h: No such file or directory
 #include <sys/termio.h>
          ^~~~~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file valgrind/valgrind.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_9095d/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_9095d.dir/build.make CMakeFiles/cmTC_9095d.dir/build
Building C object CMakeFiles/cmTC_9095d.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_9095d.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: valgrind/valgrind.h: No such file or directory
 #include <valgrind/valgrind.h>
          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file vfork.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_0e1c8/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_0e1c8.dir/build.make CMakeFiles/cmTC_0e1c8.dir/build
Building C object CMakeFiles/cmTC_0e1c8.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_0e1c8.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: vfork.h: No such file or directory
 #include <vfork.h>
          ^~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file mach/thread_act.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_ab098/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_ab098.dir/build.make CMakeFiles/cmTC_ab098.dir/build
Building C object CMakeFiles/cmTC_ab098.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_ab098.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: mach/thread_act.h: No such file or directory
 #include <mach/thread_act.h>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the include file sys/stropts.h exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_5b75c/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_5b75c.dir/build.make CMakeFiles/cmTC_5b75c.dir/build
Building C object CMakeFiles/cmTC_5b75c.dir/CheckIncludeFile.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -o CMakeFiles/cmTC_5b75c.dir/CheckIncludeFile.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: sys/stropts.h: No such file or directory
 #include <sys/stropts.h>
          ^~~~~~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function dlopen exists in the dl failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_942ec/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_942ec.dir/build.make CMakeFiles/cmTC_942ec.dir/build
Building C object CMakeFiles/cmTC_942ec.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc   -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=dlopen -o CMakeFiles/cmTC_942ec.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_942ec
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_942ec.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=dlopen -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_942ec.dir/CheckFunctionExists.c.o -o cmTC_942ec  -ldl 
ld: cannot find -ldl
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function qsort_r exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_c14b8/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_c14b8.dir/build.make CMakeFiles/cmTC_c14b8.dir/build
Building C object CMakeFiles/cmTC_c14b8.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=qsort_r -o CMakeFiles/cmTC_c14b8.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_c14b8
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c14b8.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=qsort_r -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_c14b8.dir/CheckFunctionExists.c.o -o cmTC_c14b8  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_c14b8.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `qsort_r'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function qsort_s exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_c2a00/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_c2a00.dir/build.make CMakeFiles/cmTC_c2a00.dir/build
Building C object CMakeFiles/cmTC_c2a00.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=qsort_s -o CMakeFiles/cmTC_c2a00.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_c2a00
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c2a00.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=qsort_s -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_c2a00.dir/CheckFunctionExists.c.o -o cmTC_c2a00  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_c2a00.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `qsort_s'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function stricmp exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_5d209/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_5d209.dir/build.make CMakeFiles/cmTC_5d209.dir/build
Building C object CMakeFiles/cmTC_5d209.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=stricmp -o CMakeFiles/cmTC_5d209.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_5d209
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5d209.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=stricmp -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_5d209.dir/CheckFunctionExists.c.o -o cmTC_5d209  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_5d209.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `stricmp'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function strlwr exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_30318/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_30318.dir/build.make CMakeFiles/cmTC_30318.dir/build
Building C object CMakeFiles/cmTC_30318.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=strlwr -o CMakeFiles/cmTC_30318.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_30318
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_30318.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=strlwr -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_30318.dir/CheckFunctionExists.c.o -o cmTC_30318  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_30318.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `strlwr'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function mbcasescoll exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_6fcce/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_6fcce.dir/build.make CMakeFiles/cmTC_6fcce.dir/build
Building C object CMakeFiles/cmTC_6fcce.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=mbcasescoll -o CMakeFiles/cmTC_6fcce.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_6fcce
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6fcce.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=mbcasescoll -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_6fcce.dir/CheckFunctionExists.c.o -o cmTC_6fcce  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_6fcce.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `mbcasescoll'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function shl_load exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_8276f/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_8276f.dir/build.make CMakeFiles/cmTC_8276f.dir/build
Building C object CMakeFiles/cmTC_8276f.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=shl_load -o CMakeFiles/cmTC_8276f.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_8276f
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8276f.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=shl_load -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_8276f.dir/CheckFunctionExists.c.o -o cmTC_8276f  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_8276f.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `shl_load'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function siggetmask exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_d4751/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_d4751.dir/build.make CMakeFiles/cmTC_d4751.dir/build
Building C object CMakeFiles/cmTC_d4751.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=siggetmask -o CMakeFiles/cmTC_d4751.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_d4751
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d4751.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=siggetmask -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_d4751.dir/CheckFunctionExists.c.o -o cmTC_d4751  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_d4751.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `siggetmask'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function backtrace exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_04cf0/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_04cf0.dir/build.make CMakeFiles/cmTC_04cf0.dir/build
Building C object CMakeFiles/cmTC_04cf0.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=backtrace -o CMakeFiles/cmTC_04cf0.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_04cf0
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_04cf0.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=backtrace -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_04cf0.dir/CheckFunctionExists.c.o -o cmTC_04cf0  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_04cf0.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `backtrace'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function mtrace exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_01077/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_01077.dir/build.make CMakeFiles/cmTC_01077.dir/build
Building C object CMakeFiles/cmTC_01077.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=mtrace -o CMakeFiles/cmTC_01077.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_01077
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_01077.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=mtrace -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_01077.dir/CheckFunctionExists.c.o -o cmTC_01077  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_01077.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `mtrace'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function sgttyb exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_71a75/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_71a75.dir/build.make CMakeFiles/cmTC_71a75.dir/build
Building C object CMakeFiles/cmTC_71a75.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=sgttyb -o CMakeFiles/cmTC_71a75.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_71a75
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_71a75.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=sgttyb -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_71a75.dir/CheckFunctionExists.c.o -o cmTC_71a75  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_71a75.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `sgttyb'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function fpclass exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_5e572/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_5e572.dir/build.make CMakeFiles/cmTC_5e572.dir/build
Building C object CMakeFiles/cmTC_5e572.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=fpclass -o CMakeFiles/cmTC_5e572.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_5e572
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5e572.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=fpclass -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_5e572.dir/CheckFunctionExists.c.o -o cmTC_5e572  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_5e572.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `fpclass'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function fpresetsticky exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_0effc/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_0effc.dir/build.make CMakeFiles/cmTC_0effc.dir/build
Building C object CMakeFiles/cmTC_0effc.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=fpresetsticky -o CMakeFiles/cmTC_0effc.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_0effc
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0effc.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=fpresetsticky -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_0effc.dir/CheckFunctionExists.c.o -o cmTC_0effc  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_0effc.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `fpresetsticky'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function ftime exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_f0c00/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_f0c00.dir/build.make CMakeFiles/cmTC_f0c00.dir/build
Building C object CMakeFiles/cmTC_f0c00.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=ftime -o CMakeFiles/cmTC_f0c00.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_f0c00
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f0c00.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=ftime -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_f0c00.dir/CheckFunctionExists.c.o -o cmTC_f0c00  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_f0c00.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `ftime'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function localtime_s exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_5ab46/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_5ab46.dir/build.make CMakeFiles/cmTC_5ab46.dir/build
Building C object CMakeFiles/cmTC_5ab46.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=localtime_s -o CMakeFiles/cmTC_5ab46.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_5ab46
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5ab46.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=localtime_s -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_5ab46.dir/CheckFunctionExists.c.o -o cmTC_5ab46  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_5ab46.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `localtime_s'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function delay exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_cd974/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_cd974.dir/build.make CMakeFiles/cmTC_cd974.dir/build
Building C object CMakeFiles/cmTC_cd974.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=delay -o CMakeFiles/cmTC_cd974.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_cd974
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cd974.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=delay -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_cd974.dir/CheckFunctionExists.c.o -o cmTC_cd974  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_cd974.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `delay'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function dossleep exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_afd16/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_afd16.dir/build.make CMakeFiles/cmTC_afd16.dir/build
Building C object CMakeFiles/cmTC_afd16.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=dossleep -o CMakeFiles/cmTC_afd16.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_afd16
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_afd16.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=dossleep -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_afd16.dir/CheckFunctionExists.c.o -o cmTC_afd16  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_afd16.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `dossleep'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function pthread_attr_setaffinity_np exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_3ff7a/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_3ff7a.dir/build.make CMakeFiles/cmTC_3ff7a.dir/build
Building C object CMakeFiles/cmTC_3ff7a.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=pthread_attr_setaffinity_np -o CMakeFiles/cmTC_3ff7a.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_3ff7a
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3ff7a.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=pthread_attr_setaffinity_np -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_3ff7a.dir/CheckFunctionExists.c.o -o cmTC_3ff7a  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_3ff7a.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `pthread_attr_setaffinity_np'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function pthread_getw32threadhandle_np exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_5a97f/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_5a97f.dir/build.make CMakeFiles/cmTC_5a97f.dir/build
Building C object CMakeFiles/cmTC_5a97f.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=pthread_getw32threadhandle_np -o CMakeFiles/cmTC_5a97f.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_5a97f
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5a97f.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=pthread_getw32threadhandle_np -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_5a97f.dir/CheckFunctionExists.c.o -o cmTC_5a97f  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_5a97f.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `pthread_getw32threadhandle_np'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function pthread_mutexattr_setkind_np exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_a885f/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_a885f.dir/build.make CMakeFiles/cmTC_a885f.dir/build
Building C object CMakeFiles/cmTC_a885f.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=pthread_mutexattr_setkind_np -o CMakeFiles/cmTC_a885f.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_a885f
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a885f.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=pthread_mutexattr_setkind_np -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_a885f.dir/CheckFunctionExists.c.o -o cmTC_a885f  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_a885f.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `pthread_mutexattr_setkind_np'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function pthread_setconcurrency exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_64239/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_64239.dir/build.make CMakeFiles/cmTC_64239.dir/build
Building C object CMakeFiles/cmTC_64239.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=pthread_setconcurrency -o CMakeFiles/cmTC_64239.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_64239
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_64239.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=pthread_setconcurrency -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_64239.dir/CheckFunctionExists.c.o -o cmTC_64239  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_64239.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `pthread_setconcurrency'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function pthread_timedjoin_np exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_80a36/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_80a36.dir/build.make CMakeFiles/cmTC_80a36.dir/build
Building C object CMakeFiles/cmTC_80a36.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=pthread_timedjoin_np -o CMakeFiles/cmTC_80a36.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_80a36
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_80a36.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=pthread_timedjoin_np -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_80a36.dir/CheckFunctionExists.c.o -o cmTC_80a36  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_80a36.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `pthread_timedjoin_np'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function sched_setaffinity exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_88664/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_88664.dir/build.make CMakeFiles/cmTC_88664.dir/build
Building C object CMakeFiles/cmTC_88664.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=sched_setaffinity -o CMakeFiles/cmTC_88664.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_88664
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_88664.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=sched_setaffinity -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_88664.dir/CheckFunctionExists.c.o -o cmTC_88664  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_88664.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `sched_setaffinity'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function sema_init exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_97aee/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_97aee.dir/build.make CMakeFiles/cmTC_97aee.dir/build
Building C object CMakeFiles/cmTC_97aee.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=sema_init -o CMakeFiles/cmTC_97aee.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_97aee
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_97aee.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=sema_init -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_97aee.dir/CheckFunctionExists.c.o -o cmTC_97aee  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_97aee.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `sema_init'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Performing C SOURCE FILE Test HAVE_PTHREAD_SETNAME_NP_WITH_TID failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_eec22/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_eec22.dir/build.make CMakeFiles/cmTC_eec22.dir/build
Building C object CMakeFiles/cmTC_eec22.dir/src.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DHAVE_PTHREAD_SETNAME_NP_WITH_TID -Werror -o CMakeFiles/cmTC_eec22.dir/src.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/src.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/src.c: In function 'main':
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/src.c:4:10: error: too few arguments to function 'pthread_setname_np'
        { pthread_setname_np(0, "myname"); return 0;
          ^~~~~~~~~~~~~~~~~~
In file included from /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/src.c:2:0:
/usr/include/pthread.h:160:5: note: declared here
 int pthread_setname_np(pthread_t, const char *, void *);
     ^~~~~~~~~~~~~~~~~~
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp


Source file was:
#define _GNU_SOURCE
       #include <pthread.h>
int main()
       { pthread_setname_np(0, "myname"); return 0;
       }
Performing C SOURCE FILE Test HAVE_GETTID_MACRO failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_cb5c3/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_cb5c3.dir/build.make CMakeFiles/cmTC_cb5c3.dir/build
Building C object CMakeFiles/cmTC_cb5c3.dir/src.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DHAVE_GETTID_MACRO -o CMakeFiles/cmTC_cb5c3.dir/src.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/src.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/src.c:2:15: fatal error: linux/unistd.h: No such file or directory
      #include <linux/unistd.h>
               ^~~~~~~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp


Source file was:
#include <sys/types.h>
     #include <linux/unistd.h>
     int main()
     { _syscall0(pid_t,gettid);
       return 0;
     }
Performing C SOURCE FILE Test HAVE_GETTID_SYSCALL failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_477bb/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_477bb.dir/build.make CMakeFiles/cmTC_477bb.dir/build
Building C object CMakeFiles/cmTC_477bb.dir/src.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DHAVE_GETTID_SYSCALL -o CMakeFiles/cmTC_477bb.dir/src.c.o -c /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/src.c
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/src.c: In function 'main':
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/src.c:4:18: error: '__NR_gettid' undeclared (first use in this function); did you mean 'SYS_getuid'?
        { syscall(__NR_gettid);
                  ^~~~~~~~~~~
                  SYS_getuid
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp/src.c:4:18: note: each undeclared identifier is reported only once for each function it appears in
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp


Source file was:
#include <unistd.h>
       #include <sys/syscall.h>
       int main()
       { syscall(__NR_gettid);
	 return 0;
       }
Determining if the function WSAPoll exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_100e4/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_100e4.dir/build.make CMakeFiles/cmTC_100e4.dir/build
Building C object CMakeFiles/cmTC_100e4.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=WSAPoll -o CMakeFiles/cmTC_100e4.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_100e4
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_100e4.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=WSAPoll -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_100e4.dir/CheckFunctionExists.c.o -o cmTC_100e4  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_100e4.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `WSAPoll'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



Determining if the function WinExec exists failed with the following output:
Change Dir: /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp

Run Build Command(s):/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make cmTC_60248/fast && /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.tools/bin/make  -f CMakeFiles/cmTC_60248.dir/build.make CMakeFiles/cmTC_60248.dir/build
Building C object CMakeFiles/cmTC_60248.dir/CheckFunctionExists.c.o
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc  -I/usr/pkg/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=WinExec -o CMakeFiles/cmTC_60248.dir/CheckFunctionExists.c.o -c /usr/pkg/share/cmake-3.18/Modules/CheckFunctionExists.c
Linking C executable cmTC_60248
/usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/cmTC_60248.dir/link.txt --verbose=1
/tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/.cwrapper/bin/gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -DCHECK_FUNCTION_EXISTS=WinExec -Wl,-R/usr/pkg/lib/swipl/lib/armv6--netbsdelf-eabihf -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/java/openjdk8/jre/lib/arm/server -L/usr/pkg/java/openjdk8/jre/lib/arm -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm/server -Wl,-R/usr/pkg/java/openjdk8/jre/lib/arm -L/usr/lib -Wl,-R/usr/lib  CMakeFiles/cmTC_60248.dir/CheckFunctionExists.c.o -o cmTC_60248  -Wl,-rpath,/usr/pkg/lib -lm -lrt /usr/lib/libcurses.so /usr/lib/libform.so /usr/pkg/lib/libgmp.so -lpthread 
ld: CMakeFiles/cmTC_60248.dir/CheckFunctionExists.c.o: in function `main':
CheckFunctionExists.c:(.text.startup+0x14): undefined reference to `WinExec'
*** Error code 1

Stop.
make[1]: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/lang/swi-prolog-jpl/work.earmv6hf/swipl-8.0.2/build/CMakeFiles/CMakeTmp



