+ 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/sqlite-2.8.17nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sqlite-2.8.17nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for sqlite-2.8.17nb3
sed -e s/--VERS--/`cat ./VERSION`/ \
            -e s/--ENCODING--/ISO8859/ \
                 ./src/sqlite.h.in >sqlite.h
echo '#include <stdlib.h>' >temp.c
echo '#include <stdio.h>' >>temp.c
echo 'int main(){printf(' >>temp.c
echo '"#define SQLITE_PTR_SZ %d",sizeof(char*));' >>temp.c
echo 'exit(0);}' >>temp.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DUINT32_TYPE=uint32_t -DUINT16_TYPE=uint16_t -DUINT8_TYPE=uint8_t -DINTPTR_TYPE=long -I/opt/pkg/include -I/opt/pkg/include/ncurses -o temp temp.c
./temp >config.h
echo >>config.h
rm -f temp.c temp
echo '/* Automatically generated file.  Do not edit */' >opcodes.h
grep '^case OP_' ./src/vdbe.c | \
  sed -e 's/://' | \
  awk '{printf "#define %-30s %3d\n", $2, ++cnt}' >>opcodes.h
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DUINT32_TYPE=uint32_t -DUINT16_TYPE=uint16_t -DUINT8_TYPE=uint8_t -DINTPTR_TYPE=long -I/opt/pkg/include -I/opt/pkg/include/ncurses -o lemon ./tool/lemon.c
./tool/lemon.c:113:15: error: redeclaration of enumerator 'B_FALSE'
  113 | typedef enum {B_FALSE=0, B_TRUE} Boolean;
      |               ^~~~~~~
In file included from /usr/include/sys/wait.h:37,
                 from /usr/include/stdlib.h:46,
                 from ./tool/lemon.c:13:
/usr/include/sys/types.h:215:16: note: previous definition of 'B_FALSE' with type 'enum <anonymous>'
  215 | typedef enum { B_FALSE = 0, B_TRUE = 1, _B_FALSE = 0, _B_TRUE = 1 } boolean_t;
      |                ^~~~~~~
./tool/lemon.c:113:26: error: redeclaration of enumerator 'B_TRUE'
  113 | typedef enum {B_FALSE=0, B_TRUE} Boolean;
      |                          ^~~~~~
/usr/include/sys/types.h:215:29: note: previous definition of 'B_TRUE' with type 'enum <anonymous>'
  215 | typedef enum { B_FALSE = 0, B_TRUE = 1, _B_FALSE = 0, _B_TRUE = 1 } boolean_t;
      |                             ^~~~~~
./tool/lemon.c: In function 'tplt_open':
./tool/lemon.c:2821:7: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration]
 2821 |   if( access(buf,004)==0 ){
      |       ^~~~~~
./tool/lemon.c:2713:14: note: previous declaration of 'access' with type 'int()'
 2713 |   extern int access();
      |              ^~~~~~
gmake: *** [Makefile:218: lemon] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/sqlite
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/sqlite