+ 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/gpart-0.1hnb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gpart-0.1hnb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for gpart-0.1hnb1 /usr/pkg/bin/gmake -C src gmake[1]: Entering directory '/home/pbulk/build/sysutils/gpart/work/gpart-0.1h/src' gcc -pipe -O2 -DVERSION=\"0.1h\" -c -o gpart.o gpart.c gcc -pipe -O2 -DVERSION=\"0.1h\" -c -o gmodules.o gmodules.c gcc -pipe -O2 -DVERSION=\"0.1h\" -c -o disku.o disku.c disku.c: In function 'disk_geometry': disku.c:52:50: error: 'errno' undeclared (first use in this function) pr(FATAL,EM_IOCTLFAILED,"HDIO_GETGEO",strerror(errno)); ^~~~~ disku.c:52:50: note: 'errno' is defined in header '<errno.h>'; did you forget to '#include <errno.h>'? disku.c:27:1: +#include <errno.h> #endif disku.c:52:50: pr(FATAL,EM_IOCTLFAILED,"HDIO_GETGEO",strerror(errno)); ^~~~~ disku.c:52:50: note: each undeclared identifier is reported only once for each function it appears in disku.c: In function 'reread_partition_table': disku.c:94:53: error: 'errno' undeclared (first use in this function) pr(ERROR,"rereading partition table: %s",strerror(errno)); ^~~~~ disku.c:94:53: note: 'errno' is defined in header '<errno.h>'; did you forget to '#include <errno.h>'? gmake[1]: *** [<builtin>: disku.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... In file included from /usr/include/fcntl.h:328, from gpart.c:52: In function 'open', inlined from 'make_mbr_backup' at gpart.c:1225:12, inlined from 'main' at gpart.c:1830:5: /usr/include/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments __open_missing_mode (); ^~~~~~~~~~~~~~~~~~~~~~ gmake[1]: *** [<builtin>: gpart.o] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/sysutils/gpart/work/gpart-0.1h/src' gmake: *** [Makefile:10: gpart] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/gpart *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/sysutils/gpart