=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for cl74unix.tar.gz => Checksum SHA512 OK for cl74unix.tar.gz ===> Installing dependencies for caml-light-0.74nb2 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency distcc-[0-9]*: found distcc-3.4 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for caml-light-0.74nb2 ===> Extracting for caml-light-0.74nb2 ===> Patching for caml-light-0.74nb2 => Applying pkgsrc patches for caml-light-0.74nb2 ===> Creating toolchain wrappers for caml-light-0.74nb2 ===> Configuring for caml-light-0.74nb2 cd /tmp/pkgbuild/lang/caml-light/work.aarch64eb/cl74/src && /usr/bin/make configure cd ../config; sh ./autoconf "gcc -Dunix " Checking the sizes of integers and pointers... sizes.c: In function 'main': sizes.c:5:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 5 | printf("%d %d %d\n", sizeof(int), sizeof(long), sizeof(long *)); | ^~~~~~ sizes.c:5:3: warning: incompatible implicit declaration of built-in function 'printf' sizes.c:1:1: note: include '' or provide a declaration of 'printf' +++ |+#include 1 | int main(argc, argv) Wow! A 64 bit architecture! schar.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int] 2 | main() | ^~~~ schar.c: In function 'main': schar.c:6:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 6 | exit(i != -1); | ^~~~ schar.c:6:3: warning: incompatible implicit declaration of built-in function 'exit' schar.c:1:1: note: include '' or provide a declaration of 'exit' +++ |+#include 1 | char foo[]="\377"; The char type is not signed. Let's see if 'signed char' works. schar2.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int] 2 | main() | ^~~~ schar2.c: In function 'main': schar2.c:6:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 6 | exit(i != -1); | ^~~~ schar2.c:6:3: warning: incompatible implicit declaration of built-in function 'exit' schar2.c:1:1: note: include '' or provide a declaration of 'exit' +++ |+#include 1 | signed char foo[]="\377"; Yes, it works. Good! endian.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] 3 | main() | ^~~~ endian.c: In function 'main': endian.c:19:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 19 | if (strcmp(p, bigendian) == 0) | ^~~~~~ endian.c:20:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 20 | exit(0); | ^~~~ endian.c:20:5: warning: incompatible implicit declaration of built-in function 'exit' endian.c:2:1: note: include '' or provide a declaration of 'exit' 1 | #include "m.h" +++ |+#include 2 | endian.c:22:5: warning: incompatible implicit declaration of built-in function 'exit' 22 | exit(1); | ^~~~ endian.c:22:5: note: include '' or provide a declaration of 'exit' endian.c:23:3: warning: incompatible implicit declaration of built-in function 'exit' 23 | exit(2); | ^~~~ endian.c:23:3: note: include '' or provide a declaration of 'exit' This is a big-endian architecture. align.c: In function 'speedtest': align.c:72:3: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] 72 | alarm(1); | ^~~~~ align.c: At top level: align.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] 82 | main() | ^~~~ align.c: In function 'main': align.c:87:39: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 87 | if (test(access16, (char *) n + 1)) exit(1); | ^~~~ align.c:87:39: warning: incompatible implicit declaration of built-in function 'exit' align.c:4:1: note: include '' or provide a declaration of 'exit' 3 | #include +++ |+#include 4 | align.c:88:39: warning: incompatible implicit declaration of built-in function 'exit' 88 | if (test(access32, (char *) n + 1)) exit(1); | ^~~~ align.c:88:39: note: include '' or provide a declaration of 'exit' align.c:89:39: warning: incompatible implicit declaration of built-in function 'exit' 89 | if (test(access32, (char *) n + 2)) exit(1); | ^~~~ align.c:89:39: note: include '' or provide a declaration of 'exit' align.c:92:45: warning: incompatible implicit declaration of built-in function 'exit' 92 | if (speed_aligned >= 3 * speed_unaligned) exit(1); | ^~~~ align.c:92:45: note: include '' or provide a declaration of 'exit' align.c:93:3: warning: incompatible implicit declaration of built-in function 'exit' 93 | exit(0); | ^~~~ align.c:93:3: note: include '' or provide a declaration of 'exit' This architecture has no alignment constraints. dblalign.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] 21 | main() | ^~~~ dblalign.c: In function 'main': dblalign.c:36:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 36 | exit(res); | ^~~~ dblalign.c:36:3: warning: incompatible implicit declaration of built-in function 'exit' dblalign.c:4:1: note: include '' or provide a declaration of 'exit' 3 | #include +++ |+#include 4 | Doubles can be word-aligned. bytecopy.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | main() | ^~~~ bytecopy.c: In function 'main': : warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] bytecopy.c:4:22: note: in expansion of macro 'copy' 4 | #define cpy(s1,s2,n) copy(s2,s1,n) | ^~~~ bytecopy.c:11:3: note: in expansion of macro 'cpy' 11 | cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); | ^~~ : warning: incompatible implicit declaration of built-in function 'memmove' bytecopy.c:4:22: note: in expansion of macro 'copy' 4 | #define cpy(s1,s2,n) copy(s2,s1,n) | ^~~~ bytecopy.c:11:3: note: in expansion of macro 'cpy' 11 | cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); | ^~~ bytecopy.c:1:1: note: include '' or provide a declaration of 'memmove' +++ |+#include 1 | char buffer[27]; bytecopy.c:12:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 12 | if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); | ^~~~~~ bytecopy.c:12:58: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 12 | if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); | ^~~~ bytecopy.c:12:58: warning: incompatible implicit declaration of built-in function 'exit' bytecopy.c:1:1: note: include '' or provide a declaration of 'exit' +++ |+#include 1 | char buffer[27]; bytecopy.c:14:58: warning: incompatible implicit declaration of built-in function 'exit' 14 | if (strcmp(buffer, "abcabcdefghijklmnopqrstuvw") != 0) exit(1); | ^~~~ bytecopy.c:14:58: note: include '' or provide a declaration of 'exit' bytecopy.c:17:58: warning: incompatible implicit declaration of built-in function 'exit' 17 | if (strcmp(buffer, "defghijklmnopqrstuvwxyzxyz") != 0) exit(1); | ^~~~ bytecopy.c:17:58: note: include '' or provide a declaration of 'exit' bytecopy.c:18:3: warning: incompatible implicit declaration of built-in function 'exit' 18 | exit(0); | ^~~~ bytecopy.c:18:3: note: include '' or provide a declaration of 'exit' Function "memmove" is provided and handles overlapping moves correctly. bytecopy.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | main() | ^~~~ bytecopy.c: In function 'main': : warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bytecopy.c:6:13: note: in expansion of macro 'copy' 6 | #define cpy copy | ^~~~ bytecopy.c:11:3: note: in expansion of macro 'cpy' 11 | cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); | ^~~ : warning: incompatible implicit declaration of built-in function 'bcopy' bytecopy.c:6:13: note: in expansion of macro 'copy' 6 | #define cpy copy | ^~~~ bytecopy.c:11:3: note: in expansion of macro 'cpy' 11 | cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); | ^~~ bytecopy.c:12:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 12 | if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); | ^~~~~~ bytecopy.c:12:58: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 12 | if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); | ^~~~ bytecopy.c:12:58: warning: incompatible implicit declaration of built-in function 'exit' bytecopy.c:1:1: note: include '' or provide a declaration of 'exit' +++ |+#include 1 | char buffer[27]; bytecopy.c:14:58: warning: incompatible implicit declaration of built-in function 'exit' 14 | if (strcmp(buffer, "abcabcdefghijklmnopqrstuvw") != 0) exit(1); | ^~~~ bytecopy.c:14:58: note: include '' or provide a declaration of 'exit' bytecopy.c:17:58: warning: incompatible implicit declaration of built-in function 'exit' 17 | if (strcmp(buffer, "defghijklmnopqrstuvwxyzxyz") != 0) exit(1); | ^~~~ bytecopy.c:17:58: note: include '' or provide a declaration of 'exit' bytecopy.c:18:3: warning: incompatible implicit declaration of built-in function 'exit' 18 | exit(0); | ^~~~ bytecopy.c:18:3: note: include '' or provide a declaration of 'exit' Function "bcopy" is provided and handles overlapping moves correctly. bytecopy.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] 9 | main() | ^~~~ bytecopy.c: In function 'main': : warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] bytecopy.c:4:22: note: in expansion of macro 'copy' 4 | #define cpy(s1,s2,n) copy(s2,s1,n) | ^~~~ bytecopy.c:11:3: note: in expansion of macro 'cpy' 11 | cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); | ^~~ : warning: incompatible implicit declaration of built-in function 'memcpy' bytecopy.c:4:22: note: in expansion of macro 'copy' 4 | #define cpy(s1,s2,n) copy(s2,s1,n) | ^~~~ bytecopy.c:11:3: note: in expansion of macro 'cpy' 11 | cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); | ^~~ bytecopy.c:1:1: note: include '' or provide a declaration of 'memcpy' +++ |+#include 1 | char buffer[27]; bytecopy.c:12:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 12 | if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); | ^~~~~~ bytecopy.c:12:58: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 12 | if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); | ^~~~ bytecopy.c:12:58: warning: incompatible implicit declaration of built-in function 'exit' bytecopy.c:1:1: note: include '' or provide a declaration of 'exit' +++ |+#include 1 | char buffer[27]; bytecopy.c:14:58: warning: incompatible implicit declaration of built-in function 'exit' 14 | if (strcmp(buffer, "abcabcdefghijklmnopqrstuvw") != 0) exit(1); | ^~~~ bytecopy.c:14:58: note: include '' or provide a declaration of 'exit' bytecopy.c:17:58: warning: incompatible implicit declaration of built-in function 'exit' 17 | if (strcmp(buffer, "defghijklmnopqrstuvwxyzxyz") != 0) exit(1); | ^~~~ bytecopy.c:17:58: note: include '' or provide a declaration of 'exit' bytecopy.c:18:3: warning: incompatible implicit declaration of built-in function 'exit' 18 | exit(0); | ^~~~ bytecopy.c:18:3: note: include '' or provide a declaration of 'exit' sighandler.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] sighandler.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] sighandler.c:6:7: warning: assignment to 'int (*)()' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] Sorry, I can't determine the return type for signal handlers. I'm assuming "void". If this seems to cause errors, try to change "sighandler_return_type" in s.h signals.c: In function 'main': signals.c:42:8: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 42 | kill(getpid(), IGNSIG); | ^~~~~~ Signals have the BSD semantics. rename() found. You have BSD sockets. unistd.h found. dirent.h found. lockf() found. mkfifo() found. getcwd() found. getwd() found. getpriority() found. utime() found. utimes() found. dup2() found. fchmod() found. truncate() found. select() found. symlink() found. wait3() found. waitpid() found. getgroups.c: In function 'main': getgroups.c:9:7: warning: implicit declaration of function 'getgroups' [-Wimplicit-function-declaration] 9 | if (getgroups(NGROUPS, gidset) == -1) return 1; | ^~~~~~~~~ getgroups() found. POSIX termios found. async_io.c: In function 'main': async_io.c:22:7: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] 22 | if (pipe(p) == -1) return 1; | ^~~~ async_io.c:27:27: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 27 | fcntl(p[OUT], F_SETOWN, getpid()); | ^~~~~~ async_io.c:28:10: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 28 | switch(fork()) { | ^~~~ async_io.c:32:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 32 | close(p[OUT]); | ^~~~~ | pclose async_io.c:33:5: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 33 | write(p[IN], "x", 1); | ^~~~~ | fwrite async_io.c:34:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 34 | sleep(1); | ^~~~~ async_io.c:35:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 35 | exit(0); | ^~~~ async_io.c:35:5: warning: incompatible implicit declaration of built-in function 'exit' async_io.c:6:1: note: include '' or provide a declaration of 'exit' 5 | #include "s.h" +++ |+#include 6 | async_io.c:38:11: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] 38 | while(wait(NULL) == -1 && errno == EINTR) /*nothing*/; | ^~~~ Asynchronous I/O are supported. setitimer() found. gethostname() found. uname() found. gettimeofday() found. echo '#define HAS_STRERROR' >> /tmp/pkgbuild/lang/caml-light/work.aarch64eb/cl74/config/s.h