+ 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/aide-0.6nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/aide-0.6nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for aide-0.6nb1
/opt/pkg/bin/bmake  all-recursive
Making all in src
Making all in crypt
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src/crypt -I../.. -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c md.c
md.c: In function 'load_digest_module':
md.c:114:12: warning: implicit declaration of function 'enum_digests' [-Wimplicit-function-declaration]
  114 |     while( enum_digests( &context, &algo, &get_info ) ) {
      |            ^~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src/crypt -I../.. -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c md5.c
md5.c: In function 'md5_constructor':
md5.c:406:5: warning: implicit declaration of function 'register_internal_cipher_extension' [-Wimplicit-function-declaration]
  406 |     register_internal_cipher_extension( gnupgext_version, gnupgext_enum_func );
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src/crypt -I../.. -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c rmd160.c
rmd160.c: In function 'rmd160_constructor':
rmd160.c:639:5: warning: implicit declaration of function 'register_internal_cipher_extension' [-Wimplicit-function-declaration]
  639 |     register_internal_cipher_extension( gnupgext_version, gnupgext_enum_func );
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src/crypt -I../.. -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c sha1.c
sha1.c: In function 'sha1_constructor':
sha1.c:417:5: warning: implicit declaration of function 'register_internal_cipher_extension' [-Wimplicit-function-declaration]
  417 |     register_internal_cipher_extension( gnupgext_version, gnupgext_enum_func );
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src/crypt -I../.. -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c tiger.c
tiger.c:645:1: warning: conflicting types for built-in function 'round'; expected 'double(double)' [-Wbuiltin-declaration-mismatch]
  645 | round( u64 *ra, u64 *rb, u64 *rc, u64 x, int mul )
      | ^~~~~
tiger.c:29:1: note: 'round' is declared in header '<math.h>'
   28 | #include "cipher.h"
  +++ |+#include <math.h>
   29 | 
tiger.c: In function 'tiger_constructor':
tiger.c:985:5: warning: implicit declaration of function 'register_internal_cipher_extension' [-Wimplicit-function-declaration]
  985 |     register_internal_cipher_extension( gnupgext_version,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src/crypt -I../.. -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c enum.c
enum.c: In function 'register_internal_cipher_extension':
enum.c:84:13: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration]
   84 |             error(10,"extension `%s' already registered\n", el->name );
      |             ^~~~~
      |             perror
enum.c: In function 'cipher_modules_constructor':
enum.c:302:3: warning: implicit declaration of function 'md5_constructor' [-Wimplicit-function-declaration]
  302 |   md5_constructor();
      |   ^~~~~~~~~~~~~~~
enum.c:303:3: warning: implicit declaration of function 'sha1_constructor' [-Wimplicit-function-declaration]
  303 |   sha1_constructor();
      |   ^~~~~~~~~~~~~~~~
enum.c:304:3: warning: implicit declaration of function 'rmd160_constructor' [-Wimplicit-function-declaration]
  304 |   rmd160_constructor();
      |   ^~~~~~~~~~~~~~~~~~
enum.c:305:3: warning: implicit declaration of function 'tiger_constructor' [-Wimplicit-function-declaration]
  305 |   tiger_constructor();
      |   ^~~~~~~~~~~~~~~~~
rm -f libcipher.a
ar cru libcipher.a md.o md5.o rmd160.o sha1.o tiger.o enum.o 
ranlib libcipher.a
/opt/pkg/bin/bison -y -d -p conf -o conf_yacc.c conf_yacc.y
flex -Pconf -oconf_lex.c conf_lex.l
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c getopt.c
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c getopt1.c
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c gnu_regex.c
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c error.c
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c db.c
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c gen_list.c
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c list.c
list.c: In function 'list_append':
list.c:54:5: warning: implicit declaration of function 'error' [-Wimplicit-function-declaration]
   54 |     error(0,"Not enough memory to add a new item to list.\n");
      |     ^~~~~
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c do_md.c
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c base64.c
base64.c: In function 'encode_base64':
base64.c:102:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
  102 |   memset((void*)outbuf,0,B64_BUF);
      |   ^~~~~~
base64.c:38:1: note: include '<string.h>' or provide a declaration of 'memset'
   37 | #include "report.h"
  +++ |+#include <string.h>
   38 | 
base64.c:102:3: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch]
  102 |   memset((void*)outbuf,0,B64_BUF);
      |   ^~~~~~
base64.c:102:3: note: include '<string.h>' or provide a declaration of 'memset'
base64.c:165:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
  165 |   memcpy(retbuf,outbuf,pos);
      |   ^~~~~~
base64.c:165:3: note: include '<string.h>' or provide a declaration of 'memcpy'
base64.c:165:3: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
base64.c:165:3: note: include '<string.h>' or provide a declaration of 'memcpy'
base64.c: In function 'decode_base64':
base64.c:194:3: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch]
  194 |   memset(outbuf,0,sizeof(byte)*B64_BUF);
      |   ^~~~~~
base64.c:194:3: note: include '<string.h>' or provide a declaration of 'memset'
base64.c:246:3: warning: incompatible implicit declaration of built-in function 'memcpy' [-Wbuiltin-declaration-mismatch]
  246 |   memcpy(retbuf,outbuf,pos);
      |   ^~~~~~
base64.c:246:3: note: include '<string.h>' or provide a declaration of 'memcpy'
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c symboltable.c
symboltable.c: In function 'list_find':
symboltable.c:36:9: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
   36 |     if (strcmp(s,((symba*)p->data)->name)==0) return p;
      |         ^~~~~~
symboltable.c:23:1: note: include '<string.h>' or provide a declaration of 'strcmp'
   22 | #include "symboltable.h"
  +++ |+#include <string.h>
   23 | 
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c compare_db.c
compare_db.c: In function 'compare_db':
compare_db.c:548:14: warning: implicit declaration of function 'get_groupval' [-Wimplicit-function-declaration]
  548 |   ignorelist=get_groupval("ignore_list");
      |              ^~~~~~~~~~~~
compare_db.c:562:12: warning: implicit declaration of function 'check_list_for_match' [-Wimplicit-function-declaration]
  562 |          (!check_list_for_match(conf->selrxlst,old->filename,&tempignore) ||
      |            ^~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c be.c
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c util.c
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c aide.c
aide.c: In function 'main':
aide.c:333:3: warning: implicit declaration of function 'init_sighandler' [-Wimplicit-function-declaration]
  333 |   init_sighandler();
      |   ^~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c conf_yacc.c
conf_yacc.c: In function 'confparse':
conf_yacc.c:69:25: warning: implicit declaration of function 'conflex' [-Wimplicit-function-declaration]
   69 | #define yylex           conflex
      |                         ^~~~~~~
conf_yacc.c:1164:16: note: in expansion of macro 'yylex'
 1164 |       yychar = yylex ();
      |                ^~~~~
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c commandconf.c
commandconf.c: In function 'commandconf':
commandconf.c:134:5: warning: implicit declaration of function 'conf_scan_string' [-Wimplicit-function-declaration]
  134 |     conf_scan_string(all);
      |     ^~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c conf_lex.c
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c db_file.c
db_file.c: In function 'db_file_read_spec':
db_file.c:84:15: warning: implicit declaration of function 'check_db_order' [-Wimplicit-function-declaration]
   84 |           if (check_db_order(conf->db_in_order, conf->db_in_size,
      |               ^~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I/home/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6/include  -I/opt/pkg/include -I/home/pbulk/build/security/aide06/work/aide-0.6 -I/home/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c db_lex.c
db_lex.l: In function 'db_scan':
db_lex.l:52:2: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration]
   52 |  error(230," %s \n",yytext);
      |  ^~~~~
      |  perror
gcc  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -static -o aide  conf_yacc.o conf_lex.o getopt.o getopt1.o gnu_regex.o  error.o db.o commandconf.o db_file.o db_lex.o gen_list.o list.o do_md.o  base64.o symboltable.o compare_db.o be.o util.o aide.o crypt/libcipher.a 
ld: fatal: library -lc: not found
ld: fatal: file processing errors. No output written to aide
collect2: error: ld returned 1 exit status
*** [aide] Error code 1

bmake[3]: stopped in /home/pbulk/build/security/aide06/work/aide-0.6/src
1 error

bmake[3]: stopped in /home/pbulk/build/security/aide06/work/aide-0.6/src
*** [all-recursive] Error code 1

bmake[2]: stopped in /home/pbulk/build/security/aide06/work/aide-0.6/src
1 error

bmake[2]: stopped in /home/pbulk/build/security/aide06/work/aide-0.6/src
*** [all-recursive] Error code 1

bmake[1]: stopped in /home/pbulk/build/security/aide06/work/aide-0.6
1 error

bmake[1]: stopped in /home/pbulk/build/security/aide06/work/aide-0.6
*** [all-recursive-am] Error code 2

bmake: stopped in /home/pbulk/build/security/aide06/work/aide-0.6
1 error

bmake: stopped in /home/pbulk/build/security/aide06/work/aide-0.6
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/aide06
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/aide06