=> 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
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src/crypt -I../.. -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c md.c
md.c:114:12: warning: implicit declaration of function 'enum_digests' is invalid in C99 [-Wimplicit-function-declaration]
    while( enum_digests( &context, &algo, &get_info ) ) {
           ^
md.c:428:12: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    digest = (*r->read)( context );
           ^ ~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src/crypt -I../.. -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c md5.c
md5.c:406:5: warning: implicit declaration of function 'register_internal_cipher_extension' is invalid in C99 [-Wimplicit-function-declaration]
    register_internal_cipher_extension( gnupgext_version, gnupgext_enum_func );
    ^
1 warning generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src/crypt -I../.. -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c rmd160.c
rmd160.c:452:20: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    transform( hd, buffer );
                   ^~~~~~
rmd160.c:173:38: note: passing argument to parameter 'data' here
transform( RMD160_CONTEXT *hd, byte *data )
                                     ^
rmd160.c:639:5: warning: implicit declaration of function 'register_internal_cipher_extension' is invalid in C99 [-Wimplicit-function-declaration]
    register_internal_cipher_extension( gnupgext_version, gnupgext_enum_func );
    ^
2 warnings generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src/crypt -I../.. -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c sha1.c
sha1.c:417:5: warning: implicit declaration of function 'register_internal_cipher_extension' is invalid in C99 [-Wimplicit-function-declaration]
    register_internal_cipher_extension( gnupgext_version, gnupgext_enum_func );
    ^
1 warning generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src/crypt -I../.. -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c tiger.c
tiger.c:985:5: warning: implicit declaration of function 'register_internal_cipher_extension' is invalid in C99 [-Wimplicit-function-declaration]
    register_internal_cipher_extension( gnupgext_version,
    ^
1 warning generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src/crypt -I../.. -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c enum.c
enum.c:84:6: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
            error(10,"extension `%s' already registered\n", el->name );
            ^
enum.c:302:3: warning: implicit declaration of function 'md5_constructor' is invalid in C99 [-Wimplicit-function-declaration]
  md5_constructor();
  ^
enum.c:303:3: warning: implicit declaration of function 'sha1_constructor' is invalid in C99 [-Wimplicit-function-declaration]
  sha1_constructor();
  ^
enum.c:304:3: warning: implicit declaration of function 'rmd160_constructor' is invalid in C99 [-Wimplicit-function-declaration]
  rmd160_constructor();
  ^
enum.c:305:3: warning: implicit declaration of function 'tiger_constructor' is invalid in C99 [-Wimplicit-function-declaration]
  tiger_constructor();
  ^
5 warnings generated.
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
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c getopt.c
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c getopt1.c
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c gnu_regex.c
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c error.c
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c db.c
db.c:275:23: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    time_t t = strtol(b,&endp,10);
                      ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:167:26: note: passing argument to parameter '__str' here
long     strtol(const char *__str, char **__endptr, int __base);
                            ^
1 warning generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c gen_list.c
gen_list.c:336:13: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    fil->md5=DB_MD5&attr?"":NULL;
            ^~~~~~~~~~~~~~~~~~~~
gen_list.c:337:14: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    fil->sha1=DB_SHA1&attr?"":NULL;
             ^~~~~~~~~~~~~~~~~~~~~
gen_list.c:338:15: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    fil->tiger=DB_TIGER&attr?"":NULL;
              ^~~~~~~~~~~~~~~~~~~~~~
gen_list.c:339:16: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    fil->rmd160=DB_RMD160&attr?"":NULL;
               ^~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c list.c
list.c:54:5: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
    error(0,"Not enough memory to add a new item to list.\n");
    ^
list.c:62:7: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
      error(0,"Not enough memory for list header allocation\n");
      ^
list.c:132:5: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
    error(200,"Tried to remove from empthy list\n");
    ^
3 warnings generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c do_md.c
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c base64.c
base64.c:102:3: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration]
  memset((void*)outbuf,0,B64_BUF);
  ^
base64.c:102:3: note: include the header <string.h> or explicitly provide a declaration for 'memset'
base64.c:165:3: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)' [-Wimplicit-function-declaration]
  memcpy(retbuf,outbuf,pos);
  ^
base64.c:165:3: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
2 warnings generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c symboltable.c
symboltable.c:36:9: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
    if (strcmp(s,((symba*)p->data)->name)==0) return p;
        ^
symboltable.c:36:9: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
1 warning generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c compare_db.c
compare_db.c:68:16: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if(strncmp(e1,e2,len)!=0){
               ^~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
compare_db.c:68:19: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if(strncmp(e1,e2,len)!=0){
                  ^~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:44: note: passing argument to parameter '__s2' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                                               ^
compare_db.c:228:16: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if(strncmp(old,new,len)!=0){
               ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:26: note: passing argument to parameter '__s1' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                             ^
compare_db.c:228:20: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    if(strncmp(old,new,len)!=0){
                   ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:84:44: note: passing argument to parameter '__s2' here
int      strncmp(const char *__s1, const char *__s2, size_t __n);
                                               ^
compare_db.c:548:14: warning: implicit declaration of function 'get_groupval' is invalid in C99 [-Wimplicit-function-declaration]
  ignorelist=get_groupval("ignore_list");
             ^
compare_db.c:562:5: warning: implicit declaration of function 'check_list_for_match' is invalid in C99 [-Wimplicit-function-declaration]
         (!check_list_for_match(conf->selrxlst,old->filename,&tempignore) ||
           ^
6 warnings generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c be.c
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c util.c
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c aide.c
aide.c:333:3: warning: implicit declaration of function 'init_sighandler' is invalid in C99 [-Wimplicit-function-declaration]
  init_sighandler();
  ^
1 warning generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c conf_yacc.c
conf_yacc.c:1164:16: warning: implicit declaration of function 'conflex' is invalid in C99 [-Wimplicit-function-declaration]
      yychar = yylex ();
               ^
conf_yacc.c:69:25: note: expanded from macro 'yylex'
#define yylex           conflex
                        ^
1 warning generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c commandconf.c
commandconf.c:115:33: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
    l+=strlen("@@include \n\n\n"+1);
              ~~~~~~~~~~~~~~~~~~^~
commandconf.c:115:33: note: use array indexing to silence this warning
    l+=strlen("@@include \n\n\n"+1);
                                ^
              &                 [ ]
commandconf.c:134:5: warning: implicit declaration of function 'conf_scan_string' is invalid in C99 [-Wimplicit-function-declaration]
    conf_scan_string(all);
    ^
2 warnings generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c conf_lex.c
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c db_file.c
db_file.c:84:8: warning: implicit declaration of function 'check_db_order' is invalid in C99 [-Wimplicit-function-declaration]
          if (check_db_order(conf->db_in_order, conf->db_in_size,
              ^
db_file.c:317:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    retval=fprintf(file,tmpstr);
                        ^~~~~~
db_file.c:317:25: note: treat the string as an argument to avoid this
    retval=fprintf(file,tmpstr);
                        ^
                        "%s", 
db_file.c:353:24: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  tmpstr=encode_base64(ptr,strlen(ptr));
                       ^~~
/Users/pbulk/build/security/aide06/work/aide-0.6/include/base64.h:43:27: note: passing argument to parameter 'src' here
char* encode_base64(byte* src,size_t ssize);
                          ^
db_file.c:354:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  retval=fprintf(file,tmpstr);
                      ^~~~~~
db_file.c:354:23: note: treat the string as an argument to avoid this
  retval=fprintf(file,tmpstr);
                      ^
                      "%s", 
4 warnings generated.
clang -DHAVE_CONFIG_H -I. -I/Users/pbulk/build/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/Users/pbulk/build/security/aide06/work/aide-0.6/include  -I/Users/pbulk/build/security/aide06/work/aide-0.6 -I/Users/pbulk/build/security/aide06/work/aide-0.6/src  -pipe -Os -c db_lex.c
db_lex.l:52:2: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration]
 error(230," %s \n",yytext);
 ^
1 warning generated.
clang  -pipe -Os -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: library not found for -lcrt0.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** [aide] Error code 1

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

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

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

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

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

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

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

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

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

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/security/aide06