+ 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:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (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:11: warning: type defaults to 'int' in declaration of 'off' [-Wimplicit-int] 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] main(argc, argv) ^~~~ dba.c:34:3: warning: implicit declaration of function 'sdump' [-Wimplicit-function-declaration] sdump(pagf); ^~~~~ dba.c: At top level: dba.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] sdump(pagf) ^~~~~ dba.c: In function 'sdump': dba.c:45:11: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] register b; ^ dba.c:46:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n = 0; ^ dba.c:47:11: warning: type defaults to 'int' in declaration of 't' [-Wimplicit-int] register t = 0; ^ dba.c:48:11: warning: type defaults to 'int' in declaration of 'o' [-Wimplicit-int] register o = 0; ^ dba.c:49:11: warning: type defaults to 'int' in declaration of 'e' [-Wimplicit-int] register e; ^ dba.c:52:14: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] while ((b = read(pagf, pag, PBLKSIZ)) > 0) { ^~~~ fread dba.c:54:8: warning: implicit declaration of function 'okpage' [-Wimplicit-function-declaration] if (!okpage(pag)) ^~~~~~ dba.c:58:14: warning: implicit declaration of function 'pagestat' [-Wimplicit-function-declaration] if (!(e = pagestat(pag))) ^~~~~~~~ dba.c: At top level: dba.c:72:1: warning: return type defaults to 'int' [-Wimplicit-int] pagestat(pag) ^~~~~~~~ dba.c: In function 'pagestat': dba.c:75:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n; ^ dba.c:76:11: warning: type defaults to 'int' in declaration of 'free' [-Wimplicit-int] 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] main(argc, argv) ^~~~ dbd.c:37:3: warning: implicit declaration of function 'sdump'; did you mean 'dup'? [-Wimplicit-function-declaration] sdump(pagf); ^~~~~ dup dbd.c: At top level: dbd.c:44:1: warning: return type defaults to 'int' [-Wimplicit-int] sdump(pagf) ^~~~~ dbd.c: In function 'sdump': dbd.c:47:11: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] register r; ^ dbd.c:48:11: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register n = 0; ^ dbd.c:49:11: warning: type defaults to 'int' in declaration of 'o' [-Wimplicit-int] register o = 0; ^ dbd.c:53:8: warning: implicit declaration of function 'okpage' [-Wimplicit-function-declaration] if (!okpage(pag)) ^~~~~~ dbd.c:58:4: warning: implicit declaration of function 'dispage' [-Wimplicit-function-declaration] dispage(pag); ^~~~~~~ dbd.c: At top level: dbd.c:92:1: warning: return type defaults to 'int' [-Wimplicit-int] dispage(pag) ^~~~~~~ dbd.c: In function 'dispage': dbd.c:95:11: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] register i, n; ^ dbd.c:95:14: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] register i, n; ^ dbd.c:96:11: warning: type defaults to 'int' in declaration of 'off' [-Wimplicit-int] 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 #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-el8-trunk-x86_64/databases/sdbm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/databases/sdbm