+ 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/aide-0.15.1nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/aide-0.15.1nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for aide-0.15.1nb1
/opt/local/bin/gmake  all-recursive
gmake[1]: Entering directory '/home/pbulk/build/security/aide/work/aide-0.15.1'
Making all in include
gmake[2]: Entering directory '/home/pbulk/build/security/aide/work/aide-0.15.1/include'
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory '/home/pbulk/build/security/aide/work/aide-0.15.1/include'
Making all in src
gmake[2]: Entering directory '/home/pbulk/build/security/aide/work/aide-0.15.1/src'
/opt/local/bin/gmake  all-am
gmake[3]: Entering directory '/home/pbulk/build/security/aide/work/aide-0.15.1/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT aide.o -MD -MP -MF .deps/aide.Tpo -c -o aide.o aide.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from aide.c:22:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
mv -f .deps/aide.Tpo .deps/aide.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT base64.o -MD -MP -MF .deps/base64.Tpo -c -o base64.o base64.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from base64.c:33:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
mv -f .deps/base64.Tpo .deps/base64.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT be.o -MD -MP -MF .deps/be.Tpo -c -o be.o be.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from be.c:22:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
be.c: In function 'be_init':
be.c:165:9: warning: assignment to 'FILE *' from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-Wincompatible-pointer-types]
  165 |       fh=gzdopen(fd,"wb9");
      |         ^
be.c:186:14: warning: returning 'gzFile' {aka 'struct gzFile_s *'} from a function with incompatible return type 'FILE *' [-Wincompatible-pointer-types]
  186 |       return gzdopen(fileno(stdout),"wb");
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
be.c:198:14: warning: returning 'gzFile' {aka 'struct gzFile_s *'} from a function with incompatible return type 'FILE *' [-Wincompatible-pointer-types]
  198 |       return gzdopen(fileno(stdin),"r");
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~
be.c:210:14: warning: returning 'gzFile' {aka 'struct gzFile_s *'} from a function with incompatible return type 'FILE *' [-Wincompatible-pointer-types]
  210 |       return gzdopen(fileno(stderr),"wb");
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
be.c:226:9: warning: assignment to 'FILE *' from incompatible pointer type 'gzFile' {aka 'struct gzFile_s *'} [-Wincompatible-pointer-types]
  226 |       fh=gzdopen(a,"w");
      |         ^
mv -f .deps/be.Tpo .deps/be.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT commandconf.o -MD -MP -MF .deps/commandconf.Tpo -c -o commandconf.o commandconf.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from commandconf.c:22:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
commandconf.c: In function 'db_input_wrapper':
commandconf.c:246:10: warning: variable 'db_url' set but not used [-Wunused-but-set-variable]
  246 |   url_t* db_url=NULL;
      |          ^~~~~~
mv -f .deps/commandconf.Tpo .deps/commandconf.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT compare_db.o -MD -MP -MF .deps/compare_db.Tpo -c -o compare_db.o compare_db.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from compare_db.c:22:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
compare_db.c: In function 'get_ignorelist':
compare_db.c:80:17: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
   80 |   if (ignorelist==-1) {
      |                 ^~
compare_db.c: In function 'get_report_attributes':
compare_db.c:91:19: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'int' [-Wsign-compare]
   91 |   if (forced_attrs==-1) {
      |                   ^~
compare_db.c: In function 'send_audit_report':
compare_db.c:1223:29: warning: unused parameter 'nadd' [-Wunused-parameter]
 1223 | void send_audit_report(long nadd, long nrem, long nchg)
      |                        ~~~~~^~~~
compare_db.c:1223:40: warning: unused parameter 'nrem' [-Wunused-parameter]
 1223 | void send_audit_report(long nadd, long nrem, long nchg)
      |                                   ~~~~~^~~~
compare_db.c:1223:51: warning: unused parameter 'nchg' [-Wunused-parameter]
 1223 | void send_audit_report(long nadd, long nrem, long nchg)
      |                                              ~~~~~^~~~
mv -f .deps/compare_db.Tpo .deps/compare_db.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT conf_lex.o -MD -MP -MF .deps/conf_lex.Tpo -c -o conf_lex.o conf_lex.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from conf_lex.l:36:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
conf_lex.c:4717:16: warning: 'input' defined but not used [-Wunused-function]
 4717 |     static int input  (void)
      |                ^~~~~
mv -f .deps/conf_lex.Tpo .deps/conf_lex.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT conf_yacc.o -MD -MP -MF .deps/conf_yacc.Tpo -c -o conf_yacc.o conf_yacc.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from conf_yacc.y:22:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
conf_yacc.c:356:6: warning: "YYENABLE_NLS" is not defined, evaluates to 0 [-Wundef]
  356 | # if YYENABLE_NLS
      |      ^~~~~~~~~~~~
conf_yacc.c:940:6: warning: "YYLTYPE_IS_TRIVIAL" is not defined, evaluates to 0 [-Wundef]
  940 | # if YYLTYPE_IS_TRIVIAL
      |      ^~~~~~~~~~~~~~~~~~
mv -f .deps/conf_yacc.Tpo .deps/conf_yacc.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT db.o -MD -MP -MF .deps/db.Tpo -c -o db.o db.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from db.c:22:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
db.c: In function 'db_char2line':
db.c:327:10: warning: variable 'db_filep' set but not used [-Wunused-but-set-variable]
  327 |   FILE** db_filep=NULL;
      |          ^~~~~~~~
db.c:326:10: warning: variable 'db_url' set but not used [-Wunused-but-set-variable]
  326 |   url_t* db_url=NULL;
      |          ^~~~~~
mv -f .deps/db.Tpo .deps/db.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT db_disk.o -MD -MP -MF .deps/db_disk.Tpo -c -o db_disk.o db_disk.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from db_disk.c:23:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
db_disk.c: In function 'next_in_dir':
db_disk.c:83:52: warning: passing argument 2 of 'readdir_r' from incompatible pointer type [-Wincompatible-pointer-types]
   83 |                 rdres = AIDE_READDIR_R_FUNC (dirh, entp, resp);
      |                                                    ^~~~
      |                                                    |
      |                                                    struct dirent64 *
In file included from db_disk.c:33:
/usr/include/dirent.h:206:43: note: expected 'struct dirent * restrict' but argument is of type 'struct dirent64 *'
  206 | extern int readdir_r(DIR *_RESTRICT_KYWD, struct dirent *_RESTRICT_KYWD,
      |                                           ^
db_disk.c:83:58: warning: passing argument 3 of 'readdir_r' from incompatible pointer type [-Wincompatible-pointer-types]
   83 |                 rdres = AIDE_READDIR_R_FUNC (dirh, entp, resp);
      |                                                          ^~~~
      |                                                          |
      |                                                          struct dirent64 **
/usr/include/dirent.h:207:9: note: expected 'struct dirent ** restrict' but argument is of type 'struct dirent64 **'
  207 |         struct dirent **_RESTRICT_KYWD);
      |         ^
db_disk.c: In function 'db_readline_disk':
db_disk.c:176:32: warning: unused parameter 'db' [-Wunused-parameter]
  176 | db_line *db_readline_disk (int db)
      |                            ~~~~^~
db_disk.c: In function 'db_disk_read_spec':
db_disk.c:456:28: warning: unused parameter 'db' [-Wunused-parameter]
  456 | int db_disk_read_spec (int db)
      |                        ~~~~^~
db_disk.c: In function 'db_writespec_disk':
db_disk.c:465:36: warning: unused parameter 'dbconf' [-Wunused-parameter]
  465 | int db_writespec_disk (db_config * dbconf)
      |                        ~~~~~~~~~~~~^~~~~~
db_disk.c: In function 'db_writeline_disk':
db_disk.c:470:34: warning: unused parameter 'line' [-Wunused-parameter]
  470 | int db_writeline_disk (db_line * line, db_config * dbconf)
      |                        ~~~~~~~~~~^~~~
db_disk.c:470:52: warning: unused parameter 'dbconf' [-Wunused-parameter]
  470 | int db_writeline_disk (db_line * line, db_config * dbconf)
      |                                        ~~~~~~~~~~~~^~~~~~
db_disk.c: In function 'db_close_disk':
db_disk.c:475:32: warning: unused parameter 'dbconf' [-Wunused-parameter]
  475 | int db_close_disk (db_config * dbconf)
      |                    ~~~~~~~~~~~~^~~~~~
In file included from db_disk.c:44:
../include/db_sql.h: At top level:
../include/db_sql.h:26:20: warning: 'db_sql_types' defined but not used [-Wunused-variable]
   26 | static const char* db_sql_types[] = {
      |                    ^~~~~~~~~~~~
mv -f .deps/db_disk.Tpo .deps/db_disk.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT db_file.o -MD -MP -MF .deps/db_file.Tpo -c -o db_file.o db_file.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from db_file.c:22:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
db_file.c: In function 'db_file_read_spec':
db_file.c:175:11: warning: variable 'db_gzp' set but not used [-Wunused-but-set-variable]
  175 |   gzFile* db_gzp=NULL;
      |           ^~~~~~
db_file.c:173:10: warning: variable 'db_url' set but not used [-Wunused-but-set-variable]
  173 |   url_t* db_url=NULL;
      |          ^~~~~~
db_file.c:172:10: warning: variable 'db_filep' set but not used [-Wunused-but-set-variable]
  172 |   FILE** db_filep=NULL;
      |          ^~~~~~~~
db_file.c: In function 'db_readline_file':
db_file.c:312:11: warning: variable 'db_gzp' set but not used [-Wunused-but-set-variable]
  312 |   gzFile* db_gzp=NULL;
      |           ^~~~~~
db_file.c: In function 'db_writeacl':
db_file.c:839:27: warning: unused parameter 'acl' [-Wunused-parameter]
  839 | int db_writeacl(acl_type* acl,FILE* file,int a)
      |                 ~~~~~~~~~~^~~
db_file.c:839:37: warning: unused parameter 'file' [-Wunused-parameter]
  839 | int db_writeacl(acl_type* acl,FILE* file,int a)
      |                               ~~~~~~^~~~
In file included from db_file.c:37:
../include/db_sql.h: At top level:
../include/db_sql.h:26:20: warning: 'db_sql_types' defined but not used [-Wunused-variable]
   26 | static const char* db_sql_types[] = {
      |                    ^~~~~~~~~~~~
mv -f .deps/db_file.Tpo .deps/db_file.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT db_lex.o -MD -MP -MF .deps/db_lex.Tpo -c -o db_lex.o db_lex.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from db_lex.l:50:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
db_lex.c:1298:16: warning: 'input' defined but not used [-Wunused-function]
 1298 |     static int input  (void)
      |                ^~~~~
mv -f .deps/db_lex.Tpo .deps/db_lex.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT db_list.o -MD -MP -MF .deps/db_list.Tpo -c -o db_list.o db_list.c
mv -f .deps/db_list.Tpo .deps/db_list.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT db_sql.o -MD -MP -MF .deps/db_sql.Tpo -c -o db_sql.o db_sql.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from db_sql.c:22:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
mv -f .deps/db_sql.Tpo .deps/db_sql.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT do_md.o -MD -MP -MF .deps/do_md.Tpo -c -o do_md.o do_md.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from do_md.c:23:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
do_md.c: In function 'calc_md':
do_md.c:211:7: warning: variable 'sres' set but not used [-Wunused-but-set-variable]
  211 |   int sres=0;
      |       ^~~~
do_md.c: In function 'acl2line':
do_md.c:456:13: warning: unused variable 'ret' [-Wunused-variable]
  456 |   acl_type *ret = NULL;
      |             ^~~
do_md.c:455:24: warning: unused parameter 'line' [-Wunused-parameter]
  455 | void acl2line(db_line* line) {
      |               ~~~~~~~~~^~~~
mv -f .deps/do_md.Tpo .deps/do_md.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from error.c:22:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
mv -f .deps/error.Tpo .deps/error.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT gen_list.o -MD -MP -MF .deps/gen_list.Tpo -c -o gen_list.o gen_list.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from gen_list.c:22:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
gen_list.c: In function 'xattrs2line':
gen_list.c:408:34: warning: unused parameter 'line' [-Wunused-parameter]
  408 | static void xattrs2line(db_line *line)
      |                         ~~~~~~~~~^~~~
gen_list.c: In function 'selinux2line':
gen_list.c:475:35: warning: unused parameter 'line' [-Wunused-parameter]
  475 | static void selinux2line(db_line *line)
      |                          ~~~~~~~~~^~~~
gen_list.c: In function 'traverse_tree':
gen_list.c:839:38: warning: passing argument 2 of 'readdir_r' from incompatible pointer type [-Wincompatible-pointer-types]
  839 |   for(rdres=AIDE_READDIR_R_FUNC(dirh,entp,resp);
      |                                      ^~~~
      |                                      |
      |                                      struct dirent64 *
In file included from gen_list.c:27:
/usr/include/dirent.h:206:43: note: expected 'struct dirent * restrict' but argument is of type 'struct dirent64 *'
  206 | extern int readdir_r(DIR *_RESTRICT_KYWD, struct dirent *_RESTRICT_KYWD,
      |                                           ^
gen_list.c:839:43: warning: passing argument 3 of 'readdir_r' from incompatible pointer type [-Wincompatible-pointer-types]
  839 |   for(rdres=AIDE_READDIR_R_FUNC(dirh,entp,resp);
      |                                           ^~~~
      |                                           |
      |                                           struct dirent64 **
/usr/include/dirent.h:207:9: note: expected 'struct dirent ** restrict' but argument is of type 'struct dirent64 **'
  207 |         struct dirent **_RESTRICT_KYWD);
      |         ^
gen_list.c:841:38: warning: passing argument 2 of 'readdir_r' from incompatible pointer type [-Wincompatible-pointer-types]
  841 |       rdres=AIDE_READDIR_R_FUNC(dirh,entp,resp)){
      |                                      ^~~~
      |                                      |
      |                                      struct dirent64 *
/usr/include/dirent.h:206:43: note: expected 'struct dirent * restrict' but argument is of type 'struct dirent64 *'
  206 | extern int readdir_r(DIR *_RESTRICT_KYWD, struct dirent *_RESTRICT_KYWD,
      |                                           ^
gen_list.c:841:43: warning: passing argument 3 of 'readdir_r' from incompatible pointer type [-Wincompatible-pointer-types]
  841 |       rdres=AIDE_READDIR_R_FUNC(dirh,entp,resp)){
      |                                           ^~~~
      |                                           |
      |                                           struct dirent64 **
/usr/include/dirent.h:207:9: note: expected 'struct dirent ** restrict' but argument is of type 'struct dirent64 **'
  207 |         struct dirent **_RESTRICT_KYWD);
      |         ^
gen_list.c:864:7: warning: 'strncpy' output truncated before terminating nul copying 1 byte from a string of the same length [-Wstringop-truncation]
  864 |       strncpy(fullname+strlen(tree->path),"/",1);
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen_list.c: At top level:
gen_list.c:391:13: warning: 'xattr_add' defined but not used [-Wunused-function]
  391 | static void xattr_add(xattrs_type *xattrs,
      |             ^~~~~~~~~
gen_list.c:368:21: warning: 'xattr_new' defined but not used [-Wunused-function]
  368 | static xattrs_type *xattr_new(void)
      |                     ^~~~~~~~~
gen_list.c: In function 'traverse_tree':
gen_list.c:823:18: warning: '%s' directive argument is null [-Wformat-overflow=]
  823 |       error(240,"%s match=%d\n",fullname, addfile);
      |                  ^~
gen_list.c:869:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
  869 |     strncpy(fullname+strlen(tree->path)+e,entp->d_name,strlen(entp->d_name));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gen_list.c:869:5: note: length computed here
  869 |     strncpy(fullname+strlen(tree->path)+e,entp->d_name,strlen(entp->d_name));
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/gen_list.Tpo .deps/gen_list.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from getopt1.c:21:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
mv -f .deps/getopt1.Tpo .deps/getopt1.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from getopt.c:30:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
getopt.c: In function '_getopt_initialize':
getopt.c:389:10: warning: unused parameter 'argc' [-Wunused-parameter]
  389 |      int argc;
      |          ^~~~
getopt.c:390:19: warning: unused parameter 'argv' [-Wunused-parameter]
  390 |      char *const *argv;
      |                   ^~~~
mv -f .deps/getopt.Tpo .deps/getopt.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT gnu_regex.o -MD -MP -MF .deps/gnu_regex.Tpo -c -o gnu_regex.o gnu_regex.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from gnu_regex.c:2:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
mv -f .deps/gnu_regex.Tpo .deps/gnu_regex.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from list.c:22:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
mv -f .deps/list.Tpo .deps/list.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT md.o -MD -MP -MF .deps/md.Tpo -c -o md.o md.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from md.c:22:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
md.c: In function 'hash_gcrypt2attr':
md.c:38:35: warning: unused parameter 'i' [-Wunused-parameter]
   38 | DB_ATTR_TYPE hash_gcrypt2attr(int i) {
      |                               ~~~~^
mv -f .deps/md.Tpo .deps/md.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT snprintf.o -MD -MP -MF .deps/snprintf.Tpo -c -o snprintf.o snprintf.c
mv -f .deps/snprintf.Tpo .deps/snprintf.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT symboltable.o -MD -MP -MF .deps/symboltable.Tpo -c -o symboltable.o symboltable.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from symboltable.c:21:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
mv -f .deps/symboltable.Tpo .deps/symboltable.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../src -I../src  -I/opt/local/include -I/usr/include -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
In file included from /home/pbulk/build/security/aide/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/security/aide/work/.buildlink/include/mhash.h:6,
                 from ../include/db_config.h:94,
                 from ../include/aide.h:26,
                 from util.c:22:
/home/pbulk/build/security/aide/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../include/aide.h:24:
../config.h:358: note: this is the location of the previous definition
  358 | #define VERSION "0.15.1"
      | 
util.c: In function 'dlopen':
util.c:500:19: warning: unused parameter 'filename' [-Wunused-parameter]
  500 | void* dlopen(char*filename,int flag)
      |              ~~~~~^~~~~~~~
util.c:500:32: warning: unused parameter 'flag' [-Wunused-parameter]
  500 | void* dlopen(char*filename,int flag)
      |                            ~~~~^~~~
util.c: In function 'dlsym':
util.c:505:18: warning: unused parameter 'handle' [-Wunused-parameter]
  505 | void* dlsym(void*handle,char*symbol)
      |             ~~~~~^~~~~~
util.c:505:30: warning: unused parameter 'symbol' [-Wunused-parameter]
  505 | void* dlsym(void*handle,char*symbol)
      |                         ~~~~~^~~~~~
util.c: In function 'dlclose':
util.c:510:20: warning: unused parameter 'handle' [-Wunused-parameter]
  510 | void* dlclose(void*handle)
      |               ~~~~~^~~~~~
mv -f .deps/util.Tpo .deps/util.Po
gcc -D_GNU_SOURCE -W -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include  -fPIE -DPIE -Wundef -Wmissing-format-attribute -Wshadow -Wlogical-op  -L/opt/local/gcc13/lib/gcc/x86_64-sun-solaris2.11/13.2.0 -Wl,-R/opt/local/gcc13/lib/gcc/x86_64-sun-solaris2.11/13.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64   -Wl,-z,now -pie -o aide aide.o base64.o be.o commandconf.o compare_db.o conf_lex.o conf_yacc.o db.o db_disk.o db_file.o db_lex.o db_list.o db_sql.o do_md.o error.o gen_list.o getopt1.o getopt.o gnu_regex.o list.o md.o snprintf.o symboltable.o util.o  -lm  -lmhash       -lz 
gcc: error: -pie is not supported in this configuration
gmake[3]: *** [Makefile:321: aide] Error 1
gmake[3]: Leaving directory '/home/pbulk/build/security/aide/work/aide-0.15.1/src'
gmake[2]: *** [Makefile:243: all] Error 2
gmake[2]: Leaving directory '/home/pbulk/build/security/aide/work/aide-0.15.1/src'
gmake[1]: *** [Makefile:315: all-recursive] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/security/aide/work/aide-0.15.1'
gmake: *** [Makefile:251: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/security/aide
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2023Q4-x86_64/security/aide