+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dpkg-1.21.9/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dpkg-1.21.9/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for dpkg-1.21.9 /opt/local/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/misc/dpkg/work/dpkg-1.21.9' Making all in lib gmake[2]: Entering directory '/home/pbulk/build/misc/dpkg/work/dpkg-1.21.9/lib' Making all in compat gmake[3]: Entering directory '/home/pbulk/build/misc/dpkg/work/dpkg-1.21.9/lib/compat' CC libcompat_test_la-md5.lo CC libcompat_test_la-strchrnul.lo CC libcompat_test_la-strnlen.lo CC libcompat_test_la-strndup.lo CC libcompat_test_la-strsignal.lo CC libcompat_test_la-snprintf.lo CC libcompat_test_la-vsnprintf.lo CC libcompat_test_la-asprintf.lo CC libcompat_test_la-vasprintf.lo CC libcompat_test_la-alphasort.lo CC libcompat_test_la-scandir.lo CC libcompat_test_la-unsetenv.lo CCLD libcompat-test.la CC empty.lo CC obstack.lo obstack.c: In function '_obstack_begin': obstack.c:173:17: warning: cast between incompatible function types from 'void * (*)(long int)' to 'struct _obstack_chunk * (*)(void *, long int)' [-Wcast-function-type] 173 | h->chunkfun = (struct _obstack_chunk * (*)(void *, long)) chunkfun; | ^ obstack.c:174:16: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, struct _obstack_chunk *)' [-Wcast-function-type] 174 | h->freefun = (void (*) (void *, struct _obstack_chunk *)) freefun; | ^ obstack.c:127:8: warning: cast between incompatible function types from 'struct _obstack_chunk * (*)(void *, long int)' to 'struct _obstack_chunk * (*)(long int)' [-Wcast-function-type] 127 | : (*(struct _obstack_chunk *(*) (long)) (h)->chunkfun) ((size))) | ^ obstack.c:179:22: note: in expansion of macro 'CALL_CHUNKFUN' 179 | chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); | ^~~~~~~~~~~~~ obstack.c: In function '_obstack_begin_1': obstack.c:127:8: warning: cast between incompatible function types from 'struct _obstack_chunk * (*)(void *, long int)' to 'struct _obstack_chunk * (*)(long int)' [-Wcast-function-type] 127 | : (*(struct _obstack_chunk *(*) (long)) (h)->chunkfun) ((size))) | ^ obstack.c:227:22: note: in expansion of macro 'CALL_CHUNKFUN' 227 | chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); | ^~~~~~~~~~~~~ obstack.c: In function '_obstack_newchunk': obstack.c:127:8: warning: cast between incompatible function types from 'struct _obstack_chunk * (*)(void *, long int)' to 'struct _obstack_chunk * (*)(long int)' [-Wcast-function-type] 127 | : (*(struct _obstack_chunk *(*) (long)) (h)->chunkfun) ((size))) | ^ obstack.c:264:15: note: in expansion of macro 'CALL_CHUNKFUN' 264 | new_chunk = CALL_CHUNKFUN (h, new_size); | ^~~~~~~~~~~~~ obstack.c:134:9: warning: cast between incompatible function types from 'void (*)(void *, struct _obstack_chunk *)' to 'void (*)(void *)' [-Wcast-function-type] 134 | (*(void (*) (void *)) (h)->freefun) ((old_chunk)); \ | ^ obstack.c:304:7: note: in expansion of macro 'CALL_FREEFUN' 304 | CALL_FREEFUN (h, old_chunk); | ^~~~~~~~~~~~ obstack.c: In function 'obstack_free': obstack.c:134:9: warning: cast between incompatible function types from 'void (*)(void *, struct _obstack_chunk *)' to 'void (*)(void *)' [-Wcast-function-type] 134 | (*(void (*) (void *)) (h)->freefun) ((old_chunk)); \ | ^ obstack.c:360:7: note: in expansion of macro 'CALL_FREEFUN' 360 | CALL_FREEFUN (h, lp); | ^~~~~~~~~~~~ In file included from obstack.c:400: gettext.h: In function 'dcpgettext_expr': gettext.h:203:3: warning: ISO C90 forbids variable length array 'msg_ctxt_id' [-Wvla] 203 | char msg_ctxt_id[msgctxt_len + msgid_len]; | ^~~~ gettext.h: In function 'dcnpgettext_expr': gettext.h:249:3: warning: ISO C90 forbids variable length array 'msg_ctxt_id' [-Wvla] 249 | char msg_ctxt_id[msgctxt_len + msgid_len]; | ^~~~ CCLD libcompat.la gmake[3]: Leaving directory '/home/pbulk/build/misc/dpkg/work/dpkg-1.21.9/lib/compat' Making all in dpkg gmake[3]: Entering directory '/home/pbulk/build/misc/dpkg/work/dpkg-1.21.9/lib/dpkg' CC ar.lo CC arch.lo CC atomic-file.lo CC buffer.lo CC c-ctype.lo CC cleanup.lo CC color.lo CC command.lo CC compress.lo CC dbdir.lo CC dbmodify.lo CC db-ctrl-access.lo CC db-ctrl-format.lo CC db-ctrl-upgrade.lo CC db-fsys-digest.lo CC db-fsys-divert.lo CC db-fsys-files.lo CC db-fsys-override.lo CC deb-version.lo CC debug.lo CC depcon.lo CC dir.lo CC dump.lo CC ehandle.lo CC error.lo CC fdio.lo CC file.lo CC fields.lo CC fsys-dir.lo CC fsys-iter.lo CC fsys-hash.lo CC glob.lo CC i18n.lo CC log.lo CC mlib.lo CC namevalue.lo CC nfmalloc.lo CC options.lo CC options-parsers.lo CC pager.lo CC parse.lo CC parsehelp.lo CC path.lo CC path-remove.lo CC pkg.lo CC pkg-array.lo CC pkg-files.lo CC pkg-format.lo CC pkg-hash.lo CC pkg-list.lo CC pkg-namevalue.lo CC pkg-queue.lo CC pkg-show.lo CC pkg-spec.lo CC progname.lo CC program.lo CC progress.lo CC report.lo CC string.lo CC strhash.lo CC strwide.lo CC subproc.lo CC tarfn.lo CC treewalk.lo CC trigname.lo CC trignote.lo CC triglib.lo CC trigdeferred.lo CC utils.lo CC varbuf.lo CC version.lo CCLD libdpkg.la gmake[3]: Leaving directory '/home/pbulk/build/misc/dpkg/work/dpkg-1.21.9/lib/dpkg' gmake[3]: Entering directory '/home/pbulk/build/misc/dpkg/work/dpkg-1.21.9/lib' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/home/pbulk/build/misc/dpkg/work/dpkg-1.21.9/lib' gmake[2]: Leaving directory '/home/pbulk/build/misc/dpkg/work/dpkg-1.21.9/lib' Making all in src gmake[2]: Entering directory '/home/pbulk/build/misc/dpkg/work/dpkg-1.21.9/src' CC common/force.o CC common/selinux.o CC main/archives.o CC main/cleanup.o CC main/configure.o CC main/depcon.o CC main/enquiry.o CC main/errors.o CC main/file-match.o CC main/filters.o CC main/help.o CC main/main.o CC main/packages.o CC main/perpkgstate.o CC main/remove.o CC main/script.o CC main/select.o CC main/trigproc.o CC main/unpack.o CC main/update.o CC main/verify.o CCLD dpkg CC deb/build.o CC deb/extract.o CC deb/info.o CC deb/main.o CCLD dpkg-deb CC divert/main.o CCLD dpkg-divert CC query/main.o CCLD dpkg-query CC split/info.o CC split/join.o CC split/main.o CC split/queue.o CC split/split.o CCLD dpkg-split CC statoverride/main.o CCLD dpkg-statoverride CC trigger/main.o CCLD dpkg-trigger GEN dpkg-maintscript-helper GEN dpkg-realpath GEN dpkg-db-backup gmake[2]: Leaving directory '/home/pbulk/build/misc/dpkg/work/dpkg-1.21.9/src' Making all in utils gmake[2]: Entering directory '/home/pbulk/build/misc/dpkg/work/dpkg-1.21.9/utils' CC update_alternatives-update-alternatives.o CCLD update-alternatives CC start-stop-daemon.o start-stop-daemon.c: In function 'create_notify_socket': start-stop-daemon.c:639:23: warning: passing argument 2 of 'bind' from incompatible pointer type [-Wincompatible-pointer-types] 639 | rc = bind(fd, &su, sizeof(su)); | ^~~ | | | struct sockaddr_un * In file included from start-stop-daemon.c:82: /usr/include/sys/socket.h:549:22: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_un *' 549 | extern int bind(int, const struct sockaddr *, socklen_t); | ^~~~~~~~~~~~~~~~~~~~~~~ start-stop-daemon.c: In function 'ssd_kvm_open': start-stop-daemon.c:1684:14: warning: implicit declaration of function 'kvm_openfiles'; did you mean 'kvm_open'? [-Wimplicit-function-declaration] 1684 | kd = kvm_openfiles(NULL, KVM_MEMFILE, NULL, O_RDONLY, errbuf); | ^~~~~~~~~~~~~ | kvm_open start-stop-daemon.c:1684:14: warning: nested extern declaration of 'kvm_openfiles' [-Wnested-externs] start-stop-daemon.c:1684:12: warning: assignment to 'kvm_t *' {aka 'struct _kvmd *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1684 | kd = kvm_openfiles(NULL, KVM_MEMFILE, NULL, O_RDONLY, errbuf); | ^ start-stop-daemon.c: In function 'ssd_kvm_get_procs': start-stop-daemon.c:1704:14: warning: implicit declaration of function 'kvm_getprocs'; did you mean 'kvm_getproc'? [-Wimplicit-function-declaration] 1704 | kp = kvm_getprocs(kd, op, arg, count); | ^~~~~~~~~~~~ | kvm_getproc start-stop-daemon.c:1704:14: warning: nested extern declaration of 'kvm_getprocs' [-Wnested-externs] start-stop-daemon.c:1704:12: warning: assignment to 'struct kinfo_proc *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1704 | kp = kvm_getprocs(kd, op, arg, count); | ^ start-stop-daemon.c:1707:31: warning: implicit declaration of function 'kvm_geterr'; did you mean 'kvm_getcmd'? [-Wimplicit-function-declaration] 1707 | errx(1, "%s", kvm_geterr(kd)); | ^~~~~~~~~~ | kvm_getcmd start-stop-daemon.c:1707:31: warning: nested extern declaration of 'kvm_geterr' [-Wnested-externs] start-stop-daemon.c: In function 'pid_is_exec': start-stop-daemon.c:1856:36: error: 'KERN_PROC_PID' undeclared (first use in this function) 1856 | kp = ssd_kvm_get_procs(kd, KERN_PROC_PID, pid, NULL); | ^~~~~~~~~~~~~ start-stop-daemon.c:1856:36: note: each undeclared identifier is reported only once for each function it appears in start-stop-daemon.c:1860:22: warning: implicit declaration of function 'kvm_getargv'; did you mean 'kvm_getproc'? [-Wimplicit-function-declaration] 1860 | pid_argv_p = kvm_getargv(kd, kp, argv_len); | ^~~~~~~~~~~ | kvm_getproc start-stop-daemon.c:1860:22: warning: nested extern declaration of 'kvm_getargv' [-Wnested-externs] start-stop-daemon.c:1860:20: warning: assignment to 'char **' from 'int' makes pointer from integer without a cast [-Wint-conversion] 1860 | pid_argv_p = kvm_getargv(kd, kp, argv_len); | ^ start-stop-daemon.c: In function 'pid_is_child': start-stop-daemon.c:1992:36: error: 'KERN_PROC_PID' undeclared (first use in this function) 1992 | kp = ssd_kvm_get_procs(kd, KERN_PROC_PID, pid, NULL); | ^~~~~~~~~~~~~ start-stop-daemon.c:2003:23: error: invalid use of undefined type 'struct kinfo_proc' 2003 | proc_ppid = kp->kp_proc.p_ppid; | ^~ start-stop-daemon.c: In function 'pid_is_user': start-stop-daemon.c:2100:36: error: 'KERN_PROC_PID' undeclared (first use in this function) 2100 | kp = ssd_kvm_get_procs(kd, KERN_PROC_PID, pid, NULL); | ^~~~~~~~~~~~~ start-stop-daemon.c:2113:15: error: invalid use of undefined type 'struct kinfo_proc' 2113 | if (kp->kp_proc.p_cred) | ^~ start-stop-daemon.c:2114:42: error: invalid use of undefined type 'struct kinfo_proc' 2114 | kvm_read(kd, (u_long)&(kp->kp_proc.p_cred->p_ruid), | ^~ start-stop-daemon.c: In function 'pid_is_cmd': start-stop-daemon.c:2236:36: error: 'KERN_PROC_PID' undeclared (first use in this function) 2236 | kp = ssd_kvm_get_procs(kd, KERN_PROC_PID, pid, NULL); | ^~~~~~~~~~~~~ start-stop-daemon.c:2247:26: error: invalid use of undefined type 'struct kinfo_proc' 2247 | process_name = kp->kp_proc.p_comm; | ^~ gmake[2]: *** [Makefile:662: start-stop-daemon.o] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/misc/dpkg/work/dpkg-1.21.9/utils' gmake[1]: *** [Makefile:776: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/misc/dpkg/work/dpkg-1.21.9' gmake: *** [Makefile:619: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/misc/dpkg *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/misc/dpkg