+ local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libbsd-0.10.0/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libbsd-0.10.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for libbsd-0.10.0 --- all --- /usr/pkg/bin/bmake all-recursive --- all-recursive --- Making all in include Making all in man Making all in src --- hash/.dirstamp --- --- hash/.deps/.dirstamp --- --- arc4random.lo --- --- arc4random_uniform.lo --- CC arc4random_uniform.lo --- arc4random.lo --- CC arc4random.lo --- bsd_getopt.lo --- --- closefrom.lo --- --- bsd_getopt.lo --- CC bsd_getopt.lo --- closefrom.lo --- CC closefrom.lo In file included from closefrom.c:21: ../include/bsd/unistd.h:62:6: error: conflicting types for 'closefrom' 62 | void closefrom(int lowfd); | ^~~~~~~~~ In file included from ../include/bsd/unistd.h:31, from closefrom.c:21: /usr/include/unistd.h:329:6: note: previous declaration of 'closefrom' was here 329 | int closefrom(int); | ^~~~~~~~~ closefrom.c:60:20: error: redefinition of 'closefrom_fallback' 60 | # define closefrom closefrom_fallback | ^~~~~~~~~~~~~~~~~~ closefrom.c:106:1: note: in expansion of macro 'closefrom' 106 | closefrom(int lowfd) | ^~~~~~~~~ closefrom.c:79:1: note: previous definition of 'closefrom_fallback' was here 79 | closefrom_fallback(int lowfd) | ^~~~~~~~~~~~~~~~~~ --- arc4random.lo --- In file included from arc4random.c:33: ../include/bsd/unistd.h:62:6: error: conflicting types for 'closefrom' 62 | void closefrom(int lowfd); | ^~~~~~~~~ --- bsd_getopt.lo --- In file included from /usr/include/getopt.h:36, from ../include/bsd/getopt.h:30, from bsd_getopt.c:27: ../include/bsd/unistd.h:62:6: error: conflicting types for 'closefrom' 62 | void closefrom(int lowfd); | ^~~~~~~~~ --- arc4random.lo --- In file included from ../include/bsd/unistd.h:31, from arc4random.c:33: /usr/include/unistd.h:329:6: note: previous declaration of 'closefrom' was here 329 | int closefrom(int); | ^~~~~~~~~ --- bsd_getopt.lo --- In file included from ../include/bsd/unistd.h:31, from /usr/include/getopt.h:36, from ../include/bsd/getopt.h:30, from bsd_getopt.c:27: /usr/include/unistd.h:329:6: note: previous declaration of 'closefrom' was here 329 | int closefrom(int); | ^~~~~~~~~ --- closefrom.lo --- *** [closefrom.lo] Error code 1 bmake[2]: stopped in /home/pbulk/build/devel/libbsd/work/libbsd-0.10.0/src --- bsd_getopt.lo --- *** [bsd_getopt.lo] Error code 1 bmake[2]: stopped in /home/pbulk/build/devel/libbsd/work/libbsd-0.10.0/src --- arc4random.lo --- *** [arc4random.lo] Error code 1 bmake[2]: stopped in /home/pbulk/build/devel/libbsd/work/libbsd-0.10.0/src 3 errors bmake[2]: stopped in /home/pbulk/build/devel/libbsd/work/libbsd-0.10.0/src *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/devel/libbsd/work/libbsd-0.10.0 1 error bmake[1]: stopped in /home/pbulk/build/devel/libbsd/work/libbsd-0.10.0 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/devel/libbsd/work/libbsd-0.10.0 1 error bmake: stopped in /home/pbulk/build/devel/libbsd/work/libbsd-0.10.0 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/devel/libbsd *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-netbsd-trunk-x86_64/devel/libbsd