+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/caml-light-0.74nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/caml-light-0.74nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pax>=20040802: found pax-20210219
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> 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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-ae
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-af
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-ag
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-ah
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-ai
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-aj
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-ak
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-al
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-an
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-ao
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-ap
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-aq
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-ar
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-as
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-at
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-au
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-yacc_error.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-yacc_main_c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-yacc_output.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-yacc_reader.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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 /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/lang/caml-light/patches/patch-yacc_verbose.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/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
cd /home/pbulk/build/lang/caml-light/work/cl74/src && /usr/pkg/bin/bmake 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:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
  +++ |+#include <stdio.h>
    1 | int main(argc, argv)
sizes.c:5:3: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
    5 |   printf("%d %d %d\n", sizeof(int), sizeof(long), sizeof(long *));
      |   ^~~~~~
sizes.c:5:3: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
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:1:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
  +++ |+#include <stdlib.h>
    1 | char foo[]="\377";
schar.c:6:3: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
    6 |   exit(i != -1);
      |   ^~~~
schar.c:6:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
The char type is signed. 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:2:1: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
    1 | #include "m.h"
  +++ |+#include <string.h>
    2 | 
endian.c:20:5: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
   20 |     exit(0);
      |     ^~~~
endian.c:2:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
    1 | #include "m.h"
  +++ |+#include <stdlib.h>
    2 | 
endian.c:20:5: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   20 |     exit(0);
      |     ^~~~
endian.c:20:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
endian.c:22:5: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   22 |     exit(1);
      |     ^~~~
endian.c:22:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
endian.c:23:3: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   23 |   exit(2);
      |   ^~~~
endian.c:23:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
This is a little-endian architecture.
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from align.c:1:
/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
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:4:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
    3 | #include <setjmp.h>
  +++ |+#include <stdlib.h>
    4 | 
align.c:87:39: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   87 |   if (test(access16, (char *) n + 1)) exit(1);
      |                                       ^~~~
align.c:87:39: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
align.c:88:39: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   88 |   if (test(access32, (char *) n + 1)) exit(1);
      |                                       ^~~~
align.c:88:39: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
align.c:89:39: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   89 |   if (test(access32, (char *) n + 2)) exit(1);
      |                                       ^~~~
align.c:89:39: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
align.c:92:45: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   92 |   if (speed_aligned >= 3 * speed_unaligned) exit(1);
      |                                             ^~~~
align.c:92:45: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
align.c:93:3: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   93 |   exit(0);
      |   ^~~~
align.c:93:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
This architecture has no alignment constraints.
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from dblalign.c:1:
/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
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:4:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
    3 | #include <setjmp.h>
  +++ |+#include <stdlib.h>
    4 | 
dblalign.c:36:3: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   36 |   exit(res);
      |   ^~~~
dblalign.c:36:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
Doubles can be word-aligned.
bytecopy.c:9:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
    9 | main()
      | ^~~~
bytecopy.c: In function ‘main’:
<command-line>: 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);
      |   ^~~
bytecopy.c:1:1: note: include ‘<string.h>’ or provide a declaration of ‘memmove’
  +++ |+#include <string.h>
    1 | char buffer[27];
<command-line>: warning: incompatible implicit declaration of built-in function ‘memmove’ [-Wbuiltin-declaration-mismatch]
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);
      |   ^~~
<command-line>: note: include ‘<string.h>’ or provide a declaration of ‘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:12:7: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
   12 |   if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1);
      |       ^~~~~~
bytecopy.c:12:7: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
bytecopy.c:12:58: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
   12 |   if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1);
      |                                                          ^~~~
bytecopy.c:1:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
  +++ |+#include <stdlib.h>
    1 | char buffer[27];
bytecopy.c:12:58: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   12 |   if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1);
      |                                                          ^~~~
bytecopy.c:12:58: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
bytecopy.c:14:58: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   14 |   if (strcmp(buffer, "abcabcdefghijklmnopqrstuvw") != 0) exit(1);
      |                                                          ^~~~
bytecopy.c:14:58: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
bytecopy.c:17:58: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   17 |   if (strcmp(buffer, "defghijklmnopqrstuvwxyzxyz") != 0) exit(1);
      |                                                          ^~~~
bytecopy.c:17:58: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
bytecopy.c:18:3: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   18 |   exit(0);
      |   ^~~~
bytecopy.c:18:3: note: include ‘<stdlib.h>’ 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’:
<command-line>: 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);
      |   ^~~
<command-line>: warning: incompatible implicit declaration of built-in function ‘bcopy’ [-Wbuiltin-declaration-mismatch]
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:1:1: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
  +++ |+#include <string.h>
    1 | char buffer[27];
bytecopy.c:12:58: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
   12 |   if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1);
      |                                                          ^~~~
bytecopy.c:1:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
  +++ |+#include <stdlib.h>
    1 | char buffer[27];
bytecopy.c:12:58: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   12 |   if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1);
      |                                                          ^~~~
bytecopy.c:12:58: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
bytecopy.c:14:58: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   14 |   if (strcmp(buffer, "abcabcdefghijklmnopqrstuvw") != 0) exit(1);
      |                                                          ^~~~
bytecopy.c:14:58: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
bytecopy.c:17:58: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   17 |   if (strcmp(buffer, "defghijklmnopqrstuvwxyzxyz") != 0) exit(1);
      |                                                          ^~~~
bytecopy.c:17:58: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
bytecopy.c:18:3: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   18 |   exit(0);
      |   ^~~~
bytecopy.c:18:3: note: include ‘<stdlib.h>’ 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’:
<command-line>: 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);
      |   ^~~
bytecopy.c:1:1: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’
  +++ |+#include <string.h>
    1 | char buffer[27];
<command-line>: warning: incompatible implicit declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch]
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);
      |   ^~~
<command-line>: note: include ‘<string.h>’ or provide a declaration of ‘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:12:7: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
   12 |   if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1);
      |       ^~~~~~
bytecopy.c:12:7: note: include ‘<string.h>’ or provide a declaration of ‘strcmp’
bytecopy.c:12:58: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration]
   12 |   if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1);
      |                                                          ^~~~
bytecopy.c:1:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
  +++ |+#include <stdlib.h>
    1 | char buffer[27];
bytecopy.c:12:58: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   12 |   if (strcmp(buffer, "abcdefghijklmnopqrstuvwxyz") != 0) exit(1);
      |                                                          ^~~~
bytecopy.c:12:58: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
bytecopy.c:14:58: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   14 |   if (strcmp(buffer, "abcabcdefghijklmnopqrstuvw") != 0) exit(1);
      |                                                          ^~~~
bytecopy.c:14:58: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
bytecopy.c:17:58: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   17 |   if (strcmp(buffer, "defghijklmnopqrstuvwxyzxyz") != 0) exit(1);
      |                                                          ^~~~
bytecopy.c:17:58: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
bytecopy.c:18:3: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   18 |   exit(0);
      |   ^~~~
bytecopy.c:18:3: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
Function "memcpy" is provided and handles overlapping moves correctly.
/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
sighandler.c:3:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
sighandler.c:3:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
sighandler.c:6:7: warning: assignment to ‘int (*)()’ from incompatible pointer type ‘__sighandler_t’ {aka ‘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
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from signals.c:5:
/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
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.
In file included from /usr/include/sys/types.h:25,
                 from getgroups.c:1:
/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
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.
In file included from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from async_io.c:1:
/usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
  412 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
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:6:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
    5 | #include "s.h"
  +++ |+#include <stdlib.h>
    6 | 
async_io.c:35:5: warning: incompatible implicit declaration of built-in function ‘exit’ [-Wbuiltin-declaration-mismatch]
   35 |     exit(0);
      |     ^~~~
async_io.c:35:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
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' >> /home/pbulk/build/lang/caml-light/work/cl74/config/s.h