+ 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/nbsed-20240312nb1/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nbsed-20240312nb1/work.log ===> Building for nbsed-20240312nb1 --- compile.o --- --- main.o --- cc -DHAVE_CONFIG_H -I. -I. -DHOST=\"x86_64-redhat-linux-gnu\" -DVERSION=\"20040821\" -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/textproc/nbsed/work/libnbcompat -pipe -O2 -c main.c -o main.o --- compile.o --- cc -DHAVE_CONFIG_H -I. -I. -DHOST=\"x86_64-redhat-linux-gnu\" -DVERSION=\"20040821\" -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/textproc/nbsed/work/libnbcompat -pipe -O2 -c compile.c -o compile.o compile.c: In function 'compile_tr': compile.c:883:5: warning: implicit declaration of function 'errc'; did you mean 'errx'? [-Wimplicit-function-declaration] errc(1, EILSEQ, NULL); ^~~~ errx --- main.o --- main.c: In function 'mf_fgets': main.c:486:4: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] fchown(fileno(outfile), sb.st_uid, sb.st_gid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- misc.o --- cc -DHAVE_CONFIG_H -I. -I. -DHOST=\"x86_64-redhat-linux-gnu\" -DVERSION=\"20040821\" -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/textproc/nbsed/work/libnbcompat -pipe -O2 -c misc.c -o misc.o --- process.o --- cc -DHAVE_CONFIG_H -I. -I. -DHOST=\"x86_64-redhat-linux-gnu\" -DVERSION=\"20040821\" -DHAVE_NBCOMPAT_H=1 -I/home/pbulk/build/textproc/nbsed/work/libnbcompat -pipe -O2 -c process.c -o process.o --- sed --- cc -pipe -O2 -L/home/pbulk/build/textproc/nbsed/work/libnbcompat -Wl,-zrelro -Wl,-R/usr/pkg/lib -o sed compile.o main.o misc.o process.o -lnbcompat compile.o: In function `compile_stream.constprop.1': compile.c:(.text+0x1ab7): undefined reference to `errc' compile.c:(.text+0x1aeb): undefined reference to `errc' collect2: error: ld returned 1 exit status *** [sed] Error code 1 bmake: stopped in /home/pbulk/build/textproc/nbsed/work/nbsed-20240312 1 error bmake: stopped in /home/pbulk/build/textproc/nbsed/work/nbsed-20240312 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/textproc/nbsed *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/textproc/nbsed