=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for yafic-1.2.2nb2 --- all --- /usr/bin/make all-am --- yafic.o --- --- common.o --- --- ruleset.o --- --- view.o --- --- statpack.o --- --- crypto.o --- --- sha1.o --- --- yafic-sign.o --- --- yafic.o --- source='yafic.c' object='yafic.o' libtool=no depfile='.deps/yafic.Po' tmpdepfile='.deps/yafic.TPo' depmode=gcc3 /bin/sh ./depcomp clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -O2 -I/usr/include -c `test -f 'yafic.c' || echo './'`yafic.c --- common.o --- source='common.c' object='common.o' libtool=no depfile='.deps/common.Po' tmpdepfile='.deps/common.TPo' depmode=gcc3 /bin/sh ./depcomp clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -O2 -I/usr/include -c `test -f 'common.c' || echo './'`common.c --- view.o --- source='view.c' object='view.o' libtool=no depfile='.deps/view.Po' tmpdepfile='.deps/view.TPo' depmode=gcc3 /bin/sh ./depcomp clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -O2 -I/usr/include -c `test -f 'view.c' || echo './'`view.c --- statpack.o --- source='statpack.c' object='statpack.o' libtool=no depfile='.deps/statpack.Po' tmpdepfile='.deps/statpack.TPo' depmode=gcc3 /bin/sh ./depcomp clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -O2 -I/usr/include -c `test -f 'statpack.c' || echo './'`statpack.c --- ruleset.o --- source='ruleset.c' object='ruleset.o' libtool=no depfile='.deps/ruleset.Po' tmpdepfile='.deps/ruleset.TPo' depmode=gcc3 /bin/sh ./depcomp clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -O2 -I/usr/include -c `test -f 'ruleset.c' || echo './'`ruleset.c --- crypto.o --- source='crypto.c' object='crypto.o' libtool=no depfile='.deps/crypto.Po' tmpdepfile='.deps/crypto.TPo' depmode=gcc3 /bin/sh ./depcomp clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -O2 -I/usr/include -c `test -f 'crypto.c' || echo './'`crypto.c --- yafic-sign.o --- source='yafic-sign.c' object='yafic-sign.o' libtool=no depfile='.deps/yafic-sign.Po' tmpdepfile='.deps/yafic-sign.TPo' depmode=gcc3 /bin/sh ./depcomp clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -O2 -I/usr/include -c `test -f 'yafic-sign.c' || echo './'`yafic-sign.c --- sha1.o --- source='sha1.c' object='sha1.o' libtool=no depfile='.deps/sha1.Po' tmpdepfile='.deps/sha1.TPo' depmode=gcc3 /bin/sh ./depcomp clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -O2 -I/usr/include -c `test -f 'sha1.c' || echo './'`sha1.c --- view.o --- view.c:49:19: warning: unused variable 'rcsid' [-Wunused-const-variable] static const char rcsid[] = ^ --- ruleset.o --- ruleset.c:79:18: warning: initializing 'const uint8_t *' (aka 'const unsigned char *') with an expression of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] const uint8_t *s = str; ^ ~~~ --- yafic-sign.o --- yafic-sign.c:45:19: warning: unused variable 'rcsid' [-Wunused-const-variable] static const char rcsid[] = ^ --- statpack.o --- statpack.c:51:19: warning: unused variable 'rcsid' [-Wunused-const-variable] static const char rcsid[] = ^ --- ruleset.o --- ruleset.c:55:19: warning: unused variable 'rcsid' [-Wunused-const-variable] static const char rcsid[] = ^ --- yafic.o --- yafic.c:163:32: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((len = readlink (path, HashBuffer, HASH_BUFFER_SIZE)) != -1) { ^~~~~~~~~~ /usr/include/unistd.h:167:61: note: passing argument to parameter here ssize_t readlink(const char * __restrict, char * __restrict, size_t); ^ --- yafic-sign.o --- 1 warning generated. --- statpack.o --- 1 warning generated. --- sha1.o --- sha1.c:57:19: warning: unused variable 'rcsid' [-Wunused-const-variable] static const char rcsid[] = ^ --- view.o --- 1 warning generated. --- common.o --- common.c:53:19: warning: unused variable 'rcsid' [-Wunused-const-variable] static const char rcsid[] = ^ --- yafic.o --- yafic.c:82:19: warning: unused variable 'rcsid' [-Wunused-const-variable] static const char rcsid[] = ^ --- common.o --- 1 warning generated. --- crypto.o --- crypto.c:103:14: error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st') EVP_MD_CTX ctx; ^ /usr/include/openssl/ossl_typ.h:92:16: note: forward declaration of 'struct evp_md_ctx_st' typedef struct evp_md_ctx_st EVP_MD_CTX; ^ crypto.c:114:31: error: incomplete definition of type 'struct evp_pkey_st' mdType = EVP_PKEY_type (pkey->type) == EVP_PKEY_DSA ? EVP_dss1 () : ~~~~^ /usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'struct evp_pkey_st' typedef struct evp_pkey_st EVP_PKEY; ^ crypto.c:114:57: warning: implicit declaration of function 'EVP_dss1' is invalid in C99 [-Wimplicit-function-declaration] mdType = EVP_PKEY_type (pkey->type) == EVP_PKEY_DSA ? EVP_dss1 () : ^ crypto.c:173:14: error: variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st') EVP_MD_CTX ctx; ^ /usr/include/openssl/ossl_typ.h:92:16: note: forward declaration of 'struct evp_md_ctx_st' typedef struct evp_md_ctx_st EVP_MD_CTX; ^ crypto.c:184:31: error: incomplete definition of type 'struct evp_pkey_st' mdType = EVP_PKEY_type (pkey->type) == EVP_PKEY_DSA ? EVP_dss1 () : ~~~~^ /usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'struct evp_pkey_st' typedef struct evp_pkey_st EVP_PKEY; ^ crypto.c:184:57: warning: implicit declaration of function 'EVP_dss1' is invalid in C99 [-Wimplicit-function-declaration] mdType = EVP_PKEY_type (pkey->type) == EVP_PKEY_DSA ? EVP_dss1 () : ^ crypto.c:268:35: error: incomplete definition of type 'struct evp_pkey_st' int type = EVP_PKEY_type (pkey->type); ~~~~^ /usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'struct evp_pkey_st' typedef struct evp_pkey_st EVP_PKEY; ^ 2 warnings and 5 errors generated. *** [crypto.o] Error code 1 make[1]: stopped in /data/scratch/security/yafic/work/yafic-1.2.2 --- ruleset.o --- 2 warnings generated. --- yafic.o --- 2 warnings generated. --- sha1.o --- 1 warning generated. 1 error make[1]: stopped in /data/scratch/security/yafic/work/yafic-1.2.2 *** [all] Error code 2 make: stopped in /data/scratch/security/yafic/work/yafic-1.2.2 1 error make: stopped in /data/scratch/security/yafic/work/yafic-1.2.2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/security/yafic *** Error code 1 Stop. make: stopped in /data/pkgsrc/security/yafic