+ 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/vnstat-1.14nb6/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/vnstat-1.14nb6/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for vnstat-1.14nb6 /opt/pkg/bin/gmake -C src all gmake[1]: Entering directory '/home/pbulk/build/net/vnstat/work/vnstat-1.14/src' gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c -o vnstat.o vnstat.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c -o ifinfo.o ifinfo.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c -o dbxml.o dbxml.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c -o dbjson.o dbjson.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c -o dbshow.o dbshow.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/usr/include -c -o dbaccess.o dbaccess.c dbaccess.c: In function 'backupdb': dbaccess.c:268:11: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] 268 | if ((c = open(current, O_RDONLY)) == -1) { | ^~~~ | popen dbaccess.c:268:25: error: 'O_RDONLY' undeclared (first use in this function); did you mean 'ST_RDONLY'? 268 | if ((c = open(current, O_RDONLY)) == -1) { | ^~~~~~~~ | ST_RDONLY dbaccess.c:268:25: note: each undeclared identifier is reported only once for each function it appears in gmake[1]: *** [<builtin>: dbaccess.o] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/net/vnstat/work/vnstat-1.14/src' gmake: *** [Makefile:26: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/vnstat *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/vnstat