+ 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/smtpfeed-1.23nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/smtpfeed-1.23nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for smtpfeed-1.23nb1 --- address.o --- --- dns.o --- --- address.o --- gcc -DINET6 -pipe -O2 -I/usr/include -c address.c --- dns.o --- gcc -DINET6 -pipe -O2 -I/usr/include -c dns.c --- lmtp.o --- gcc -DINET6 -pipe -O2 -I/usr/include -c lmtp.c --- log.o --- gcc -DINET6 -pipe -O2 -I/usr/include -c log.c --- main.o --- gcc -DINET6 -pipe -O2 -I/usr/include -c main.c --- mxrand.o --- gcc -DINET6 -pipe -O2 -I/usr/include -c mxrand.c --- main.o --- main.c: In function 'main': main.c:131:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/tmp"); ^ --- proctitle.o --- gcc -DINET6 -pipe -O2 -I/usr/include -c proctitle.c --- smtp.o --- gcc -DINET6 -pipe -O2 -I/usr/include -c smtp.c --- util.o --- gcc -DINET6 -pipe -O2 -I/usr/include -c util.c In file included from /usr/include/string.h:638:0, from common.h:52, from util.c:42: In function 'strncat', inlined from 'host_map_load' at util.c:585:14: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ --- version.o --- gcc -DINET6 -pipe -O2 -I/usr/include -c version.c --- smtp.o --- In file included from /usr/include/string.h:638:0, from common.h:52, from smtp.c:41: In function 'strncat', inlined from 'markstatus' at smtp.c:964:12: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ In function 'strncat', inlined from 'markstatus' at smtp.c:967:12: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ In function 'strncat', inlined from 'markstatus' at smtp.c:974:12: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ In function 'strncat', inlined from 'markstatus' at smtp.c:977:12: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ In function 'strncat', inlined from 'markstatus' at smtp.c:985:12: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ In function 'strncat', inlined from 'markstatus' at smtp.c:988:12: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default] return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); ^ --- smtpfeed --- gcc -o smtpfeed -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/pkg/lib address.o dns.o lmtp.o log.o main.o mxrand.o proctitle.o smtp.o util.o version.o -lutil dns.o: In function `show_query': dns.c:(.text+0xff5): undefined reference to `__dn_expand' dns.c:(.text+0x10b2): undefined reference to `__dn_expand' dns.c:(.text+0x116e): undefined reference to `__dn_expand' dns.o: In function `process_query': dns.c:(.text+0x15ec): undefined reference to `__dn_expand' dns.c:(.text+0x1fb5): undefined reference to `__dn_expand' dns.o:dns.c:(.text+0x2184): more undefined references to `__dn_expand' follow dns.o: In function `process_query': dns.c:(.text+0x26b4): undefined reference to `__dn_skipname' dns.c:(.text+0x2765): undefined reference to `__dn_expand' dns.c:(.text+0x297f): undefined reference to `__dn_skipname' dns.o: In function `make_query': dns.c:(.text+0x2d9b): undefined reference to `__res_mkquery' dns.o: In function `pregetmx': dns.c:(.text+0x30fb): undefined reference to `setproctitle' dns.c:(.text+0x31e3): undefined reference to `setproctitle' dns.c:(.text+0x35f6): undefined reference to `setproctitle' dns.c:(.text+0x3638): undefined reference to `setproctitle' lmtp.o: In function `lmtp': lmtp.c:(.text+0x13a6): undefined reference to `setproctitle' lmtp.o:lmtp.c:(.text+0x17b3): more undefined references to `setproctitle' follow collect2: error: ld returned 1 exit status *** [smtpfeed] Error code 1 bmake: stopped in /home/pbulk/build/mail/smtpfeed/work/smtpfeed-1.23 1 error bmake: stopped in /home/pbulk/build/mail/smtpfeed/work/smtpfeed-1.23 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/mail/smtpfeed *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/mail/smtpfeed