=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. => Checksum BLAKE2s OK for cl74unix.tar.gz => Checksum SHA512 OK for cl74unix.tar.gz ===> Installing dependencies for caml-light-0.74nb2 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 ===> 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 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-aa => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-aa Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aa,v 1.6 2013/10/27 20:32:56 joerg Exp $ | |Config fixes. |Destdir support. | |--- Makefile.orig 1997-04-24 10:51:03.000000000 -0400 |+++ Makefile 2008-09-04 21:28:01.000000000 -0400 -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 7. Hunk #2 succeeded at 24. Hunk #3 succeeded at 49. Hunk #4 succeeded at 118. Hunk #5 succeeded at 130. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ab => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ab Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ab,v 1.2 2008/09/05 02:07:51 dholland Exp $ | |cp(1) cannot overwrite read-only files. | |Add destdir support. | |--- lib/Makefile.orig 1997-11-12 11:49:46.000000000 -0500 |+++ lib/Makefile 2008-09-04 21:39:14.000000000 -0400 -------------------------- Patching file lib/Makefile using Plan A... Hunk #1 succeeded at 31. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ac => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ac,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. |Fix build with gcc4. | |--- runtime/main.c~ 1997-04-24 10:51:06.000000000 -0400 |+++ runtime/main.c 2008-09-04 21:09:25.000000000 -0400 -------------------------- Patching file runtime/main.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 126. Hunk #3 succeeded at 135. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ad => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ad Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ad,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. | |--- runtime/signals.c~ 1995-11-10 10:10:32.000000000 -0500 |+++ runtime/signals.c 2008-09-04 21:10:48.000000000 -0400 -------------------------- Patching file runtime/signals.c using Plan A... Hunk #1 succeeded at 5. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ae => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ae Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ae,v 1.2 2012/10/20 22:11:30 joerg Exp $ | |Fix 64-bit build. | |--- runtime/debugcom.c~ 1997-06-27 09:59:02.000000000 -0400 |+++ runtime/debugcom.c 2008-09-04 21:11:39.000000000 -0400 -------------------------- Patching file runtime/debugcom.c using Plan A... Hunk #1 succeeded at 2. Hunk #2 succeeded at 184. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-af => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-af Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-af,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. | |--- runtime/io.c~ 1997-04-24 10:51:06.000000000 -0400 |+++ runtime/io.c 2008-09-04 21:13:01.000000000 -0400 -------------------------- Patching file runtime/io.c using Plan A... Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ag => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ag Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ag,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. | |--- runtime/sys.c~ 1997-10-16 09:36:19.000000000 -0400 |+++ runtime/sys.c 2008-09-04 21:13:32.000000000 -0400 -------------------------- Patching file runtime/sys.c using Plan A... Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ah => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ah Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ah,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. | |--- runtime/lexing.c~ 1994-11-01 12:36:10.000000000 -0500 |+++ runtime/lexing.c 2008-09-04 21:13:59.000000000 -0400 -------------------------- Patching file runtime/lexing.c using Plan A... Hunk #1 succeeded at 4. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ai => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ai Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ai,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. | |--- yacc/defs.h~ 1995-05-02 10:47:38.000000000 -0400 |+++ yacc/defs.h 2008-09-04 21:21:25.000000000 -0400 -------------------------- Patching file yacc/defs.h using Plan A... Hunk #1 succeeded at 3. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-aj => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-aj Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aj,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. | |--- launch/camlexec.c~ 1996-11-25 10:03:46.000000000 -0500 |+++ launch/camlexec.c 2008-09-04 21:22:57.000000000 -0400 -------------------------- Patching file launch/camlexec.c using Plan A... Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ak => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ak Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ak,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix build with gcc4. | |--- runtime/interp.c~ 1997-06-27 09:59:03.000000000 -0400 |+++ runtime/interp.c 2008-09-04 20:53:27.000000000 -0400 -------------------------- Patching file runtime/interp.c using Plan A... Hunk #1 succeeded at 177. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-al => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-al Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-al,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |Fix 64-bit build. | |--- runtime/config.h~ 1995-10-03 09:55:32.000000000 -0400 |+++ runtime/config.h 2008-09-04 21:04:48.000000000 -0400 -------------------------- Patching file runtime/config.h using Plan A... Hunk #1 succeeded at 12. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-am => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-am,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- runtime/Makefile~ 1997-06-10 08:24:35.000000000 -0400 |+++ runtime/Makefile 2008-09-04 21:29:09.000000000 -0400 -------------------------- Patching file runtime/Makefile using Plan A... Hunk #1 succeeded at 50. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-an => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-an Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-an,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- launch/Makefile~ 1995-02-22 04:33:26.000000000 -0500 |+++ launch/Makefile 2008-09-04 21:32:35.000000000 -0400 -------------------------- Patching file launch/Makefile using Plan A... Hunk #1 succeeded at 10. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ao => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ao Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ao,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- compiler/Makefile~ 1997-11-12 11:48:14.000000000 -0500 |+++ compiler/Makefile 2008-09-04 21:34:41.000000000 -0400 -------------------------- Patching file compiler/Makefile using Plan A... Hunk #1 succeeded at 32. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ap => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ap Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ap,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- linker/Makefile~ 1997-11-12 11:50:21.000000000 -0500 |+++ linker/Makefile 2008-09-04 21:35:03.000000000 -0400 -------------------------- Patching file linker/Makefile using Plan A... Hunk #1 succeeded at 24. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-aq => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-aq Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aq,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- librar/Makefile~ 1997-11-12 11:50:13.000000000 -0500 |+++ librar/Makefile 2008-09-04 21:35:38.000000000 -0400 -------------------------- Patching file librar/Makefile using Plan A... Hunk #1 succeeded at 23. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ar => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-ar Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ar,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- toplevel/Makefile~ 1997-11-12 11:50:29.000000000 -0500 |+++ toplevel/Makefile 2008-09-04 21:36:13.000000000 -0400 -------------------------- Patching file toplevel/Makefile using Plan A... Hunk #1 succeeded at 57. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-as => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-as Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-as,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- lex/Makefile~ 1997-11-12 11:48:29.000000000 -0500 |+++ lex/Makefile 2008-09-04 21:36:39.000000000 -0400 -------------------------- Patching file lex/Makefile using Plan A... Hunk #1 succeeded at 21. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-at => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-at Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-at,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- yacc/Makefile~ 1994-11-01 12:36:18.000000000 -0500 |+++ yacc/Makefile 2008-09-04 21:36:59.000000000 -0400 -------------------------- Patching file yacc/Makefile using Plan A... Hunk #1 succeeded at 16. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-au => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-au Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-au,v 1.1 2008/09/05 02:07:51 dholland Exp $ | |destdir support. | |--- man/Makefile~ 1994-11-01 12:36:06.000000000 -0500 |+++ man/Makefile 2008-09-04 21:37:35.000000000 -0400 -------------------------- Patching file man/Makefile using Plan A... Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-yacc_error.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-yacc_error.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-yacc_error.c,v 1.2 2015/12/29 23:34:44 dholland Exp $ | |Avoid implicit int. | |--- yacc/error.c.orig 2012-10-20 13:06:22.000000000 +0000 |+++ yacc/error.c -------------------------- Patching file yacc/error.c using Plan A... Hunk #1 succeeded at 34. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-yacc_main_c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-yacc_main_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-yacc_main_c,v 1.2 2012/10/20 22:11:30 joerg Exp $ | |Avoid insecure use of mktemp(). | |--- yacc/main.c~ 1995-06-07 09:34:32.000000000 -0400 |+++ yacc/main.c 2008-09-04 22:15:26.000000000 -0400 -------------------------- Patching file yacc/main.c using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 32. Hunk #3 succeeded at 75. Hunk #4 succeeded at 124. Hunk #5 succeeded at 279. Hunk #6 succeeded at 333. Hunk #7 succeeded at 357. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-yacc_output.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-yacc_output.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-yacc_output.c,v 1.2 2015/12/29 23:34:44 dholland Exp $ | |Avoid implicit int. |Use C89. |Mark private functions static. | |--- yacc/output.c.orig 2012-10-20 13:08:10.000000000 +0000 |+++ yacc/output.c -------------------------- Patching file yacc/output.c using Plan A... Hunk #1 succeeded at 16. Hunk #2 succeeded at 326. Hunk #3 succeeded at 727. Hunk #4 succeeded at 758. Hunk #5 succeeded at 815. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-yacc_reader.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-yacc_reader.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-yacc_reader.c,v 1.2 2015/12/29 23:34:44 dholland Exp $ | |Avoid implicit int. |Use C89. | |--- yacc/reader.c.orig 2012-10-20 13:12:08.000000000 +0000 |+++ yacc/reader.c -------------------------- Patching file yacc/reader.c using Plan A... Hunk #1 succeeded at 49. Hunk #2 succeeded at 113. Hunk #3 succeeded at 268. Hunk #4 succeeded at 297. Hunk #5 succeeded at 414. Hunk #6 succeeded at 785. Hunk #7 succeeded at 851. Hunk #8 succeeded at 879. Hunk #9 succeeded at 899. Hunk #10 succeeded at 1123. Hunk #11 succeeded at 1154. Hunk #12 succeeded at 1396. Hunk #13 succeeded at 1695. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-yacc_verbose.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/lang/caml-light/patches/patch-yacc_verbose.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-yacc_verbose.c,v 1.2 2015/12/29 23:34:44 dholland Exp $ | |Avoid implicit int. |Use C89. | |--- yacc/verbose.c.orig 2012-10-20 13:15:43.000000000 +0000 |+++ yacc/verbose.c -------------------------- Patching file yacc/verbose.c using Plan A... Hunk #1 succeeded at 4. done ===> Creating toolchain wrappers for caml-light-0.74nb2 ===> Configuring for caml-light-0.74nb2 => Checking for portability problems in extracted files cd /tmp/lang/caml-light/work/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] 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:5:3: note: include '' or provide a declaration of 'printf' Wow! A 64 bit architecture! schar.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ schar.c: In function 'main': schar.c:6:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(i != -1); ^~~~ schar.c:6:3: warning: incompatible implicit declaration of built-in function 'exit' schar.c:6:3: note: include '' or provide a declaration of 'exit' The char type is signed. Good! endian.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ endian.c: In function 'main': endian.c:19:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(p, bigendian) == 0) ^~~~~~ endian.c:20:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ endian.c:20:5: warning: incompatible implicit declaration of built-in function 'exit' endian.c:20:5: note: include '' or provide a declaration of 'exit' endian.c:22:5: warning: incompatible implicit declaration of built-in function 'exit' 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' exit(2); ^~~~ endian.c:23:3: note: include '' or provide a declaration of 'exit' This is a little-endian architecture. align.c: In function 'speedtest': align.c:72:3: warning: implicit declaration of function 'alarm' [-Wimplicit-function-declaration] alarm(1); ^~~~~ align.c: At top level: align.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ align.c: In function 'main': align.c:87:39: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if (test(access16, (char *) n + 1)) exit(1); ^~~~ align.c:87:39: warning: incompatible implicit declaration of built-in function 'exit' align.c:87:39: note: include '' or provide a declaration of 'exit' align.c:88:39: warning: incompatible implicit declaration of built-in function 'exit' 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' 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' 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' 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] main() ^~~~ dblalign.c: In function 'main': dblalign.c:36:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(res); ^~~~ dblalign.c:36:3: warning: incompatible implicit declaration of built-in function 'exit' dblalign.c:36:3: note: include '' or provide a declaration of 'exit' Doubles can be word-aligned. bytecopy.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ bytecopy.c: In function 'main': :0:6: warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] bytecopy.c:4:22: note: in expansion of macro 'copy' #define cpy(s1,s2,n) copy(s2,s1,n) ^~~~ bytecopy.c:11:3: note: in expansion of macro 'cpy' cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); ^~~ :0:6: warning: incompatible implicit declaration of built-in function 'memmove' bytecopy.c:4:22: note: in expansion of macro 'copy' #define cpy(s1,s2,n) copy(s2,s1,n) ^~~~ bytecopy.c:11:3: note: in expansion of macro 'cpy' cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); ^~~ :0:6: note: include '' or provide a declaration of 'memmove' bytecopy.c:4:22: note: in expansion of macro 'copy' #define cpy(s1,s2,n) copy(s2,s1,n) ^~~~ bytecopy.c:11:3: note: in expansion of macro 'cpy' cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); ^~~ bytecopy.c:12:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); ^~~~~~ bytecopy.c:12:58: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); ^~~~ bytecopy.c:12:58: warning: incompatible implicit declaration of built-in function 'exit' bytecopy.c:12:58: note: include '' or provide a declaration of 'exit' bytecopy.c:14:58: warning: incompatible implicit declaration of built-in function 'exit' 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' 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' 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] main() ^~~~ bytecopy.c: In function 'main': :0:6: warning: implicit declaration of function 'bcopy' [-Wimplicit-function-declaration] bytecopy.c:6:13: note: in expansion of macro 'copy' #define cpy copy ^~~~ bytecopy.c:11:3: note: in expansion of macro 'cpy' cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); ^~~ :0:6: warning: incompatible implicit declaration of built-in function 'bcopy' bytecopy.c:6:13: note: in expansion of macro 'copy' #define cpy copy ^~~~ bytecopy.c:11:3: note: in expansion of macro 'cpy' cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); ^~~ bytecopy.c:12:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); ^~~~~~ bytecopy.c:12:58: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); ^~~~ bytecopy.c:12:58: warning: incompatible implicit declaration of built-in function 'exit' bytecopy.c:12:58: note: include '' or provide a declaration of 'exit' bytecopy.c:14:58: warning: incompatible implicit declaration of built-in function 'exit' 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' 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' 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] main() ^~~~ bytecopy.c: In function 'main': :0:6: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] bytecopy.c:4:22: note: in expansion of macro 'copy' #define cpy(s1,s2,n) copy(s2,s1,n) ^~~~ bytecopy.c:11:3: note: in expansion of macro 'cpy' cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); ^~~ :0:6: warning: incompatible implicit declaration of built-in function 'memcpy' bytecopy.c:4:22: note: in expansion of macro 'copy' #define cpy(s1,s2,n) copy(s2,s1,n) ^~~~ bytecopy.c:11:3: note: in expansion of macro 'cpy' cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); ^~~ :0:6: note: include '' or provide a declaration of 'memcpy' bytecopy.c:4:22: note: in expansion of macro 'copy' #define cpy(s1,s2,n) copy(s2,s1,n) ^~~~ bytecopy.c:11:3: note: in expansion of macro 'cpy' cpy("abcdefghijklmnopqrstuvwxyz", buffer, 27); ^~~ bytecopy.c:12:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); ^~~~~~ bytecopy.c:12:58: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1); ^~~~ bytecopy.c:12:58: warning: incompatible implicit declaration of built-in function 'exit' bytecopy.c:12:58: note: include '' or provide a declaration of 'exit' bytecopy.c:14:58: warning: incompatible implicit declaration of built-in function 'exit' 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' 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' 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 from incompatible pointer type [-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'; did you mean 'getline'? [-Wimplicit-function-declaration] kill(getpid(), IGNSIG); ^~~~~~ getline 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] 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'; did you mean 'popen'? [-Wimplicit-function-declaration] if (pipe(p) == -1) return 1; ^~~~ popen async_io.c:27:27: warning: implicit declaration of function 'getpid'; did you mean 'getline'? [-Wimplicit-function-declaration] fcntl(p[OUT], F_SETOWN, getpid()); ^~~~~~ getline async_io.c:28:10: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] switch(fork()) { ^~~~ async_io.c:32:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(p[OUT]); ^~~~~ pclose async_io.c:33:5: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write(p[IN], "x", 1); ^~~~~ fwrite async_io.c:34:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); ^~~~~ async_io.c:35:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ async_io.c:35:5: warning: incompatible implicit declaration of built-in function 'exit' async_io.c:35:5: note: include '' or provide a declaration of 'exit' async_io.c:38:11: warning: implicit declaration of function 'wait'; did you mean 'main'? [-Wimplicit-function-declaration] while(wait(NULL) == -1 && errno == EINTR) /*nothing*/; ^~~~ main Asynchronous I/O are supported. setitimer() found. gethostname() found. uname() found. gettimeofday() found. echo '#define HAS_STRERROR' >> /tmp/lang/caml-light/work/cl74/config/s.h