=> Bootstrap dependency digest>=20010302: found digest-20190127 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for aide-0.6nb1 --- all-recursive-am --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- all-recursive --- Making all in crypt --- md.o --- --- md5.o --- --- rmd160.o --- --- sha1.o --- --- tiger.o --- --- enum.o --- --- md.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src/crypt -I../.. -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c md.c --- md5.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src/crypt -I../.. -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c md5.c --- rmd160.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src/crypt -I../.. -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c rmd160.c --- sha1.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src/crypt -I../.. -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c sha1.c --- tiger.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src/crypt -I../.. -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c tiger.c --- enum.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src/crypt -I../.. -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c enum.c --- sha1.o --- 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 ); ^ --- rmd160.o --- rmd160.c:452:20: warning: passing 'char *' to parameter of type 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] transform( hd, buffer ); ^~~~~~ rmd160.c:173:38: note: passing argument to parameter 'data' here transform( RMD160_CONTEXT *hd, byte *data ) ^ --- md5.o --- 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 ); ^ --- tiger.o --- 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, ^ --- md.o --- 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 ) ) { ^ --- rmd160.o --- 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 ); ^ --- enum.o --- 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(); ^ --- md.o --- md.c:428:12: warning: assigning to 'char *' from 'byte *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] digest = (*r->read)( context ); ^ ~~~~~~~~~~~~~~~~~~~~~ --- enum.o --- 5 warnings generated. --- tiger.o --- 1 warning generated. --- md.o --- 2 warnings generated. --- md5.o --- 1 warning generated. --- sha1.o --- 1 warning generated. --- rmd160.o --- 2 warnings generated. --- libcipher.a --- rm -f libcipher.a ar cru libcipher.a md.o md5.o rmd160.o sha1.o tiger.o enum.o ranlib libcipher.a --- conf_yacc.c --- --- conf_lex.c --- --- getopt.o --- --- getopt1.o --- --- gnu_regex.o --- --- error.o --- --- db.o --- --- gen_list.o --- --- conf_yacc.c --- /opt/pkg/bin/bison -y -d -p conf -o conf_yacc.c conf_yacc.y --- conf_lex.c --- flex -Pconf -oconf_lex.c conf_lex.l --- getopt.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c getopt.c --- getopt1.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c getopt1.c --- gnu_regex.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c gnu_regex.c --- error.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c error.c --- db.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c db.c --- gen_list.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c gen_list.c --- list.o --- --- db.o --- db.c:275:23: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] time_t t = strtol(b,&endp,10); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:167:26: note: passing argument to parameter '__str' here long strtol(const char *__str, char **__endptr, int __base); ^ --- list.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c list.c --- do_md.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c do_md.c --- base64.o --- --- symboltable.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c symboltable.c --- gen_list.o --- gen_list.c:336:13: warning: assigning to 'byte *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-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 with different sign [-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 with different sign [-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 with different sign [-Wpointer-sign] fil->rmd160=DB_RMD160&attr?"":NULL; ^~~~~~~~~~~~~~~~~~~~~~~ --- base64.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c base64.c --- symboltable.o --- 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 or explicitly provide a declaration for 'strcmp' --- list.o --- 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"); ^ --- db.o --- 1 warning generated. --- compare_db.o --- --- symboltable.o --- 1 warning generated. --- compare_db.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c compare_db.c --- list.o --- 3 warnings generated. --- be.o --- --- util.o --- --- be.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c be.c --- util.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c util.c --- base64.o --- 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 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 or explicitly provide a declaration for 'memcpy' --- gen_list.o --- 4 warnings generated. --- aide.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c aide.c --- base64.o --- 2 warnings generated. --- compare_db.o --- compare_db.c:68:16: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if(strncmp(e1,e2,len)!=0){ ^~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if(strncmp(e1,e2,len)!=0){ ^~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if(strncmp(old,new,len)!=0){ ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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 with different sign [-Wpointer-sign] if(strncmp(old,new,len)!=0){ ^~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.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) || ^ --- aide.o --- aide.c:333:3: warning: implicit declaration of function 'init_sighandler' is invalid in C99 [-Wimplicit-function-declaration] init_sighandler(); ^ 1 warning generated. --- compare_db.o --- 6 warnings generated. --- conf_yacc.o --- --- commandconf.o --- --- conf_lex.o --- --- db_file.o --- --- db_lex.o --- --- conf_yacc.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c conf_yacc.c --- commandconf.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c commandconf.c --- db_file.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c db_file.c --- db_lex.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c db_lex.c --- conf_lex.o --- clang -DHAVE_CONFIG_H -I. -I/opt/work/security/aide06/work/aide-0.6/src -I.. -I/opt/pkg/include -I/opt/work/security/aide06/work/aide-0.6/include -I/opt/work/security/aide06/work/aide-0.6 -I/opt/work/security/aide06/work/aide-0.6/src -O2 -c conf_lex.c --- db_lex.o --- db_lex.l:52:2: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration] error(230," %s \n",yytext); ^ --- commandconf.o --- 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); ^ --- db_file.o --- 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 with different sign [-Wpointer-sign] tmpstr=encode_base64(ptr,strlen(ptr)); ^~~ /opt/work/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", --- conf_yacc.o --- 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. --- db_file.o --- 4 warnings generated. --- commandconf.o --- 2 warnings generated. --- db_lex.o --- 1 warning generated. --- aide --- clang -O2 -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 /opt/work/security/aide06/work/aide-0.6/src 1 error bmake[3]: stopped in /opt/work/security/aide06/work/aide-0.6/src *** [all-recursive] Error code 1 bmake[2]: stopped in /opt/work/security/aide06/work/aide-0.6/src 1 error bmake[2]: stopped in /opt/work/security/aide06/work/aide-0.6/src *** [all-recursive] Error code 1 bmake[1]: stopped in /opt/work/security/aide06/work/aide-0.6 1 error bmake[1]: stopped in /opt/work/security/aide06/work/aide-0.6 *** [all-recursive-am] Error code 2 bmake: stopped in /opt/work/security/aide06/work/aide-0.6 1 error bmake: stopped in /opt/work/security/aide06/work/aide-0.6 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/security/aide06 *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/security/aide06