>>> gvpe: Building main/gvpe 3.1-r5 (using abuild 3.11.0_rc12-r0) started Thu, 20 Apr 2023 05:21:24 +0000 >>> gvpe: Checking sanity of /home/buildozer/aports/main/gvpe/APKBUILD... >>> gvpe: Analyzing dependencies... >>> gvpe: Installing for build: build-base openssl-dev>3 libev-dev zlib-dev gmp-dev linux-headers (1/8) Installing openssl-dev (3.1.0-r3) (2/8) Installing libev (4.33-r1) (3/8) Installing libev-dev (4.33-r1) (4/8) Installing zlib-dev (1.2.13-r1) (5/8) Installing libgmpxx (6.2.1-r3) (6/8) Installing gmp-dev (6.2.1-r3) (7/8) Installing linux-headers (6.2-r0) (8/8) Installing .makedepends-gvpe (20230420.052124) OK: 382 MiB in 105 packages >>> gvpe: Cleaning up srcdir >>> gvpe: Cleaning up pkgdir >>> gvpe: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/gvpe-3.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> gvpe: Fetching https://ftp.gnu.org/gnu/gvpe/gvpe-3.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 530k 100 530k 0 0 4290k 0 --:--:-- --:--:-- --:--:-- 4312k >>> gvpe: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/gvpe-3.1.tar.gz >>> gvpe: Checking sha512sums... gvpe-3.1.tar.gz: OK compile-fix.patch: OK musl-getopt_long.patch: OK gvpe.conf.example: OK gvpe.confd: OK gvpe.initd: OK if-up: OK >>> gvpe: Unpacking /var/cache/distfiles/v3.18/gvpe-3.1.tar.gz... >>> gvpe: compile-fix.patch patching file src/conf.h >>> gvpe: musl-getopt_long.patch patching file lib/getopt1.c checking build system type... s390x-ibm-linux-gnu checking host system type... s390x-ibm-linux-gnu checking target system type... s390x-ibm-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for ld used by GCC... /usr/s390x-alpine-linux-musl/bin/ld checking if the linker (/usr/s390x-alpine-linux-musl/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking whether NLS is requested... yes checking for GNU gettext in libc... no checking for iconv... yes checking for GNU gettext in libintl... no checking how to run the C preprocessor... gcc -E checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking for gawk... (cached) awk checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for ranlib... ranlib checking for kernel networking interface type... native/linux checking how to run the C++ preprocessor... g++ -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking tr1/unordered_map usability... yes checking tr1/unordered_map presence... yes checking for tr1/unordered_map... yes checking ext/hash_map usability... yes checking ext/hash_map presence... yes checking for ext/hash_map... yes checking clocale usability... yes checking clocale presence... yes checking for clocale... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking sys/cygwin.h usability... no checking sys/cygwin.h presence... no checking for sys/cygwin.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for net/ethernet.h... yes checking for net/if.h... yes checking for netinet/ip.h... yes checking for netinet/tcp.h... yes checking for netinet/in_systm.h... (cached) yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for socklen_t... yes checking for struct addrinfo... yes checking return type of signal handlers... void checking for ANSI C header files... (cached) yes checking for asprintf... yes checking for daemon... yes checking for get_current_dir_name... yes checking for putenv... yes checking for select... yes checking for strerror... yes checking for strsignal... yes checking for strtol... yes checking for unsetenv... yes checking for mlockall... yes checking for working alloca.h... yes checking for alloca... yes checking for socket... yes checking for gethostbyname... yes checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking port.h usability... no checking port.h presence... no checking for port.h... no checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/eventfd.h usability... yes checking sys/eventfd.h presence... yes checking for sys/eventfd.h... yes checking sys/signalfd.h usability... yes checking sys/signalfd.h presence... yes checking for sys/signalfd.h... yes checking for inotify_init... yes checking for epoll_ctl... yes checking for kqueue... no checking for port_create... no checking for poll... yes checking for select... (cached) yes checking for eventfd... yes checking for signalfd... yes checking for clock_gettime... yes checking for nanosleep... yes checking for library containing floor... none required checking for linux/if_tun.h... default checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBCRYPTO... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking gmp.h usability... yes checking gmp.h presence... yes checking for gmp.h... yes checking for main in -lgmp... yes configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating lib/Makefile config.status: creating m4/Makefile config.status: creating config.h config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands *** *** Configuration Summary *** *** Kernel Iface: native/linux *** RSA size: 3072 *** Cipher used: aes_128_ctr *** Digest used: *** Authdigest: sha512 *** HMAC length: sha1 *** Max. MTU: 1500 *** *** Enable options: *** #define ENABLE_AUTH EVP_sha512 *** #define ENABLE_CIPHER EVP_aes_128_ctr *** #define ENABLE_COMPRESSION 1 *** #define ENABLE_DNS 1 *** #define ENABLE_HMAC EVP_sha1 *** #define ENABLE_HTTP_PROXY 1 *** #define ENABLE_ICMP 1 *** /* #undef ENABLE_NLS */ *** #define ENABLE_PTHREADS 1 *** #define ENABLE_TCP 1 *** make all-recursive make[1]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1' Making all in m4 make[2]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/m4' Making all in lib make[2]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/lib' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -Os -Wformat -Werror=format-security -Os -Wformat -Werror=format-security -Werror=int-conversion -MT pidfile.o -MD -MP -MF ".deps/pidfile.Tpo" \ -c -o pidfile.o `test -f 'pidfile.c' || echo './'`pidfile.c; \ then mv -f ".deps/pidfile.Tpo" ".deps/pidfile.Po"; \ else rm -f ".deps/pidfile.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -Os -Wformat -Werror=format-security -Os -Wformat -Werror=format-security -Werror=int-conversion -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" \ -c -o getopt1.o `test -f 'getopt1.c' || echo './'`getopt1.c; \ then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; \ else rm -f ".deps/getopt1.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -Os -Wformat -Werror=format-security -Os -Wformat -Werror=format-security -Werror=int-conversion -MT dropin.o -MD -MP -MF ".deps/dropin.Tpo" \ -c -o dropin.o `test -f 'dropin.c' || echo './'`dropin.c; \ then mv -f ".deps/dropin.Tpo" ".deps/dropin.Po"; \ else rm -f ".deps/dropin.Tpo"; exit 1; \ fi rm -f libgvpe.a ar cru libgvpe.a pidfile.o getopt1.o dropin.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libgvpe.a make[2]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/lib' Making all in src make[2]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT gvpectrl.o -MD -MP -MF ".deps/gvpectrl.Tpo" \ -c -o gvpectrl.o `test -f 'gvpectrl.C' || echo './'`gvpectrl.C; \ then mv -f ".deps/gvpectrl.Tpo" ".deps/gvpectrl.Po"; \ else rm -f ".deps/gvpectrl.Tpo"; exit 1; \ fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT conf.o -MD -MP -MF ".deps/conf.Tpo" \ -c -o conf.o `test -f 'conf.C' || echo './'`conf.C; \ then mv -f ".deps/conf.Tpo" ".deps/conf.Po"; \ else rm -f ".deps/conf.Tpo"; exit 1; \ fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT util.o -MD -MP -MF ".deps/util.Tpo" \ -c -o util.o `test -f 'util.C' || echo './'`util.C; \ then mv -f ".deps/util.Tpo" ".deps/util.Po"; \ else rm -f ".deps/util.Tpo"; exit 1; \ fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT slog.o -MD -MP -MF ".deps/slog.Tpo" \ -c -o slog.o `test -f 'slog.C' || echo './'`slog.C; \ then mv -f ".deps/slog.Tpo" ".deps/slog.Po"; \ else rm -f ".deps/slog.Tpo"; exit 1; \ fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT ev_cpp.o -MD -MP -MF ".deps/ev_cpp.Tpo" \ -c -o ev_cpp.o `test -f 'ev_cpp.C' || echo './'`ev_cpp.C; \ then mv -f ".deps/ev_cpp.Tpo" ".deps/ev_cpp.Po"; \ else rm -f ".deps/ev_cpp.Tpo"; exit 1; \ fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT crypto.o -MD -MP -MF ".deps/crypto.Tpo" \ -c -o crypto.o `test -f 'crypto.C' || echo './'`crypto.C; \ then mv -f ".deps/crypto.Tpo" ".deps/crypto.Po"; \ else rm -f ".deps/crypto.Tpo"; exit 1; \ fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT gvpe.o -MD -MP -MF ".deps/gvpe.Tpo" \ -c -o gvpe.o `test -f 'gvpe.C' || echo './'`gvpe.C; \ then mv -f ".deps/gvpe.Tpo" ".deps/gvpe.Po"; \ else rm -f ".deps/gvpe.Tpo"; exit 1; \ fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT vpn.o -MD -MP -MF ".deps/vpn.Tpo" \ -c -o vpn.o `test -f 'vpn.C' || echo './'`vpn.C; \ then mv -f ".deps/vpn.Tpo" ".deps/vpn.Po"; \ else rm -f ".deps/vpn.Tpo"; exit 1; \ fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT vpn_tcp.o -MD -MP -MF ".deps/vpn_tcp.Tpo" \ -c -o vpn_tcp.o `test -f 'vpn_tcp.C' || echo './'`vpn_tcp.C; \ then mv -f ".deps/vpn_tcp.Tpo" ".deps/vpn_tcp.Po"; \ else rm -f ".deps/vpn_tcp.Tpo"; exit 1; \ fi In file included from crypto.h:35, from crypto.C:34: crypto.h: In member function 'void hmac::init(const void*, int, const EVP_MD*)': crypto.h:60:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:60:5: note: in expansion of macro 'require101' 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); | ^~~~~~~~~~ In file included from crypto.h:38: /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ crypto.h: In member function 'void hmac::init()': crypto.h:65:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:65:5: note: in expansion of macro 'require101' 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ crypto.h: In member function 'void hmac::add(const void*, int)': crypto.h:71:29: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:71:5: note: in expansion of macro 'require101' 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ crypto.h: In member function 'void hmac::digest(void*)': crypto.h:77:28: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:77:5: note: in expansion of macro 'require101' 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ crypto.h: In member function 'int hmac::size()': crypto.h:83:22: warning: 'size_t HMAC_size(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 83 | return HMAC_size (ctx); | ~~~~~~~~~~^~~~~ /usr/include/openssl/hmac.h:32:30: note: declared here 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); | ^~~~~~~~~ crypto.C: In constructor 'hmac::hmac()': crypto.C:42:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 42 | require (ctx = HMAC_CTX_new ()); | ~~~~~~~~~~~~~^~ ./slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ crypto.C: In destructor 'hmac::~hmac()': crypto.C:52:17: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 52 | HMAC_CTX_free (ctx); | ~~~~~~~~~~~~~~^~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT vpn_dns.o -MD -MP -MF ".deps/vpn_dns.Tpo" \ -c -o vpn_dns.o `test -f 'vpn_dns.C' || echo './'`vpn_dns.C; \ then mv -f ".deps/vpn_dns.Tpo" ".deps/vpn_dns.Po"; \ else rm -f ".deps/vpn_dns.Tpo"; exit 1; \ fi conf.C: In member function 'void configuration::cleanup()': conf.C:175:14: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 175 | RSA_free (rsa_key); | ~~~~~~~~~^~~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/pem.h:23, from conf.C:48: /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ conf.C: In constructor 'configuration_parser::configuration_parser(configuration&, bool, int, char**)': conf.C:576:30: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 576 | conf.rsa_key = RSA_new (); | ~~~~~~~~^~ /usr/include/openssl/rsa.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ conf.C:578:35: warning: 'RSA* PEM_read_RSAPrivateKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 578 | if (!PEM_read_RSAPrivateKey (f, &conf.rsa_key, NULL, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ conf.C:580:32: warning: 'int ERR_load_RSA_strings()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 580 | ERR_load_RSA_strings (); ERR_load_PEM_strings (); | ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/openssl/cryptoerr.h:17, from /usr/include/openssl/crypto.h:38, from /usr/include/openssl/bio.h:30, from /usr/include/openssl/err.h:29, from conf.C:47: /usr/include/openssl/cryptoerr_legacy.h:68:27: note: declared here 68 | OSSL_DEPRECATEDIN_3_0 int ERR_load_RSA_strings(void); | ^~~~~~~~~~~~~~~~~~~~ conf.C:580:57: warning: 'int ERR_load_PEM_strings()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 580 | ERR_load_RSA_strings (); ERR_load_PEM_strings (); | ~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/openssl/cryptoerr_legacy.h:64:27: note: declared here 64 | OSSL_DEPRECATEDIN_3_0 int ERR_load_PEM_strings(void); | ^~~~~~~~~~~~~~~~~~~~ In file included from conf.h:43, from conf.C:53: conf.C:585:32: warning: 'int RSA_blinding_on(RSA*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 585 | require (RSA_blinding_on (conf.rsa_key, 0)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ /usr/include/openssl/rsa.h:377:27: note: declared here 377 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); | ^~~~~~~~~~~~~~~ conf.C:614:35: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 614 | node->rsa_key = RSA_new (); | ~~~~~~~~^~ /usr/include/openssl/rsa.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ conf.C:616:38: warning: 'RSA* PEM_read_RSAPublicKey(FILE*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 616 | if (!PEM_read_RSAPublicKey (f, &node->rsa_key, NULL, NULL)) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:451:1: note: declared here 451 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) | ^~~~~~~~~~~~~~~~~~~ conf.C:618:36: warning: 'int ERR_load_RSA_strings()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 618 | ERR_load_RSA_strings (); ERR_load_PEM_strings (); | ~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/openssl/cryptoerr_legacy.h:68:27: note: declared here 68 | OSSL_DEPRECATEDIN_3_0 int ERR_load_RSA_strings(void); | ^~~~~~~~~~~~~~~~~~~~ conf.C:618:61: warning: 'int ERR_load_PEM_strings()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 618 | ERR_load_RSA_strings (); ERR_load_PEM_strings (); | ~~~~~~~~~~~~~~~~~~~~~^~ /usr/include/openssl/cryptoerr_legacy.h:64:27: note: declared here 64 | OSSL_DEPRECATEDIN_3_0 int ERR_load_PEM_strings(void); | ^~~~~~~~~~~~~~~~~~~~ conf.C:623:36: warning: 'int RSA_blinding_on(RSA*, BN_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 623 | require (RSA_blinding_on (node->rsa_key, 0)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ /usr/include/openssl/rsa.h:377:27: note: declared here 377 | OSSL_DEPRECATEDIN_3_0 int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); | ^~~~~~~~~~~~~~~ conf.C:657:28: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 657 | RSA_get0_key (conf.rsa_key, &conf_n, &conf_e, 0); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ conf.C:658:28: warning: 'void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 658 | RSA_get0_key (conf.thisnode->rsa_key, &thisnode_n, &thisnode_e, 0); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:223:28: note: declared here 223 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ In file included from util.h:40, from conf.C:55: conf.C: In member function 'void configuration::print()': conf.C:759:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector::size_type' {aka 'long unsigned int'} [-Wformat=] 759 | printf (_("# of nodes: %d\n"), nodes.size ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/gettext.h:70:18: note: in definition of macro '_' 70 | # define _(Text) Text | ^~~~ conf.C:759:35: note: format string is defined here 759 | printf (_("# of nodes: %d\n"), nodes.size ()); | ~^ | | | int | %ld conf.C:762:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=] 762 | printf (_("rekeying interval: %d\n"), rekey); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/gettext.h:70:18: note: in definition of macro '_' 70 | # define _(Text) Text | ^~~~ conf.C:762:35: note: format string is defined here 762 | printf (_("rekeying interval: %d\n"), rekey); | ~^ | | | int | %f conf.C:763:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=] 763 | printf (_("keepalive interval: %d\n"), keepalive); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/gettext.h:70:18: note: in definition of macro '_' 70 | # define _(Text) Text | ^~~~ conf.C:763:35: note: format string is defined here 763 | printf (_("keepalive interval: %d\n"), keepalive); | ~^ | | | int | %f conf.C:766:61: warning: 'int RSA_size(const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 766 | printf (_("rsa key size: %d\n"), rsa_key ? RSA_size (rsa_key) * 8 : -1); | ~~~~~~~~~^~~~~~~~~ /usr/include/openssl/rsa.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ conf.C:769:47: warning: '0' flag used with '%s' gnu_printf format [-Wformat=] 769 | printf ("%4s %-17s %s %-8.8s %-10.10s %04s %s\n", | ^ gvpectrl.C: In function 'int keygen(const char*, const char*)': gvpectrl.C:281:22: warning: 'RSA* RSA_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 281 | RSA *rsa = RSA_new (); | ~~~~~~~~^~ In file included from gvpectrl.C:51: /usr/include/openssl/rsa.h:207:28: note: declared here 207 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ In file included from conf.h:43, from gvpectrl.C:57: gvpectrl.C:297:32: warning: 'int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 297 | require (RSA_generate_key_ex (rsa, RSABITS, e, 0)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ /usr/include/openssl/rsa.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ gvpectrl.C:300:35: warning: 'int PEM_write_RSAPublicKey(FILE*, const RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 300 | require (PEM_write_RSAPublicKey (pubf, rsa)); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ In file included from gvpectrl.C:52: /usr/include/openssl/pem.h:451:1: note: declared here 451 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSAPublicKey, RSA) | ^~~~~~~~~~~~~~~~~~~ gvpectrl.C:301:36: warning: 'int PEM_write_RSAPrivateKey(FILE*, const RSA*, const EVP_CIPHER*, const unsigned char*, int, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 301 | require (PEM_write_RSAPrivateKey (privf, rsa, NULL, NULL, 0, NULL, NULL)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ /usr/include/openssl/pem.h:450:1: note: declared here 450 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ gvpectrl.C:307:12: warning: 'void RSA_free(RSA*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 307 | RSA_free (rsa); | ~~~~~~~~~^~~~~ /usr/include/openssl/rsa.h:299:28: note: declared here 299 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ gvpectrl.C: In function 'int main(int, char**, char**)': gvpectrl.C:411:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 411 | printf ("sizeof_auth_data=%d\n", sizeof (auth_data)); | ~^ ~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld gvpectrl.C:412:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 412 | printf ("sizeof_rsa_data=%d\n", sizeof (rsa_data)); | ~^ ~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld gvpectrl.C:413:44: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 413 | printf ("sizeof_rsa_data_extra_auth=%d\n", sizeof (((rsa_data *)0)->extra_auth)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld In file included from ev_cpp.C:2: ../libev/ev.c:1837:25: warning: 'ev_rt_now' initialized and declared 'extern' 1837 | EV_API_DECL ev_tstamp ev_rt_now = 0; /* needs to be initialised to make it a definition despite extern */ | ^~~~~~~~~ In file included from conf.h:43, from gvpe.C:60: crypto.h: In member function 'void hmac::init(const void*, int, const EVP_MD*)': crypto.h:60:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:60:5: note: in expansion of macro 'require101' 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); | ^~~~~~~~~~ In file included from connection.h:35, from vpn.h:38, from gvpe.C:63: /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ crypto.h: In member function 'void hmac::init()': crypto.h:65:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:65:5: note: in expansion of macro 'require101' 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ crypto.h: In member function 'void hmac::add(const void*, int)': crypto.h:71:29: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:71:5: note: in expansion of macro 'require101' 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ crypto.h: In member function 'void hmac::digest(void*)': crypto.h:77:28: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:77:5: note: in expansion of macro 'require101' 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from hkdf.h:37, from gvpe.C:65: crypto.h: In member function 'int hmac::size()': crypto.h:83:22: warning: 'size_t HMAC_size(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 83 | return HMAC_size (ctx); | ~~~~~~~~~~^~~~~ /usr/include/openssl/hmac.h:32:30: note: declared here 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); | ^~~~~~~~~ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT sockinfo.o -MD -MP -MF ".deps/sockinfo.Tpo" \ -c -o sockinfo.o `test -f 'sockinfo.C' || echo './'`sockinfo.C; \ then mv -f ".deps/sockinfo.Tpo" ".deps/sockinfo.Po"; \ else rm -f ".deps/sockinfo.Tpo"; exit 1; \ fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT curve25519.o -MD -MP -MF ".deps/curve25519.Tpo" \ -c -o curve25519.o `test -f 'curve25519.C' || echo './'`curve25519.C; \ then mv -f ".deps/curve25519.Tpo" ".deps/curve25519.Po"; \ else rm -f ".deps/curve25519.Tpo"; exit 1; \ fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT iv_gen.o -MD -MP -MF ".deps/iv_gen.Tpo" \ -c -o iv_gen.o `test -f 'iv_gen.C' || echo './'`iv_gen.C; \ then mv -f ".deps/iv_gen.Tpo" ".deps/iv_gen.Po"; \ else rm -f ".deps/iv_gen.Tpo"; exit 1; \ fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT hkdf.o -MD -MP -MF ".deps/hkdf.Tpo" \ -c -o hkdf.o `test -f 'hkdf.C' || echo './'`hkdf.C; \ then mv -f ".deps/hkdf.Tpo" ".deps/hkdf.Po"; \ else rm -f ".deps/hkdf.Tpo"; exit 1; \ fi vpn_dns.C: In function 'void encode_header(char*, int, int, int)': vpn_dns.C:314:5: warning: narrowing conversion of 'seqno' from 'int' to 'u8' {aka 'unsigned char'} [-Wnarrowing] 314 | seqno, | ^~~~~ vpn_dns.C:315:18: warning: narrowing conversion of '((seqno >> 8) | (retry << 6))' from 'int' to 'u8' {aka 'unsigned char'} [-Wnarrowing] 315 | (seqno >> 8) | (retry << 6), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ vpn_dns.C:316:5: warning: narrowing conversion of 'clientid' from 'int' to 'u8' {aka 'unsigned char'} [-Wnarrowing] 316 | clientid, | ^~~~~~~~ In file included from crypto.h:35, from hkdf.C:40: crypto.h: In member function 'void hmac::init(const void*, int, const EVP_MD*)': crypto.h:60:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:60:5: note: in expansion of macro 'require101' 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); | ^~~~~~~~~~ In file included from hkdf.C:38: /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ crypto.h: In member function 'void hmac::init()': crypto.h:65:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:65:5: note: in expansion of macro 'require101' 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ crypto.h: In member function 'void hmac::add(const void*, int)': crypto.h:71:29: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:71:5: note: in expansion of macro 'require101' 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ crypto.h: In member function 'void hmac::digest(void*)': crypto.h:77:28: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:77:5: note: in expansion of macro 'require101' 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ crypto.h: In member function 'int hmac::size()': crypto.h:83:22: warning: 'size_t HMAC_size(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 83 | return HMAC_size (ctx); | ~~~~~~~~~~^~~~~ /usr/include/openssl/hmac.h:32:30: note: declared here 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); | ^~~~~~~~~ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT connection.o -MD -MP -MF ".deps/connection.Tpo" \ -c -o connection.o `test -f 'connection.C' || echo './'`connection.C; \ then mv -f ".deps/connection.Tpo" ".deps/connection.Po"; \ else rm -f ".deps/connection.Tpo"; exit 1; \ fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../libev -Os -Wformat -Werror=format-security -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -MT device.o -MD -MP -MF ".deps/device.Tpo" \ -c -o device.o `test -f 'device.C' || echo './'`device.C; \ then mv -f ".deps/device.Tpo" ".deps/device.Po"; \ else rm -f ".deps/device.Tpo"; exit 1; \ fi In file included from conf.h:43, from connection.C:44: crypto.h: In member function 'void hmac::init(const void*, int, const EVP_MD*)': crypto.h:60:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:60:5: note: in expansion of macro 'require101' 60 | require101 (HMAC_Init_ex (ctx, key, key_len, hash, 0)); | ^~~~~~~~~~ In file included from crypto.h:38, from connection.C:46: /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ crypto.h: In member function 'void hmac::init()': crypto.h:65:30: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:65:5: note: in expansion of macro 'require101' 65 | require101 (HMAC_Init_ex (ctx, 0, 0, 0, 0)); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ crypto.h: In member function 'void hmac::add(const void*, int)': crypto.h:71:29: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:71:5: note: in expansion of macro 'require101' 71 | require101 (HMAC_Update (ctx, (const unsigned char *)data, len)); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ crypto.h: In member function 'void hmac::digest(void*)': crypto.h:77:28: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slog.h:91:29: note: in definition of macro 'require' 91 | #define require(expr) if (!(expr)) require_failed (__FILE__, __LINE__, #expr) | ^~~~ crypto.h:77:5: note: in expansion of macro 'require101' 77 | require101 (HMAC_Final (ctx, (unsigned char *)dgst, 0)); | ^~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ crypto.h: In member function 'int hmac::size()': crypto.h:83:22: warning: 'size_t HMAC_size(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 83 | return HMAC_size (ctx); | ~~~~~~~~~~^~~~~ /usr/include/openssl/hmac.h:32:30: note: declared here 32 | OSSL_DEPRECATEDIN_3_0 size_t HMAC_size(const HMAC_CTX *e); | ^~~~~~~~~ connection.C: In function 'void auth_encrypt(RSA*, const auth_data&, auth_encr&)': connection.C:157:26: warning: 'int RSA_public_encrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 157 | if (RSA_public_encrypt (sizeof (auth.rsa), | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 158 | (unsigned char *)&auth.rsa, (unsigned char *)&encr.rsa, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 159 | key, RSA_PKCS1_OAEP_PADDING) < 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from connection.C:41: /usr/include/openssl/rsa.h:288:5: note: declared here 288 | int RSA_public_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~ connection.C: In function 'bool auth_decrypt(RSA*, const auth_encr&, auth_data&)': connection.C:170:27: warning: 'int RSA_private_decrypt(int, const unsigned char*, unsigned char*, RSA*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 170 | if (RSA_private_decrypt (sizeof (encr.rsa), | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 171 | (const unsigned char *)&encr.rsa, (unsigned char *)rsa_decrypt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | key, RSA_PKCS1_OAEP_PADDING) != sizeof (auth.rsa)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:297:5: note: declared here 297 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ g++ -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -Wl,--as-needed,-O1,--sort-common -o gvpectrl gvpectrl.o conf.o util.o slog.o ev_cpp.o crypto.o ../lib/libgvpe.a -lgmp -lpthread -lcrypto g++ -DPKGLIBDIR=/usr/lib/gvpe -DCONFDIR=\"/etc\" -DLOCALEDIR=\"/usr/share/locale\" -DLOCALSTATEDIR=\"/usr/var\" -DIFTYPE_native=1 -DIF_linux=1 -Os -Wformat -Werror=format-security -Wl,--as-needed,-O1,--sort-common -o gvpe gvpe.o vpn.o vpn_tcp.o vpn_dns.o sockinfo.o curve25519.o iv_gen.o hkdf.o connection.o device.o conf.o util.o slog.o ev_cpp.o crypto.o ../lib/libgvpe.a -lgmp -lpthread -lcrypto make[2]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/src' Making all in doc make[2]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/doc' Making all in po make[2]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/po' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/po' make[2]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1' make[1]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1' >>> WARNING: gvpe: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> gvpe: Entering fakeroot... Making install in m4 make[1]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/m4' make[2]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/m4' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/m4' make[1]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/m4' Making install in lib make[1]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/lib' make[2]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/lib' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/lib' make[1]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/lib' Making install in src make[1]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/src' make[2]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/src' /bin/sh ../mkinstalldirs /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/bin mkdir -p -- /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/bin /bin/sh ../mkinstalldirs /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/sbin make[2]: Nothing to be done for 'install-data-am'. mkdir -p -- /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/sbin /usr/bin/install -c gvpectrl /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/bin/gvpectrl /usr/bin/install -c gvpe /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/sbin/gvpe make[2]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/src' make[1]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/src' Making install in doc make[1]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/doc' make[2]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/doc' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/info mkdir -p -- /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/info /bin/sh ../mkinstalldirs /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/man/man5 /bin/sh ../mkinstalldirs /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/man/man7 mkdir -p -- /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/man/man5 /bin/sh ../mkinstalldirs /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/man/man8 mkdir -p -- /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/man/man7 mkdir -p -- /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/man/man8 /usr/bin/install -c -m 644 ./gvpe.info /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/info/gvpe.info /usr/bin/install -c -m 644 ./gvpe.protocol.7 /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/man/man7/gvpe.protocol.7 /usr/bin/install -c -m 644 ./gvpe.8 /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/man/man8/gvpe.8 /usr/bin/install -c -m 644 ./gvpe.5 /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/man/man5/gvpe.5 /usr/bin/install -c -m 644 ./gvpectrl.8 /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/man/man8/gvpectrl.8 /usr/bin/install -c -m 644 ./gvpe.conf.5 /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/man/man5/gvpe.conf.5 /usr/bin/install -c -m 644 ./gvpe.osdep.5 /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/man/man5/gvpe.osdep.5 make[2]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/doc' make[1]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/doc' Making install in po make[1]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/po' if test "gvpe" = "gettext"; then \ /bin/sh `case "./mkinstalldirs" in /*) echo "./mkinstalldirs" ;; *) echo ".././mkinstalldirs" ;; esac` /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/gettext/po; \ for file in Makefile.in.in Makevars remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot ; do \ /usr/bin/install -c -m 644 ./$file \ /home/buildozer/aports/main/gvpe/pkg/gvpe/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1/po' make[1]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1' make[2]: Entering directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1' make[1]: Leaving directory '/home/buildozer/aports/main/gvpe/src/gvpe-3.1' >>> gvpe-doc*: Running split function doc... >>> gvpe-doc*: Preparing subpackage gvpe-doc... >>> gvpe-doc*: Running postcheck for gvpe-doc >>> gvpe*: Running postcheck for gvpe >>> WARNING: gvpe*: Found OpenRC directory (/etc/conf.d or /etc/init.d) but name doesn't end with -openrc >>> gvpe*: Preparing package gvpe... >>> gvpe*: Stripping binaries >>> gvpe-doc*: Scanning shared objects >>> gvpe*: Scanning shared objects >>> gvpe-doc*: Tracing dependencies... >>> gvpe-doc*: Package size: 164.0 KB >>> gvpe-doc*: Compressing data... >>> gvpe-doc*: Create checksum... >>> gvpe-doc*: Create gvpe-doc-3.1-r5.apk >>> gvpe*: Tracing dependencies... so:libc.musl-s390x.so.1 so:libcrypto.so.3 so:libgcc_s.so.1 so:libgmp.so.10 so:libstdc++.so.6 >>> gvpe*: Package size: 276.0 KB >>> gvpe*: Compressing data... >>> gvpe*: Create checksum... >>> gvpe*: Create gvpe-3.1-r5.apk >>> gvpe: Build complete at Thu, 20 Apr 2023 05:21:41 +0000 elapsed time 0h 0m 17s >>> gvpe: Cleaning up srcdir >>> gvpe: Cleaning up pkgdir >>> gvpe: Uninstalling dependencies... (1/8) Purging .makedepends-gvpe (20230420.052124) (2/8) Purging openssl-dev (3.1.0-r3) (3/8) Purging libev-dev (4.33-r1) (4/8) Purging libev (4.33-r1) (5/8) Purging zlib-dev (1.2.13-r1) (6/8) Purging gmp-dev (6.2.1-r3) (7/8) Purging libgmpxx (6.2.1-r3) (8/8) Purging linux-headers (6.2-r0) OK: 370 MiB in 97 packages >>> gvpe: Updating the main/s390x repository index... >>> gvpe: Signing the index...