+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sdbm-90.12.1nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sdbm-90.12.1nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for sdbm-90.12.1nb2
cc -pipe -O2 -DSDBM -DDUFF  -c dbu.c
/home/pbulk/build/databases/sdbm/work/.cwrapper/bin/libtool  --mode=compile --tag=CC cc -pipe -O2 -DSDBM -DDUFF -c sdbm.c
libtool: compile:  cc -pipe -O2 -DSDBM -DDUFF -c sdbm.c  -fPIC -DPIC -o .libs/sdbm.o
sdbm.c: In function 'makroom':
sdbm.c:348:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
  348 |         (void) write(2, "sdbm: cannot insert after SPLTMAX attempts.\n", 44);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  cc -pipe -O2 -DSDBM -DDUFF -c sdbm.c -o sdbm.o >/dev/null 2>&1
/home/pbulk/build/databases/sdbm/work/.cwrapper/bin/libtool  --mode=compile --tag=CC cc -pipe -O2 -DSDBM -DDUFF -c pair.c
libtool: compile:  cc -pipe -O2 -DSDBM -DDUFF -c pair.c  -fPIC -DPIC -o .libs/pair.o
libtool: compile:  cc -pipe -O2 -DSDBM -DDUFF -c pair.c -o pair.o >/dev/null 2>&1
/home/pbulk/build/databases/sdbm/work/.cwrapper/bin/libtool  --mode=compile --tag=CC cc -pipe -O2 -DSDBM -DDUFF -c hash.c
libtool: compile:  cc -pipe -O2 -DSDBM -DDUFF -c hash.c  -fPIC -DPIC -o .libs/hash.o
libtool: compile:  cc -pipe -O2 -DSDBM -DDUFF -c hash.c -o hash.o >/dev/null 2>&1
/home/pbulk/build/databases/sdbm/work/.cwrapper/bin/libtool  --mode=link  --tag=CC cc -o libsdbm.la sdbm.lo pair.lo hash.lo -rpath /usr/pkg/lib -version-info 1:0
libtool: link: cc -shared  -fPIC -DPIC  .libs/sdbm.o .libs/pair.o .libs/hash.o      -Wl,-soname -Wl,libsdbm.so.1 -o .libs/libsdbm.so.1.0.0
libtool: link: (cd ".libs" && rm -f "libsdbm.so.1" && ln -s "libsdbm.so.1.0.0" "libsdbm.so.1")
libtool: link: (cd ".libs" && rm -f "libsdbm.so" && ln -s "libsdbm.so.1.0.0" "libsdbm.so")
libtool: link: ar cr .libs/libsdbm.a  sdbm.o pair.o hash.o
libtool: link: ranlib .libs/libsdbm.a
libtool: link: ( cd ".libs" && rm -f "libsdbm.la" && ln -s "../libsdbm.la" "libsdbm.la" )
cc -pipe -O2 -DSDBM -DDUFF  -c util.c
util.c: In function 'okpage':
util.c:32:18: warning: type defaults to 'int' in declaration of 'off' [-Wimplicit-int]
   32 |         register off;
      |                  ^~~
/home/pbulk/build/databases/sdbm/work/.cwrapper/bin/libtool  --mode=link --tag=CC cc dbu.o util.o libsdbm.la -o dbu
libtool: link: cc dbu.o util.o -o .libs/dbu  ./.libs/libsdbm.so -Wl,-rpath -Wl,/usr/pkg/lib
cc -pipe -O2 -DSDBM -DDUFF  -c dba.c
dba.c: In function 'main':
dba.c:16:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int]
   16 | main(argc, argv)
      | ^~~~
dba.c:34:17: warning: implicit declaration of function 'sdump' [-Wimplicit-function-declaration]
   34 |                 sdump(pagf);
      |                 ^~~~~
dba.c: At top level:
dba.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int]
   42 | sdump(pagf)
      | ^~~~~
dba.c: In function 'sdump':
dba.c:45:18: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int]
   45 |         register b;
      |                  ^
dba.c:46:18: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
   46 |         register n = 0;
      |                  ^
dba.c:47:18: warning: type defaults to 'int' in declaration of 't' [-Wimplicit-int]
   47 |         register t = 0;
      |                  ^
dba.c:48:18: warning: type defaults to 'int' in declaration of 'o' [-Wimplicit-int]
   48 |         register o = 0;
      |                  ^
dba.c:49:18: warning: type defaults to 'int' in declaration of 'e' [-Wimplicit-int]
   49 |         register e;
      |                  ^
dba.c:52:21: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration]
   52 |         while ((b = read(pagf, pag, PBLKSIZ)) > 0) {
      |                     ^~~~
      |                     fread
dba.c:54:22: warning: implicit declaration of function 'okpage' [-Wimplicit-function-declaration]
   54 |                 if (!okpage(pag))
      |                      ^~~~~~
dba.c:58:35: warning: implicit declaration of function 'pagestat' [-Wimplicit-function-declaration]
   58 |                         if (!(e = pagestat(pag)))
      |                                   ^~~~~~~~
dba.c: At top level:
dba.c:72:1: warning: return type defaults to 'int' [-Wimplicit-int]
   72 | pagestat(pag)
      | ^~~~~~~~
dba.c: In function 'pagestat':
dba.c:75:18: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
   75 |         register n;
      |                  ^
dba.c:76:18: warning: type defaults to 'int' in declaration of 'free' [-Wimplicit-int]
   76 |         register free;
      |                  ^~~~
/home/pbulk/build/databases/sdbm/work/.cwrapper/bin/libtool  --mode=link --tag=CC cc dba.o util.o libsdbm.la -o dba
libtool: link: cc dba.o util.o -o .libs/dba  ./.libs/libsdbm.so -Wl,-rpath -Wl,/usr/pkg/lib
cc -pipe -O2 -DSDBM -DDUFF  -c dbd.c
dbd.c: In function 'main':
dbd.c:19:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int]
   19 | main(argc, argv)
      | ^~~~
dbd.c:37:17: warning: implicit declaration of function 'sdump'; did you mean 'dup'? [-Wimplicit-function-declaration]
   37 |                 sdump(pagf);
      |                 ^~~~~
      |                 dup
dbd.c: At top level:
dbd.c:44:1: warning: return type defaults to 'int' [-Wimplicit-int]
   44 | sdump(pagf)
      | ^~~~~
dbd.c: In function 'sdump':
dbd.c:47:18: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int]
   47 |         register r;
      |                  ^
dbd.c:48:18: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
   48 |         register n = 0;
      |                  ^
dbd.c:49:18: warning: type defaults to 'int' in declaration of 'o' [-Wimplicit-int]
   49 |         register o = 0;
      |                  ^
dbd.c:53:22: warning: implicit declaration of function 'okpage' [-Wimplicit-function-declaration]
   53 |                 if (!okpage(pag))
      |                      ^~~~~~
dbd.c:58:25: warning: implicit declaration of function 'dispage' [-Wimplicit-function-declaration]
   58 |                         dispage(pag);
      |                         ^~~~~~~
dbd.c: At top level:
dbd.c:92:1: warning: return type defaults to 'int' [-Wimplicit-int]
   92 | dispage(pag)
      | ^~~~~~~
dbd.c: In function 'dispage':
dbd.c:95:18: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int]
   95 |         register i, n;
      |                  ^
dbd.c:95:21: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
   95 |         register i, n;
      |                     ^
dbd.c:96:18: warning: type defaults to 'int' in declaration of 'off' [-Wimplicit-int]
   96 |         register off;
      |                  ^~~
/home/pbulk/build/databases/sdbm/work/.cwrapper/bin/libtool  --mode=link --tag=CC cc dbd.o util.o libsdbm.la -o dbd
libtool: link: cc dbd.o util.o -o .libs/dbd  ./.libs/libsdbm.so -Wl,-rpath -Wl,/usr/pkg/lib
cc -pipe -O2 -DSDBM -DDUFF  -c dbe.c
dbe.c:10:10: fatal error: ndbm.h: No such file or directory
   10 | #include <ndbm.h>
      |          ^~~~~~~~
compilation terminated.
*** Error code 1

Stop.
bmake: stopped making "all" in /home/pbulk/build/databases/sdbm/work
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/sdbm
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/databases/sdbm