+ 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 dns.c:400:8: warning: type defaults to 'int' in declaration of 'query_chain_count' [-Wimplicit-int] static query_chain_count = 0; ^~~~~~~~~~~~~~~~~ --- 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:4: 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 util.c: In function 'resource_usage': util.c:96:9: warning: type defaults to 'int' in declaration of 'firsttime' [-Wimplicit-int] static firsttime=1; ^~~~~~~~~ In file included from /usr/include/string.h:495, from common.h:52, from util.c:42: In function 'strncat', inlined from 'host_map_load' at util.c:585:6: /usr/include/bits/string_fortified.h:151:10: warning: '__builtin___strncat_chk' specified bound 1024 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~ --- version.o --- gcc -DINET6 -pipe -O2 -I/usr/include -c version.c --- smtp.o --- In file included from /usr/include/string.h:495, from common.h:52, from smtp.c:41: In function 'strncat', inlined from 'markstatus' at smtp.c:964:5: /usr/include/bits/string_fortified.h:151:10: warning: '__builtin___strncat_chk' specified bound 64 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'markstatus' at smtp.c:967:5: /usr/include/bits/string_fortified.h:151:10: warning: '__builtin___strncat_chk' specified bound 64 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'markstatus' at smtp.c:974:5: /usr/include/bits/string_fortified.h:151:10: warning: '__builtin___strncat_chk' specified bound 64 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'markstatus' at smtp.c:977:5: /usr/include/bits/string_fortified.h:151:10: warning: '__builtin___strncat_chk' specified bound 64 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'markstatus' at smtp.c:985:5: /usr/include/bits/string_fortified.h:151:10: warning: '__builtin___strncat_chk' specified bound 64 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__dest)); ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'markstatus' at smtp.c:988:5: /usr/include/bits/string_fortified.h:151:10: warning: '__builtin___strncat_chk' specified bound 64 equals destination size [-Wstringop-overflow=] return __builtin___strncat_chk (__dest, __src, __len, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __glibc_objsize (__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+0x10bd): undefined reference to `__dn_expand' dns.c:(.text+0x116a): undefined reference to `__dn_expand' dns.c:(.text+0x11f8): undefined reference to `__dn_expand' dns.o: In function `process_query': dns.c:(.text+0x162e): undefined reference to `__dn_expand' dns.c:(.text+0x218c): undefined reference to `__dn_expand' dns.o:dns.c:(.text+0x230e): more undefined references to `__dn_expand' follow dns.o: In function `process_query': dns.c:(.text+0x27aa): undefined reference to `__dn_skipname' dns.c:(.text+0x2821): undefined reference to `__dn_skipname' dns.c:(.text+0x28b3): undefined reference to `__dn_expand' dns.o: In function `make_query': dns.c:(.text+0x2dec): undefined reference to `__res_mkquery' dns.o: In function `pregetmx': dns.c:(.text+0x314d): undefined reference to `setproctitle' dns.c:(.text+0x3613): undefined reference to `setproctitle' dns.c:(.text+0x3653): undefined reference to `setproctitle' dns.c:(.text+0x375f): undefined reference to `setproctitle' lmtp.o: In function `lmtp': lmtp.c:(.text+0x131e): undefined reference to `setproctitle' lmtp.o:lmtp.c:(.text+0x1710): 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-el8-trunk-x86_64/mail/smtpfeed *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/mail/smtpfeed