=> Bootstrap dependency digest>=20010302: found digest-20160304 WARNING: [license.mk] Every package should define a LICENSE. ===> 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 pen-0.17.2nb5 --- mergelogs.o --- --- penlog.o --- --- penlogd.o --- --- ./stamp-h.in --- --- mergelogs.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -O2 -I/usr/include -I/usr/include -c mergelogs.c --- ./stamp-h.in --- cd . && autoheader --- penlogd.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -O2 -I/usr/include -I/usr/include -c penlogd.c --- penlog.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -O2 -I/usr/include -I/usr/include -c penlog.c --- ./stamp-h.in --- WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. --- stamp-h --- cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /bin/sh ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands --- config.h --- --- pen.o --- --- penctl.o --- --- pen.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -O2 -I/usr/include -I/usr/include -c pen.c --- penctl.o --- clang -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -Wall -O2 -I/usr/include -I/usr/include -c penctl.c --- penlogd.o --- penlogd.c:334:46: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(ld, (struct sockaddr *) &a, &len) < 0) { ^~~~ /usr/include/sys/socket.h:656:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ penlogd.c:362:60: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] n = recvfrom(ld, b, sizeof b, 0, (struct sockaddr *) &a, &len); ^~~~ /usr/include/sys/socket.h:664:58: note: passing argument to parameter here struct sockaddr * __restrict, socklen_t * __restrict); ^ --- penlog --- clang -Wall -O2 -I/usr/include -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o penlog penlog.o -lssl -lcrypto -lresolv --- penlogd.o --- 2 warnings generated. --- penlogd --- clang -Wall -O2 -I/usr/include -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o penlogd penlogd.o -lssl -lcrypto -lresolv --- penctl --- --- mergelogs --- --- penctl --- clang -Wall -O2 -I/usr/include -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o penctl penctl.o -lssl -lcrypto -lresolv --- mergelogs --- clang -Wall -O2 -I/usr/include -I/usr/include -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o mergelogs mergelogs.o -lssl -lcrypto -lresolv --- pen.o --- pen.c:255:26: warning: array subscript is of type 'char' [-Wchar-subscripts] while ((i < n) && !(c = toupper(*p)-toupper(*q)) && *p) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ pen.c:255:38: warning: array subscript is of type 'char' [-Wchar-subscripts] while ((i < n) && !(c = toupper(*p)-toupper(*q)) && *p) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ pen.c:280:44: error: incomplete definition of type 'struct x509_store_ctx_st' X509_NAME_oneline(X509_get_issuer_name(ctx->current_cert), ~~~^ /usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'struct x509_store_ctx_st' typedef struct x509_store_ctx_st X509_STORE_CTX; ^ pen.c:285:14: error: incomplete definition of type 'struct x509_store_ctx_st' switch (ctx->error) { ~~~^ /usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'struct x509_store_ctx_st' typedef struct x509_store_ctx_st X509_STORE_CTX; ^ pen.c:318:9: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] rsa = RSA_generate_key(512, RSA_F4, NULL, NULL); ^ /usr/include/openssl/rsa.h:193:1: note: 'RSA_generate_key' has been explicitly marked deprecated here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ /usr/include/openssl/opensslconf.h:139:34: note: expanded from macro 'DEPRECATEDIN_0_9_8' # define DEPRECATEDIN_0_9_8(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ pen.c:330:29: warning: implicit declaration of function 'SSLv3_method' is invalid in C99 [-Wimplicit-function-declaration] ssl_context = SSL_CTX_new(SSLv3_method()); ^ pen.c:330:29: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') [-Wint-conversion] ssl_context = SSL_CTX_new(SSLv3_method()); ^~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:1336:47: note: passing argument to parameter 'meth' here __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ pen.c:337:29: warning: 'TLSv1_method' is deprecated [-Wdeprecated-declarations] ssl_context = SSL_CTX_new(TLSv1_method()); ^ /usr/include/openssl/ssl.h:1627:1: note: 'TLSv1_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_method(void)) /* TLSv1.0 */ ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ pen.c:925:28: warning: passing 'char [32768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (debuglevel > 2) dump(b, rc); ^ pen.c:727:33: note: passing argument to parameter 'p' here static void dump(unsigned char *p, int n) ^ pen.c:928:18: warning: passing 'char [32768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] log(logfp, i, b, rc); ^ pen.c:828:49: note: passing argument to parameter 'b' here static void log(FILE *fp, int i, unsigned char *b, int n) ^ pen.c:929:39: warning: passing 'char [32768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (debuglevel > 2) log(stderr, i, b, rc); ^ pen.c:828:49: note: passing argument to parameter 'b' here static void log(FILE *fp, int i, unsigned char *b, int n) ^ pen.c:932:23: warning: passing 'char [32768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] netlog(logsock, i, b, rc); ^ pen.c:797:50: note: passing argument to parameter 'r' here static void netlog(int fd, int i, unsigned char *r, int n) ^ pen.c:972:27: warning: passing 'char [32768]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (debuglevel > 2) dump(b, rc); ^ pen.c:727:33: note: passing argument to parameter 'p' here static void dump(unsigned char *p, int n) ^ pen.c:2063:36: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *) &cli_addr, &clilen); ^~~~~~~ /usr/include/sys/socket.h:651:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ pen.c:2079:36: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (struct sockaddr *) &cli_addr, &clilen); ^~~~~~~ /usr/include/sys/socket.h:651:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 13 warnings and 2 errors generated. *** [pen.o] Error code 1 make: stopped in /data/scratch/net/pen/work/pen-0.17.2 1 error make: stopped in /data/scratch/net/pen/work/pen-0.17.2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/net/pen *** Error code 1 Stop. make: stopped in /data/pkgsrc/net/pen