+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bcollect-0.6.0/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bcollect-0.6.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20211023
===> Building for bcollect-0.6.0
/opt/local/bin/bmake  all-recursive
Making all in include
Making all in confparser
gcc -DHAVE_CONFIG_H -I. -I..    -I/opt/local/include -I/usr/include -I../include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -MT conffuncs.o -MD -MP -MF .deps/conffuncs.Tpo -c -o conffuncs.o conffuncs.c
In file included from ../include/bcollect.h:93,
                 from conffuncs.c:32:
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:36:51: warning: 'struct sockaddr_storage' declared inside parameter list will not be visible outside of this definition or declaration
   36 | extern int c_str2sockaddr(const char *str, struct sockaddr_storage **res);
      |                                                   ^~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:37:51: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   37 | extern int c_str2addrinfo(const char *str, struct addrinfo **addr);
      |                                                   ^~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:38:42: warning: 'struct sockaddr_storage' declared inside parameter list will not be visible outside of this definition or declaration
   38 | extern char *c_sockaddr2str(const struct sockaddr_storage *);
      |                                          ^~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:39:53: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   39 | extern int c_bind2addrinfo(int sockfd, const struct addrinfo *addr);
      |                                                     ^~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:40:56: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   40 | extern int c_connect2addrinfo(int sockfd, const struct addrinfo *addr);
      |                                                        ^~~~~~~~
mv -f .deps/conffuncs.Tpo .deps/conffuncs.Po
/usr/bin/bash ../ylwrap confparser.y y.tab.c confparser.c y.tab.h confparser.h y.output confparser.output -- /opt/local/bin/bison -y -d 
updating confparser.h
gcc -DHAVE_CONFIG_H -I. -I..    -I/opt/local/include -I/usr/include -I../include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -MT confparser.o -MD -MP -MF .deps/confparser.Tpo -c -o confparser.o confparser.c
In file included from ../include/bcollect.h:93,
                 from confparser.y:35:
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:36:51: warning: 'struct sockaddr_storage' declared inside parameter list will not be visible outside of this definition or declaration
   36 | extern int c_str2sockaddr(const char *str, struct sockaddr_storage **res);
      |                                                   ^~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:37:51: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   37 | extern int c_str2addrinfo(const char *str, struct addrinfo **addr);
      |                                                   ^~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:38:42: warning: 'struct sockaddr_storage' declared inside parameter list will not be visible outside of this definition or declaration
   38 | extern char *c_sockaddr2str(const struct sockaddr_storage *);
      |                                          ^~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:39:53: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   39 | extern int c_bind2addrinfo(int sockfd, const struct addrinfo *addr);
      |                                                     ^~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:40:56: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   40 | extern int c_connect2addrinfo(int sockfd, const struct addrinfo *addr);
      |                                                        ^~~~~~~~
confparser.c: In function 'yyparse':
confparser.c:1154:16: warning: implicit declaration of function 'yylex' [-Wimplicit-function-declaration]
 1154 |       yychar = yylex ();
      |                ^~~~~
confparser.y:88:35: warning: implicit declaration of function 'backup_source'; did you mean 'backup_name'? [-Wimplicit-function-declaration]
   88 | source_def: SOURCE QSTRING { backup_source($2); };
      |                                   ^~~~~~~~~~~~~
      |                                   backup_name
confparser.y:90:35: warning: implicit declaration of function 'backup_dest' [-Wimplicit-function-declaration]
   90 | dest_def: DESTINATION QSTRING { backup_dest($2); };
      |                                   ^~~~~~~~~~~
confparser.y:92:35: warning: implicit declaration of function 'backup_summary' [-Wimplicit-function-declaration]
   92 | summary_def: SUMMARY BOOLEAN { backup_summary($2); };
      |                                   ^~~~~~~~~~~~~~
confparser.y:94:36: warning: implicit declaration of function 'backup_fromcc'; did you mean 'backup_name'? [-Wimplicit-function-declaration]
   94 | fromcc_def: FROMCCOLLECT BOOLEAN { backup_fromcc($2); };
      |                                    ^~~~~~~~~~~~~
      |                                    backup_name
confparser.y:96:34: warning: implicit declaration of function 'backup_manual'; did you mean 'backup_name'? [-Wimplicit-function-declaration]
   96 | manual_def: MANUALONLY BOOLEAN { backup_manual($2); };
      |                                  ^~~~~~~~~~~~~
      |                                  backup_name
confparser.y:98:36: warning: implicit declaration of function 'backup_exclude' [-Wimplicit-function-declaration]
   98 | exclude_def: EXCLUDELIST QSTRING { backup_exclude($2); };
      |                                    ^~~~~~~~~~~~~~
confparser.y:100:35: warning: implicit declaration of function 'backup_preexec' [-Wimplicit-function-declaration]
  100 | preexec_def: PREEXEC QSTRING { backup_preexec($2); };
      |                                   ^~~~~~~~~~~~~~
confparser.y:102:35: warning: implicit declaration of function 'backup_postexec' [-Wimplicit-function-declaration]
  102 | postexec_def: POSTEXEC QSTRING { backup_postexec($2); };
      |                                   ^~~~~~~~~~~~~~~
mv -f .deps/confparser.Tpo .deps/confparser.Po
/usr/bin/bash ../ylwrap conflexer.l lex.yy.c conflexer.c -- /opt/local/bin/flex  
gcc -DHAVE_CONFIG_H -I. -I..    -I/opt/local/include -I/usr/include -I../include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -MT conflexer.o -MD -MP -MF .deps/conflexer.Tpo -c -o conflexer.o conflexer.c
In file included from ../include/bcollect.h:93,
                 from conflexer.l:35:
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:36:51: warning: 'struct sockaddr_storage' declared inside parameter list will not be visible outside of this definition or declaration
   36 | extern int c_str2sockaddr(const char *str, struct sockaddr_storage **res);
      |                                                   ^~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:37:51: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   37 | extern int c_str2addrinfo(const char *str, struct addrinfo **addr);
      |                                                   ^~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:38:42: warning: 'struct sockaddr_storage' declared inside parameter list will not be visible outside of this definition or declaration
   38 | extern char *c_sockaddr2str(const struct sockaddr_storage *);
      |                                          ^~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:39:53: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   39 | extern int c_bind2addrinfo(int sockfd, const struct addrinfo *addr);
      |                                                     ^~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:40:56: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   40 | extern int c_connect2addrinfo(int sockfd, const struct addrinfo *addr);
      |                                                        ^~~~~~~~
mv -f .deps/conflexer.Tpo .deps/conflexer.Po
rm -f libconfparser.a
ar cru libconfparser.a conffuncs.o confparser.o  conflexer.o 
ranlib libconfparser.a
Making all in examples
gcc -DHAVE_CONFIG_H -I.    -I/opt/local/include -I/usr/include -I./include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
In file included from ./include/bcollect.h:93,
                 from main.c:1:
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:36:51: warning: 'struct sockaddr_storage' declared inside parameter list will not be visible outside of this definition or declaration
   36 | extern int c_str2sockaddr(const char *str, struct sockaddr_storage **res);
      |                                                   ^~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:37:51: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   37 | extern int c_str2addrinfo(const char *str, struct addrinfo **addr);
      |                                                   ^~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:38:42: warning: 'struct sockaddr_storage' declared inside parameter list will not be visible outside of this definition or declaration
   38 | extern char *c_sockaddr2str(const struct sockaddr_storage *);
      |                                          ^~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:39:53: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   39 | extern int c_bind2addrinfo(int sockfd, const struct addrinfo *addr);
      |                                                     ^~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:40:56: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   40 | extern int c_connect2addrinfo(int sockfd, const struct addrinfo *addr);
      |                                                        ^~~~~~~~
main.c: In function 'main':
main.c:76:2: warning: implicit declaration of function 'yyparse'; did you mean 'pause'? [-Wimplicit-function-declaration]
   76 |  yyparse();
      |  ^~~~~~~
      |  pause
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I.    -I/opt/local/include -I/usr/include -I./include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -MT rmdir.o -MD -MP -MF .deps/rmdir.Tpo -c -o rmdir.o rmdir.c
In file included from ./include/bcollect.h:93,
                 from rmdir.c:31:
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:36:51: warning: 'struct sockaddr_storage' declared inside parameter list will not be visible outside of this definition or declaration
   36 | extern int c_str2sockaddr(const char *str, struct sockaddr_storage **res);
      |                                                   ^~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:37:51: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   37 | extern int c_str2addrinfo(const char *str, struct addrinfo **addr);
      |                                                   ^~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:38:42: warning: 'struct sockaddr_storage' declared inside parameter list will not be visible outside of this definition or declaration
   38 | extern char *c_sockaddr2str(const struct sockaddr_storage *);
      |                                          ^~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:39:53: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   39 | extern int c_bind2addrinfo(int sockfd, const struct addrinfo *addr);
      |                                                     ^~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:40:56: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   40 | extern int c_connect2addrinfo(int sockfd, const struct addrinfo *addr);
      |                                                        ^~~~~~~~
mv -f .deps/rmdir.Tpo .deps/rmdir.Po
gcc -DHAVE_CONFIG_H -I.    -I/opt/local/include -I/usr/include -I./include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -MT backup.o -MD -MP -MF .deps/backup.Tpo -c -o backup.o backup.c
In file included from ./include/bcollect.h:93,
                 from backup.c:32:
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:36:51: warning: 'struct sockaddr_storage' declared inside parameter list will not be visible outside of this definition or declaration
   36 | extern int c_str2sockaddr(const char *str, struct sockaddr_storage **res);
      |                                                   ^~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:37:51: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   37 | extern int c_str2addrinfo(const char *str, struct addrinfo **addr);
      |                                                   ^~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:38:42: warning: 'struct sockaddr_storage' declared inside parameter list will not be visible outside of this definition or declaration
   38 | extern char *c_sockaddr2str(const struct sockaddr_storage *);
      |                                          ^~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:39:53: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   39 | extern int c_bind2addrinfo(int sockfd, const struct addrinfo *addr);
      |                                                     ^~~~~~~~
/home/pbulk/build/sysutils/bcollect/work/.buildlink/include/clib/clib.h:40:56: warning: 'struct addrinfo' declared inside parameter list will not be visible outside of this definition or declaration
   40 | extern int c_connect2addrinfo(int sockfd, const struct addrinfo *addr);
      |                                                        ^~~~~~~~
backup.c: In function 'do_backup':
backup.c:82:6: warning: implicit declaration of function 'flock'; did you mean 'clock'? [-Wimplicit-function-declaration]
   82 |  if (flock(lockfd, LOCK_EX | LOCK_NB))
      |      ^~~~~
      |      clock
backup.c:82:20: error: 'LOCK_EX' undeclared (first use in this function)
   82 |  if (flock(lockfd, LOCK_EX | LOCK_NB))
      |                    ^~~~~~~
backup.c:82:20: note: each undeclared identifier is reported only once for each function it appears in
backup.c:82:30: error: 'LOCK_NB' undeclared (first use in this function)
   82 |  if (flock(lockfd, LOCK_EX | LOCK_NB))
      |                              ^~~~~~~
backup.c:445:16: error: 'LOCK_UN' undeclared (first use in this function)
  445 |  flock(lockfd, LOCK_UN);
      |                ^~~~~~~
*** Error code 1

Stop.
bmake[2]: stopped in /home/pbulk/build/sysutils/bcollect/work/bcollect-0.6.0
*** Error code 1

Stop.
bmake[1]: stopped in /home/pbulk/build/sysutils/bcollect/work/bcollect-0.6.0
*** Error code 1

Stop.
bmake: stopped in /home/pbulk/build/sysutils/bcollect/work/bcollect-0.6.0
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/sysutils/bcollect
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/sysutils/bcollect