=> Bootstrap dependency digest>=20010302: found digest-20190127 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 lhs-0.1nb9 --- lhs --- gcc -O2 -Wall -DDEFAULT_ROOT_DIR='"/usr/pkg/share/httpd/htdocs"' lhs.c -o lhs -L/usr/lib -Wl,-R/usr/lib -lssl -lcrypto In file included from lhs.c:27:0: lhs.h:126:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif __LHS_H ^~~~~~~ lhs.c: In function 'rsa_callback': lhs.c:465:2: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] return RSA_generate_key(keylen, RSA_F4, NULL, NULL); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/ssl.h:15, from lhs.h:19, from lhs.c:27: /usr/include/openssl/rsa.h:234:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ lhs.c: In function 'init_ssl_socket': lhs.c:515:12: error: dereferencing pointer to incomplete type 'SSL {aka struct ssl_st}' switch(ssl->session->ssl_version) { ^~ lhs.c:525:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] cipher = SSL_get_current_cipher(ssl); ^ lhs.c: In function 'main': lhs.c:791:61: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] if ((sock = accept(fds[j].fd, (struct sockaddr*) &caddr, &caddr_len)) != -1) { ^ In file included from lhs.c:7:0: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ lhs.c: At top level: lhs.c:543:3: warning: 'read' is static but used in inline function 'my_read' which is not static read(fd, buf, size) : ^~~~ *** [lhs] Error code 1 make: stopped in /tmp/www/lhs/work/lhs 1 error make: stopped in /tmp/www/lhs/work/lhs *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/www/lhs *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/www/lhs