=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/security/starttls", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for starttls-0.10nb11 gcc -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"starttls\" -DVERSION=\"0.10\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBGEN_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_POLL_H=1 -DHAVE_ADDRINFO=1 -DHAVE_LIBSOCKET=1 -DHAVE_BASENAME=1 -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -c starttls.c WARNING: Warnings can be ignored. :-) if test no != no; then \ EMACS=no /usr/bin/bash ./elisp-comp starttls.el; \ fi In file included from starttls.c:56: getopt.h:100:12: error: conflicting types for 'getopt'; have 'int(void)' 100 | extern int getopt (); | ^~~~~~ In file included from starttls.c:30: /usr/include/stdlib.h:302:12: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 302 | extern int getopt(int, char *const *, const char *); | ^~~~~~ starttls.c: In function 'tls_ssl_ctx_new': starttls.c:68:1: warning: old-style function definition [-Wold-style-definition] 68 | tls_ssl_ctx_new (cert_file, key_file) | ^~~~~~~~~~~~~~~ starttls.c:74:3: warning: 'TLSv1_client_method' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 74 | tls_ctx = SSL_CTX_new (TLSv1_client_method()); | ^~~~~~~ In file included from starttls.c:40: /home/pbulk/work/security/starttls/work/.buildlink/include/openssl/ssl.h:2072:50: note: declared here 2072 | OSSL_DEPRECATEDIN_1_1_0 __owur const SSL_METHOD *TLSv1_client_method(void); | ^~~~~~~~~~~~~~~~~~~ starttls.c: In function 'tls_ssl_new': starttls.c:100:1: warning: old-style function definition [-Wold-style-definition] 100 | tls_ssl_new(ctx, s) | ^~~~~~~~~~~ starttls.c: In function 'tls_connect': starttls.c:132:1: warning: old-style function definition [-Wold-style-definition] 132 | tls_connect (hostname, service) | ^~~~~~~~~~~ starttls.c:135:15: error: expected identifier or '(' before 'false' 135 | int server, false = 0; | ^~~~~ starttls.c:189:64: error: lvalue required as unary '&' operand 189 | setsockopt (server, SOL_SOCKET, SO_KEEPALIVE, (const char *) &false, | ^ starttls.c: In function 'tls_negotiate': starttls.c:196:1: warning: old-style function definition [-Wold-style-definition] 196 | tls_negotiate (sig) | ^~~~~~~~~~~~~ starttls.c: In function 'usage': starttls.c:206:1: warning: old-style function definition [-Wold-style-definition] 206 | usage (progname) | ^~~~~ starttls.c: In function 'main': starttls.c:223:1: warning: old-style function definition [-Wold-style-definition] 223 | main (argc, argv) | ^~~~ gmake: *** [Makefile:300: starttls.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/starttls *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/security/starttls