+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bsdgrep-devel-20071201/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bsdgrep-devel-20071201/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for bsdgrep-devel-20071201 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -DHAVE_NBCOMPAT_H=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -I/opt/pkg/include -DHAVE_NBCOMPAT_H=1 -c binary.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -DHAVE_NBCOMPAT_H=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -I/opt/pkg/include -DHAVE_NBCOMPAT_H=1 -c file.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -DHAVE_NBCOMPAT_H=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -I/opt/pkg/include -DHAVE_NBCOMPAT_H=1 -c grep.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -DHAVE_NBCOMPAT_H=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -I/opt/pkg/include -DHAVE_NBCOMPAT_H=1 -c mmfile.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -DHAVE_NBCOMPAT_H=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -I/opt/pkg/include -DHAVE_NBCOMPAT_H=1 -c queue.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -DHAVE_NBCOMPAT_H=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -I/opt/pkg/include -DHAVE_NBCOMPAT_H=1 -c util.c gcc -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o bgrep binary.o file.o grep.o mmfile.o queue.o util.o -lz -lnbcompat ld: fatal: symbol 'optreset' is multiply-defined: (file /home/pbulk/build/textproc/bsdgrep-devel/work/.buildlink/lib/libnbcompat.a(getopt.o) type=OBJT; file /home/pbulk/build/textproc/bsdgrep-devel/work/.buildlink/lib/libnbcompat.a(getopt_long.o) type=OBJT); ld: fatal: file processing errors. No output written to bgrep collect2: error: ld returned 1 exit status *** [bgrep] Error code 1 bmake: stopped in /home/pbulk/build/textproc/bsdgrep-devel/work/bsdgrep-20071201 1 error bmake: stopped in /home/pbulk/build/textproc/bsdgrep-devel/work/bsdgrep-20071201 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/textproc/bsdgrep-devel *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/textproc/bsdgrep-devel