>>> gmid: Building testing/gmid 2.0.3-r0 (using abuild 3.13.0-r3) started Tue, 04 Jun 2024 17:07:15 +0000 >>> gmid: Checking sanity of /home/buildozer/aports/testing/gmid/APKBUILD... >>> gmid: Analyzing dependencies... >>> gmid: Installing for build: build-base bison flex libbsd-dev libevent-dev libretls-dev openssl-dev (1/24) Installing m4 (1.4.19-r3) (2/24) Installing bison (3.8.2-r1) (3/24) Installing flex (2.6.4-r6) (4/24) Installing bsd-compat-headers (0.7.2-r6) (5/24) Installing linux-headers (6.6-r0) (6/24) Installing libmd (1.1.0-r0) (7/24) Installing libmd-dev (1.1.0-r0) (8/24) Installing libbsd (0.12.2-r0) (9/24) Installing libbsd-dev (0.12.2-r0) (10/24) Installing libffi (3.4.6-r0) (11/24) Installing gdbm (1.23-r1) (12/24) Installing mpdecimal (4.0.0-r0) (13/24) Installing libpanelw (6.4_p20240420-r0) (14/24) Installing readline (8.2.10-r0) (15/24) Installing sqlite-libs (3.46.0-r0) (16/24) Installing python3 (3.12.3-r1) (17/24) Installing python3-pycache-pyc0 (3.12.3-r1) (18/24) Installing pyc (3.12.3-r1) (19/24) Installing python3-pyc (3.12.3-r1) (20/24) Installing libevent-dev (2.1.12-r7) (21/24) Installing openssl-dev (3.3.0-r2) (22/24) Installing libretls (3.7.0-r2) (23/24) Installing libretls-dev (3.7.0-r2) (24/24) Installing .makedepends-gmid (20240604.170716) Executing busybox-1.36.1-r29.trigger OK: 321 MiB in 134 packages >>> gmid: Cleaning up srcdir >>> gmid: Cleaning up pkgdir >>> gmid: Cleaning up tmpdir >>> gmid: Fetching https://distfiles.alpinelinux.org/distfiles/edge/gmid-2.0.3.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 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> gmid: Fetching gmid-2.0.3.tar.gz::https://github.com/omar-polo/gmid/archive/2.0.3/gmid-2.0.3.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 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 16 198k 16 33392 0 0 19657 0 0:00:10 0:00:01 0:00:09 19657 100 198k 100 198k 0 0 99502 0 0:00:02 0:00:02 --:--:-- 477k >>> gmid: Fetching https://distfiles.alpinelinux.org/distfiles/edge/gmid-2.0.3.tar.gz >>> gmid: Checking sha512sums... gmid-2.0.3.tar.gz: OK gmid.confd: OK gmid.initd: OK gmid.conf: OK >>> gmid: Unpacking /var/cache/distfiles/gmid-2.0.3.tar.gz... file config.log: writing... pkg-config: (auto) pkg-config noop (-MMD): yes wait_any: no endian_h: yes arc4random: no arc4random_buf: no err: yes explicit_bzero: yes freezero: no getdtablecount: no getdtablesize: yes getprogname: no imsg: no imsg (-lutil): no landlock: no libevent: no libevent (-levent): yes memmem: yes openssl: no openssl (-lcrypto -lssl): yes pr_set_name: yes program_invocation_short_name: yes queue_h: yes reallocarray: yes recallocarray: no setproctitle: no setresgid: no setresgid (-D_GNU_SOURCE): yes setresuid: no setresuid (-D_GNU_SOURCE): yes strlcat: yes strlcpy: yes strtonum: no strtonum (-D_OPENBSD_SOURCE): no timingsafe_memcmp: no tree_h: yes vasprintf: yes vis: no vis (-DLIBBSD_OPENBSD_VIS): no getentropy: yes ASN1_time_tm_cmp: no ASN1_time_tm_clamp_notafter: no ASN1_time_parse: no SSL_CTX_use_certificate_chain_mem: no SSL_CTX_load_verify_mem: no X509_LOOKUP_mem: no libevent2: yes config.h: writing.. file config.h: written file config.mk: written Now run `make' to compile. gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c gmid.c -o gmid.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c config.c -o config.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c crypto.c -o crypto.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c dirs.c -o dirs.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c fcgi.c -o fcgi.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c iri.c -o iri.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c log.c -o log.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c logger.c -o logger.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c mime.c -o mime.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c proc.c -o proc.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c proxy.c -o proxy.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c puny.c -o puny.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c sandbox.c -o sandbox.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c server.c -o server.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c utf8.c -o utf8.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c utils.c -o utils.o yacc -b y parse.y gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/tls_verify.c -o compat/libtls/tls_verify.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/tls_util.c -o compat/libtls/tls_util.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/tls_signer.c -o compat/libtls/tls_signer.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/tls_server.c -o compat/libtls/tls_server.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/tls_peer.c -o compat/libtls/tls_peer.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/tls_ocsp.c -o compat/libtls/tls_ocsp.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/tls_keypair.c -o compat/libtls/tls_keypair.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/tls_conninfo.c -o compat/libtls/tls_conninfo.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/tls_config.c -o compat/libtls/tls_config.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/tls_client.c -o compat/libtls/tls_client.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/tls_bio_cb.c -o compat/libtls/tls_bio_cb.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/tls.c -o compat/libtls/tls.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/openssl.c -o compat/libtls/openssl.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/by_mem.c -o compat/libtls/by_mem.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/libtls/asn.c -o compat/libtls/asn.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/getentropy.c -o compat/getentropy.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/vis.c -o compat/vis.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/timingsafe_memcmp.c -o compat/timingsafe_memcmp.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/strtonum.c -o compat/strtonum.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/setproctitle.c -o compat/setproctitle.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/recallocarray.c -o compat/recallocarray.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/imsg.c -o compat/imsg.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/getprogname.c -o compat/getprogname.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/getdtablecount.c -o compat/getdtablecount.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/freezero.c -o compat/freezero.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/arc4random.c -o compat/arc4random.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c compat/imsg-buffer.c -o compat/imsg-buffer.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c ge.c -o ge.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c gg.c -o gg.o gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c titan.c -o titan.o compat/libtls/tls_signer.c: In function 'tls_signer_free': compat/libtls/tls_signer.c:65:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 65 | RSA_free(skey->rsa); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36, from /usr/include/openssl/ssl.h:32, from ./config.h:44, from compat/libtls/tls_signer.c:18: /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ compat/libtls/tls_signer.c:66:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 66 | EC_KEY_free(skey->ecdsa); | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ compat/libtls/tls_signer.c: In function 'tls_signer_add_keypair_mem': compat/libtls/tls_signer.c:133:9: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | if ((skey->rsa = EVP_PKEY_get1_RSA(pkey)) == NULL && | ^~ In file included from /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1358:16: note: declared here 1358 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ compat/vis.c: In function 'stravis': compat/libtls/tls_signer.c:134:13: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | (skey->ecdsa = EVP_PKEY_get1_EC_KEY(pkey)) == NULL) { | ^ /usr/include/openssl/evp.h:1384:19: note: declared here 1384 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ compat/vis.c:254:23: warning: pointer 'buf' may be used after 'realloc' [-Wuse-after-free] 254 | *outp = buf; | ~~~~~~^~~~~ compat/vis.c:252:17: note: call to 'realloc' here 252 | *outp = realloc(buf, len + 1); | ^~~~~~~~~~~~~~~~~~~~~ compat/libtls/tls_signer.c: In function 'tls_sign_rsa': compat/libtls/tls_signer.c:206:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 206 | if ((rsa_size = RSA_size(skey->rsa)) <= 0) { | ^~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ compat/libtls/tls_signer.c:216:9: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 216 | if ((signature_len = RSA_private_encrypt((int)input_len, input, | ^~ /usr/include/openssl/rsa.h:296:5: note: declared here 296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ compat/libtls/tls_signer.c: In function 'tls_sign_ecdsa': compat/libtls/tls_signer.c:250:9: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 250 | if ((signature_len = ECDSA_size(skey->ecdsa)) <= 0) { | ^~ /usr/include/openssl/ec.h:1474:27: note: declared here 1474 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey); | ^~~~~~~~~~ compat/libtls/tls_signer.c:260:9: warning: 'ECDSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 260 | if (!ECDSA_sign(0, input, input_len, signature, &signature_len, | ^~ /usr/include/openssl/ec.h:1433:27: note: declared here 1433 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst, | ^~~~~~~~~~ compat/libtls/tls_signer.c: In function 'tls_rsa_priv_enc': compat/libtls/tls_signer.c:322:9: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 322 | pubkey_hash = RSA_get_ex_data(rsa, 0); | ^~~~~~~~~~~ /usr/include/openssl/rsa.h:457:29: note: declared here 457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ compat/libtls/tls_signer.c:323:9: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 323 | config = RSA_get_ex_data(rsa, 1); | ^~~~~~ /usr/include/openssl/rsa.h:457:29: note: declared here 457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ compat/libtls/tls_signer.c:343:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 343 | if (signature_len > INT_MAX || (int)signature_len > RSA_size(rsa)) | ^~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ compat/libtls/tls_signer.c: In function 'tls_signer_rsa_method': compat/libtls/tls_signer.c:365:9: warning: 'RSA_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 365 | rsa_method = RSA_meth_new("libtls RSA method", 0); | ^~~~~~~~~~ /usr/include/openssl/rsa.h:484:35: note: declared here 484 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_new(const char *name, int flags); | ^~~~~~~~~~~~ compat/libtls/tls_signer.c:369:9: warning: 'RSA_meth_set_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 369 | RSA_meth_set_priv_enc(rsa_method, tls_rsa_priv_enc); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:521:5: note: declared here 521 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ compat/libtls/tls_signer.c: In function 'tls_ecdsa_do_sign': compat/libtls/tls_signer.c:391:9: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 391 | pubkey_hash = EC_KEY_get_ex_data(eckey, 0); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1103:29: note: declared here 1103 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); | ^~~~~~~~~~~~~~~~~~ compat/libtls/tls_signer.c:392:9: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 392 | config = EC_KEY_get_ex_data(eckey, 1); | ^~~~~~ /usr/include/openssl/ec.h:1103:29: note: declared here 1103 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); | ^~~~~~~~~~~~~~~~~~ compat/libtls/tls_signer.c: In function 'tls_signer_ecdsa_method': compat/libtls/tls_signer.c:432:9: warning: 'EC_KEY_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 432 | default_method = EC_KEY_get_default_method(); | ^~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1299:44: note: declared here 1299 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~ compat/libtls/tls_signer.c:433:9: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 433 | ecdsa_method = EC_KEY_METHOD_new(default_method); | ^~~~~~~~~~~~ /usr/include/openssl/ec.h:1480:38: note: declared here 1480 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ compat/libtls/tls_signer.c:437:9: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 437 | EC_KEY_METHOD_get_sign(default_method, &sign, &sign_setup, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1543:28: note: declared here 1543 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ compat/libtls/tls_signer.c:438:9: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 438 | EC_KEY_METHOD_set_sign(ecdsa_method, sign, sign_setup, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1499:28: note: declared here 1499 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ compat/libtls/tls.c: In function 'tls_keypair_setup_pkey': compat/libtls/tls.c:404:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 404 | if ((rsa = EVP_PKEY_get1_RSA(pkey)) == NULL || | ^~ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:32, from ./config.h:44, from compat/libtls/tls.c:18: /usr/include/openssl/evp.h:1358:16: note: declared here 1358 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ compat/libtls/tls.c:405:21: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 405 | RSA_set_ex_data(rsa, 0, keypair->pubkey_hash) == 0) { | ^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:456:27: note: declared here 456 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); | ^~~~~~~~~~~~~~~ compat/libtls/tls.c:412:29: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 412 | RSA_set_ex_data(rsa, 1, ctx->config) == 0 || | ^~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:456:27: note: declared here 456 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); | ^~~~~~~~~~~~~~~ compat/libtls/tls.c:413:29: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 413 | RSA_set_method(rsa, rsa_method) == 0) { | ^~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:313:27: note: declared here 313 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ compat/libtls/tls.c:419:17: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 419 | if (EVP_PKEY_set1_RSA(pkey, rsa) == 0) { | ^~ /usr/include/openssl/evp.h:1354:5: note: declared here 1354 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ compat/libtls/tls.c:425:17: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 425 | if ((eckey = EVP_PKEY_get1_EC_KEY(pkey)) == NULL || | ^~ /usr/include/openssl/evp.h:1384:19: note: declared here 1384 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ compat/libtls/tls.c:426:21: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 426 | EC_KEY_set_ex_data(eckey, 0, keypair->pubkey_hash) == 0) { | ^~~~~~~~~~~~~~~~~~ compat/libtls/tls_server.c: In function 'tls_server_ticket_cb': compat/libtls/tls_server.c:196:17: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 196 | if (!HMAC_Init_ex(hctx, key->hmac_key, sizeof(key->hmac_key), | ^~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1102:27: note: declared here 1102 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ssl.h:38, from ./config.h:44, from compat/libtls/tls_server.c:18: /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, | ^~~~~~~~~~~~ compat/libtls/tls.c:433:29: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 433 | EC_KEY_set_ex_data(eckey, 1, ctx->config) == 0 || | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1102:27: note: declared here 1102 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg); | ^~~~~~~~~~~~~~~~~~ compat/libtls/tls_server.c:213:17: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 213 | if (!HMAC_Init_ex(hctx, key->hmac_key, sizeof(key->hmac_key), | ^~ /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, | ^~~~~~~~~~~~ compat/libtls/tls.c:434:29: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 434 | EC_KEY_set_method(eckey, ecdsa_method) == 0) { | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1302:27: note: declared here 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ compat/libtls/tls.c:440:17: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 440 | if (EVP_PKEY_set1_EC_KEY(pkey, eckey) == 0) { | ^~ /usr/include/openssl/evp.h:1380:5: note: declared here 1380 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ compat/libtls/tls.c:453:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 453 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ compat/libtls/tls.c:454:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 454 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ crypto.c: In function 'crypto_dispatch_server': crypto.c:141:21: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | (rsa = EVP_PKEY_get1_RSA(pkey)) == NULL) | ^ In file included from /usr/include/openssl/x509.h:29, from /usr/include/openssl/ssl.h:32, from config.h:44, from gmid.h:20, from crypto.c:19: /usr/include/openssl/evp.h:1358:16: note: declared here 1358 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ crypto.c:148:25: warning: 'RSA_private_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 148 | ret = RSA_private_encrypt(req.flen, from, | ^~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:296:5: note: declared here 296 | int RSA_private_encrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ crypto.c:151:25: warning: 'RSA_private_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 151 | ret = RSA_private_decrypt(req.flen, from, | ^~~ /usr/include/openssl/rsa.h:302:5: note: declared here 302 | int RSA_private_decrypt(int flen, const unsigned char *from, unsigned char *to, | ^~~~~~~~~~~~~~~~~~~ crypto.c:180:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 180 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ crypto.c:190:21: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 190 | (ecdsa = EVP_PKEY_get1_EC_KEY(pkey)) == NULL) | ^ /usr/include/openssl/evp.h:1384:19: note: declared here 1384 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ crypto.c:193:17: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 193 | len = ECDSA_size(ecdsa); | ^~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1474:27: note: declared here 1474 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey); | ^~~~~~~~~~ crypto.c:196:17: warning: 'ECDSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 196 | ret = ECDSA_sign(0, from, req.flen, to, &len, ecdsa); | ^~~ /usr/include/openssl/ec.h:1433:27: note: declared here 1433 | OSSL_DEPRECATEDIN_3_0 int ECDSA_sign(int type, const unsigned char *dgst, | ^~~~~~~~~~ crypto.c:224:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 224 | EC_KEY_free(ecdsa); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ crypto.c: In function 'rsae_send_imsg': crypto.c:260:9: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 260 | if ((hash = RSA_get_ex_data(rsa, 0)) == NULL) | ^~ /usr/include/openssl/rsa.h:457:29: note: declared here 457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ crypto.c:272:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 272 | req.tlen = RSA_size(rsa); | ^~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ crypto.c: In function 'rsae_priv_enc': crypto.c:358:9: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 358 | if (RSA_get_ex_data(rsa, 0) != NULL) | ^~ /usr/include/openssl/rsa.h:457:29: note: declared here 457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ crypto.c:361:9: warning: 'RSA_meth_get_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 361 | return (RSA_meth_get_priv_enc(rsa_default)(flen, from, to, rsa, padding)); | ^~~~~~ /usr/include/openssl/rsa.h:516:7: note: declared here 516 | int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) (int flen, | ^~~~~~~~~~~~~~~~~~~~~ crypto.c: In function 'rsae_priv_dec': crypto.c:369:9: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 369 | if (RSA_get_ex_data(rsa, 0) != NULL) | ^~ /usr/include/openssl/rsa.h:457:29: note: declared here 457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ crypto.c:373:9: warning: 'RSA_meth_get_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 373 | return (RSA_meth_get_priv_dec(rsa_default)(flen, from, to, rsa, padding)); | ^~~~~~ /usr/include/openssl/rsa.h:526:7: note: declared here 526 | int (*RSA_meth_get_priv_dec(const RSA_METHOD *meth)) (int flen, | ^~~~~~~~~~~~~~~~~~~~~ crypto.c: In function 'ecdsae_send_enc_imsg': crypto.c:402:9: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 402 | if ((hash = EC_KEY_get_ex_data(eckey, 0)) == NULL) | ^~ /usr/include/openssl/ec.h:1103:29: note: declared here 1103 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); | ^~~~~~~~~~~~~~~~~~ crypto.c: In function 'ecdsae_do_sign': crypto.c:498:9: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 498 | if (EC_KEY_get_ex_data(eckey, 0) != NULL) | ^~ /usr/include/openssl/ec.h:1103:29: note: declared here 1103 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); | ^~~~~~~~~~~~~~~~~~ crypto.c:500:9: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 500 | EC_KEY_METHOD_get_sign(ecdsa_default, NULL, NULL, &psign_sig); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1543:28: note: declared here 1543 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ crypto.c: In function 'rsa_engine_init': crypto.c:514:9: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 514 | if ((rsa_default = RSA_get_default_method()) == NULL) { | ^~ /usr/include/openssl/rsa.h:310:41: note: declared here 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ crypto.c:519:9: warning: 'RSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 519 | if ((rsae_method = RSA_meth_dup(rsa_default)) == NULL) { | ^~ /usr/include/openssl/rsa.h:486:35: note: declared here 486 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); | ^~~~~~~~~~~~ crypto.c:524:9: warning: 'RSA_meth_set_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 524 | RSA_meth_set_priv_enc(rsae_method, rsae_priv_enc); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:521:5: note: declared here 521 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ crypto.c:525:9: warning: 'RSA_meth_set_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 525 | RSA_meth_set_priv_dec(rsae_method, rsae_priv_dec); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:531:5: note: declared here 531 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ crypto.c:527:9: warning: 'RSA_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 527 | RSA_meth_set_flags(rsae_method, | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:491:27: note: declared here 491 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set_flags(RSA_METHOD *meth, int flags); | ^~~~~~~~~~~~~~~~~~ utils.c: In function 'ec_key_create': utils.c:169:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 169 | if ((eckey = EC_KEY_new_by_curve_name(NID_secp384r1)) == NULL) { | ^~ crypto.c:528:13: warning: 'RSA_meth_get_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 528 | RSA_meth_get_flags(rsa_default) | RSA_METHOD_FLAG_NO_CHECK); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:32, from config.h:44, from gmid.h:20, from utils.c:21: /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:490:27: note: declared here 490 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_get_flags(const RSA_METHOD *meth); | ^~~~~~~~~~~~~~~~~~ utils.c:175:9: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 175 | if (!EC_KEY_generate_key(eckey)) { | ^~ /usr/include/openssl/ec.h:1120:27: note: declared here 1120 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ utils.c:182:9: warning: 'PEM_write_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 182 | if (!PEM_write_ECPrivateKey(f, eckey, NULL, NULL, 0, NULL, NULL)) { | ^~ crypto.c:529:9: warning: 'RSA_meth_set0_app_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 529 | RSA_meth_set0_app_data(rsae_method, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set0_app_data(RSA_METHOD *meth, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ssl.h:37: /usr/include/openssl/pem.h:466:1: note: declared here 466 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ utils.c:194:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 194 | if (!EVP_PKEY_set1_EC_KEY(pkey, eckey)) { | ^~ crypto.c:530:13: warning: 'RSA_meth_get0_app_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 530 | RSA_meth_get0_app_data(rsa_default)); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:492:29: note: declared here 492 | OSSL_DEPRECATEDIN_3_0 void *RSA_meth_get0_app_data(const RSA_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:29: /usr/include/openssl/evp.h:1380:5: note: declared here 1380 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ crypto.c:532:9: warning: 'RSA_set_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 532 | RSA_set_default_method(rsae_method); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:309:28: note: declared here 309 | OSSL_DEPRECATEDIN_3_0 void RSA_set_default_method(const RSA_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~ utils.c:207:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ crypto.c: In function 'ecdsa_engine_init': crypto.c:549:9: warning: 'EC_KEY_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 549 | if ((ecdsa_default = EC_KEY_get_default_method()) == NULL) { | ^~ /usr/include/openssl/ec.h:1299:44: note: declared here 1299 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~ crypto.c:554:9: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 554 | if ((ecdsae_method = EC_KEY_METHOD_new(ecdsa_default)) == NULL) { | ^~ /usr/include/openssl/ec.h:1480:38: note: declared here 1480 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ crypto.c:559:9: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 559 | EC_KEY_METHOD_get_sign(ecdsa_default, &sign, &sign_setup, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1543:28: note: declared here 1543 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ crypto.c:560:9: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 560 | EC_KEY_METHOD_set_sign(ecdsae_method, sign, sign_setup, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1499:28: note: declared here 1499 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ crypto.c:563:9: warning: 'EC_KEY_set_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 563 | EC_KEY_set_default_method(ecdsae_method); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1300:28: note: declared here 1300 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_default_method(const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~~~ fcgi.c: In function 'path_translate.constprop': fcgi.c:396:35: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 396 | snprintf(buf, len, "%s%s%s", root, sufx, path); | ^ fcgi.c:396:9: note: 'snprintf' output 1 or more bytes (assuming 4097) into a destination of size 4096 396 | snprintf(buf, len, "%s%s%s", root, sufx, path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c y.tab.c -o y.tab.o gcc gg.o iri.o log.o utf8.o compat/libtls/tls_verify.o compat/libtls/tls_util.o compat/libtls/tls_signer.o compat/libtls/tls_server.o compat/libtls/tls_peer.o compat/libtls/tls_ocsp.o compat/libtls/tls_keypair.o compat/libtls/tls_conninfo.o compat/libtls/tls_config.o compat/libtls/tls_client.o compat/libtls/tls_bio_cb.o compat/libtls/tls.o compat/libtls/openssl.o compat/libtls/by_mem.o compat/libtls/asn.o compat/getentropy.o compat/vis.o compat/timingsafe_memcmp.o compat/strtonum.o compat/setproctitle.o compat/recallocarray.o compat/imsg.o compat/getprogname.o compat/getdtablecount.o compat/freezero.o compat/arc4random.o compat/imsg-buffer.o -o gg -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -levent -lcrypto -lssl gcc titan.o iri.o log.o utf8.o compat/libtls/tls_verify.o compat/libtls/tls_util.o compat/libtls/tls_signer.o compat/libtls/tls_server.o compat/libtls/tls_peer.o compat/libtls/tls_ocsp.o compat/libtls/tls_keypair.o compat/libtls/tls_conninfo.o compat/libtls/tls_config.o compat/libtls/tls_client.o compat/libtls/tls_bio_cb.o compat/libtls/tls.o compat/libtls/openssl.o compat/libtls/by_mem.o compat/libtls/asn.o compat/getentropy.o compat/vis.o compat/timingsafe_memcmp.o compat/strtonum.o compat/setproctitle.o compat/recallocarray.o compat/imsg.o compat/getprogname.o compat/getdtablecount.o compat/freezero.o compat/arc4random.o compat/imsg-buffer.o -o titan -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -levent -lcrypto -lssl gcc ge.o config.o crypto.o dirs.o fcgi.o iri.o log.o mime.o proc.o proxy.o puny.o sandbox.o server.o utf8.o utils.o compat/libtls/tls_verify.o compat/libtls/tls_util.o compat/libtls/tls_signer.o compat/libtls/tls_server.o compat/libtls/tls_peer.o compat/libtls/tls_ocsp.o compat/libtls/tls_keypair.o compat/libtls/tls_conninfo.o compat/libtls/tls_config.o compat/libtls/tls_client.o compat/libtls/tls_bio_cb.o compat/libtls/tls.o compat/libtls/openssl.o compat/libtls/by_mem.o compat/libtls/asn.o compat/getentropy.o compat/vis.o compat/timingsafe_memcmp.o compat/strtonum.o compat/setproctitle.o compat/recallocarray.o compat/imsg.o compat/getprogname.o compat/getdtablecount.o compat/freezero.o compat/arc4random.o compat/imsg-buffer.o -o gemexp -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -levent -lcrypto -lssl gcc gmid.o config.o crypto.o dirs.o fcgi.o iri.o log.o logger.o mime.o proc.o proxy.o puny.o sandbox.o server.o utf8.o utils.o y.tab.o compat/libtls/tls_verify.o compat/libtls/tls_util.o compat/libtls/tls_signer.o compat/libtls/tls_server.o compat/libtls/tls_peer.o compat/libtls/tls_ocsp.o compat/libtls/tls_keypair.o compat/libtls/tls_conninfo.o compat/libtls/tls_config.o compat/libtls/tls_client.o compat/libtls/tls_bio_cb.o compat/libtls/tls.o compat/libtls/openssl.o compat/libtls/by_mem.o compat/libtls/asn.o compat/getentropy.o compat/vis.o compat/timingsafe_memcmp.o compat/strtonum.o compat/setproctitle.o compat/recallocarray.o compat/imsg.o compat/getprogname.o compat/getdtablecount.o compat/freezero.o compat/arc4random.o compat/imsg-buffer.o -o gmid -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -levent -lcrypto -lssl make 'TESTS=' -C regress all make[1]: Entering directory '/home/buildozer/aports/testing/gmid/src/gmid-2.0.3/regress' gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c -o fill-file.o fill-file.c ./../contrib/gencert localhost >/dev/null openssl genrsa -out testca.key 2048 gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c -o puny-test.o puny-test.c gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c -o iri_test.o iri_test.c gcc -I. -Icompat/libtls -I../compat/libtls -Os -fstack-clash-protection -Wformat -Werror=format-security -MMD -DWAIT_ANY=-1 -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat -I /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/compat/vis -DHAVE_LIBEVENT2=1 -D_GNU_SOURCE -W -Wall -Wextra -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-pointer-sign -c -o fcgi-test.o fcgi-test.c .+.+...+..+......+...+.........+...+....+...+......+..+....+......+...+...........+...+.+............+..+......+.+...+++++++++++++++++++++++++++++++++++++++++++++*.........+.+..+.+.....+++++++++++++++++++++++++++++++++++++++++++++*........+...+..+....+.....+......+..................+.+...............+gcc fill-file.o -o fill-file -levent -lcrypto -lssl -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs ...........+.+..............+...+.......+.....+...+mkdir testdata ./fill-file testdata/bigfile ...+...............+...+....+..........................+++++ .....+.+..+++++++++++++++++++++++++++++++++++++++++++++*......+.+...............+...........+....+...........+...+....+........+.......+.....+.+.....+.+...+...+..+...+.......+......+.....+.+.....+......+....+......+.........+...+.................+.+..+.......+.....+...+.+......+......+++++++++++++++++++++++++++++++++++++++++++++*.....+.....+printf "# hello world\n" > testdata/index.gmi cp hello slow err invalid serve-bigfile env testdata/ cp max-length-reply testdata mkdir testdata/dir date > 'testdata/dir/current date' ......cp hello testdata/dir ....+cp testdata/index.gmi testdata/dir/foo.gmi touch testdata/test.m3u8 testdata/foo.1 openssl req -x509 -new -sha256 \ -key testca.key \ -days 365 -nodes \ -out testca.pem \ -subj "/CN=testca" .....+.+...........+....+ openssl genrsa -out valid.key 2048 ...........+.+.........+..................+.....+.......+.....+...+.+............+.....+.............+openssl req -new -key valid.key \ -out valid.csr \ -subj "/CN=valid" .....+.........+gcc puny-test.o ../puny.o ../utf8.o ../utils.o ../log.o ../compat/libtls/tls_verify.o ../compat/libtls/tls_util.o ../compat/libtls/tls_signer.o ../compat/libtls/tls_server.o ../compat/libtls/tls_peer.o ../compat/libtls/tls_ocsp.o ../compat/libtls/tls_keypair.o ../compat/libtls/tls_conninfo.o ../compat/libtls/tls_config.o ../compat/libtls/tls_client.o ../compat/libtls/tls_bio_cb.o ../compat/libtls/tls.o ../compat/libtls/openssl.o ../compat/libtls/by_mem.o ../compat/libtls/asn.o ../compat/getentropy.o ../compat/vis.o ../compat/timingsafe_memcmp.o ../compat/strtonum.o ../compat/setproctitle.o ../compat/recallocarray.o ../compat/imsg.o ../compat/getprogname.o ../compat/getdtablecount.o ../compat/freezero.o ../compat/arc4random.o ../compat/imsg-buffer.o -o puny-test -levent -lcrypto -lssl -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs .+......+ openssl x509 -req -in valid.csr \ -CA testca.pem \ -CAkey testca.key \ -CAcreateserial \ -out valid.crt \ -days 365 \ -sha256 -extfile valid.ext .....+.............+..+....+............+..+...............+Certificate request self-signature ok subject=CN=valid .+gcc fcgi-test.o ../log.o ../compat/libtls/tls_verify.o ../compat/libtls/tls_util.o ../compat/libtls/tls_signer.o ../compat/libtls/tls_server.o ../compat/libtls/tls_peer.o ../compat/libtls/tls_ocsp.o ../compat/libtls/tls_keypair.o ../compat/libtls/tls_conninfo.o ../compat/libtls/tls_config.o ../compat/libtls/tls_client.o ../compat/libtls/tls_bio_cb.o ../compat/libtls/tls.o ../compat/libtls/openssl.o ../compat/libtls/by_mem.o ../compat/libtls/asn.o ../compat/getentropy.o ../compat/vis.o ../compat/timingsafe_memcmp.o ../compat/strtonum.o ../compat/setproctitle.o ../compat/recallocarray.o ../compat/imsg.o ../compat/getprogname.o ../compat/getdtablecount.o ../compat/freezero.o ../compat/arc4random.o ../compat/imsg-buffer.o -o fcgi-test -levent -lcrypto -lssl -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs .................+.......+.....+.+..............+.......+...+...........+.+......+.................+...+.........+....+......+...+...+...+.........+..+.+.......................+....+..+...............+.............+...+....................+....+...+...+..+.............+..+...............+.+.....+............+...+..........+.....+............+.........+.........+....+........+..........+...........................+...........+.......+.....+...+......+...+...+gcc iri_test.o ../iri.o ../utf8.o ../log.o ../compat/libtls/tls_verify.o ../compat/libtls/tls_util.o ../compat/libtls/tls_signer.o ../compat/libtls/tls_server.o ../compat/libtls/tls_peer.o ../compat/libtls/tls_ocsp.o ../compat/libtls/tls_keypair.o ../compat/libtls/tls_conninfo.o ../compat/libtls/tls_config.o ../compat/libtls/tls_client.o ../compat/libtls/tls_bio_cb.o ../compat/libtls/tls.o ../compat/libtls/openssl.o ../compat/libtls/by_mem.o ../compat/libtls/asn.o ../compat/getentropy.o ../compat/vis.o ../compat/timingsafe_memcmp.o ../compat/strtonum.o ../compat/setproctitle.o ../compat/recallocarray.o ../compat/imsg.o ../compat/getprogname.o ../compat/getdtablecount.o ../compat/freezero.o ../compat/arc4random.o ../compat/imsg-buffer.o -o iri_test -levent -lcrypto -lssl -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs ..................+.+...+.....+......+.......+...............+.....+.........+.+..+......+.+.....+......+.........+...+.+..+.............+......+...........+............+............+...+.....................+....+...+........+....+..+..........+.....+.........+..........+.....+.+...+.....+............+.+............+.....+...+....+.....+....+.....+....+.......................+............+++++ ----- cp localhost.pem invalid.pem cp localhost.key invalid.key env HAVE_IPV6="yes" REGRESS_HOST="localhost" ./regress OK: foo => foo OK: h.n => h.n OK: xn-invalid => xn-invalid OK: naïve => naïve OK: xn--8ca => è OK: xn--caff-8oa => caffè OK: xn--nave-6pa => naïve OK: xn--e-0mbbc => τeστ OK: xn--8ca67lbac => τèστ OK: xn--28j2a3ar1p => こんにちは OK: xn--hello--ur7iy09x => hello-世界 OK: xn--hi--hi-rr7iy09x => hi-世界-hi OK: xn--caf-8la.foo.org => cafè.foo.org OK: xn--j6h => ♨ OK: xn--x73l => 𩸽 OK: xn--x73laaa => 𩸽𩸽𩸽𩸽 test_punycode passed => http://omarpolo.com => omarpolo.com => gemini:/omarpolo.com => gemini//omarpolo.com => h!!p://omarpolo.com => GEMINI://omarpolo.com => gemini://omarpolo.com => gemini://omarpolo.com/ => gemini://omarpolo.com:1965 => gemini://omarpolo.com:1965/ => gemini://omarpolo.com:196s => gemini://OmArPoLo.CoM => gemini://xn--nave-6pa.omarpolo.com => gemini://naïve.omarpolo.com => gemini://na%c3%afve.omarpolo.com => gemini://100.64.3.27/ => gemini://[::1]/ => gemini://omarpolo.com/foo/bar/baz => gemini://omarpolo.com/foo//bar///baz => gemini://omarpolo.com/foo/./bar/./././baz => gemini://omarpolo.com/foo/bar/../bar/baz => gemini://omarpolo.com/foo/../foo/bar/../bar/baz/../baz => gemini://omarpolo.com/foo/.. => gemini://omarpolo.com/foo/../ => gemini://omarpolo.com/foo/../.. => gemini://omarpolo.com/foo/../../ => gemini://omarpolo.com/foo/../foo/../././/bar/baz/.././../.// => gemini://omarpolo.com//foo => gemini://omarpolo.com/////foo => http://a/b/c/../.. => gemini://example.com/@f:b!(z$&)/baz => foo://example.com/foo/?gne => foo://example.com/foo/?gne&foo => foo://ex.com/robots.txt?name=foobar&url=https://foo.com => foo://ex.com/foo?email=foo@bar.com#quuz => foo://bar.co/#foo => foo://bar.com/caf%C3%A8.gmi => foo://bar.com/caff%C3%A8%20macchiato.gmi => foo://bar.com/caff%C3%A8+macchiato.gmi => foo://bar.com/foo%2F..%2F.. => foo://bar.com/foo%00?baz => foo://bar.com/cafè.gmi => foo://bar.com/世界.gmi => foo://bar.com/😼.gmi => foo://bar.com/😼/𤭢.gmi => foo://bar.com/世界/ test_iri passed test_dump_config passed serving /home/buildozer/aports/testing/gmid/src/gmid-2.0.3/regress/testdata on port 10965 ::1 - localhost gemini://localhost/ 20 text/gemini ::1 - localhost gemini://localhost/ 20 text/gemini test_gemexp passed test_static_files passed test_directory_redirect passed test_serve_big_files passed test_dont_execute_scripts passed test_custom_mime passed test_default_type passed test_custom_lang passed test_parse_custom_lang_per_location passed test_custom_index passed test_custom_index_default_type_per_location passed test_auto_index passed test_block passed test_block_return_fmt passed test_require_client_ca passed test_root_inside_location passed test_root_inside_location_with_redirect passed test_fastcgi passed test_fastcgi_inside_location passed test_fastcgi_location_match passed test_fastcgi_deprecated_syntax passed test_macro_expansion passed test_proxy_relay_to passed test_proxy_with_certs passed test_include_mime passed test_log_file passed test_ipv4_addr passed test_ipv6_addr passed test_ipv6_server passed tests: 32 / passed: 32 / failed: 0 make[1]: Leaving directory '/home/buildozer/aports/testing/gmid/src/gmid-2.0.3/regress' >>> gmid: Entering fakeroot... mkdir -p /home/buildozer/aports/testing/gmid/pkg/gmid/usr/bin mkdir -p /home/buildozer/aports/testing/gmid/pkg/gmid/usr/share/man/man1 mkdir -p /home/buildozer/aports/testing/gmid/pkg/gmid/usr/share/man/man5 mkdir -p /home/buildozer/aports/testing/gmid/pkg/gmid/usr/share/man/man8 install -m 0555 gemexp /home/buildozer/aports/testing/gmid/pkg/gmid/usr/bin install -m 0555 gg /home/buildozer/aports/testing/gmid/pkg/gmid/usr/bin install -m 0555 gmid /home/buildozer/aports/testing/gmid/pkg/gmid/usr/bin install -m 0555 titan /home/buildozer/aports/testing/gmid/pkg/gmid/usr/bin install -m 0444 gemexp.1 /home/buildozer/aports/testing/gmid/pkg/gmid/usr/share/man/man1 install -m 0444 gg.1 /home/buildozer/aports/testing/gmid/pkg/gmid/usr/share/man/man1 install -m 0444 titan.1 /home/buildozer/aports/testing/gmid/pkg/gmid/usr/share/man/man1 install -m 0444 gmid.conf.5 /home/buildozer/aports/testing/gmid/pkg/gmid/usr/share/man/man5 install -m 0444 gmid.8 /home/buildozer/aports/testing/gmid/pkg/gmid/usr/share/man/man8 >>> gmid-openrc*: Running split function openrc... >>> gmid-openrc*: Preparing subpackage gmid-openrc... >>> gmid-openrc*: Running postcheck for gmid-openrc >>> gmid-doc*: Running split function doc... >>> gmid-doc*: Preparing subpackage gmid-doc... >>> gmid-doc*: Running postcheck for gmid-doc >>> gmid*: Running postcheck for gmid >>> gmid*: Preparing package gmid... >>> gmid*: Stripping binaries >>> gmid*: Script found. /bin/sh added as a dependency for gmid-2.0.3-r0.apk >>> gmid*: Adding .pre-install >>> gmid-doc*: Scanning shared objects >>> gmid-openrc*: Scanning shared objects >>> gmid*: Scanning shared objects >>> gmid-doc*: Tracing dependencies... >>> gmid-doc*: Package size: 52.0 KB >>> gmid-doc*: Compressing data... >>> gmid-doc*: Create checksum... >>> gmid-doc*: Create gmid-doc-2.0.3-r0.apk >>> gmid-openrc*: Tracing dependencies... >>> gmid-openrc*: Package size: 24.0 KB >>> gmid-openrc*: Compressing data... >>> gmid-openrc*: Create checksum... >>> gmid-openrc*: Create gmid-openrc-2.0.3-r0.apk >>> gmid*: Tracing dependencies... /bin/sh so:libc.musl-ppc64le.so.1 so:libcrypto.so.3 so:libevent-2.1.so.7 so:libssl.so.3 >>> gmid*: Package size: 752.0 KB >>> gmid*: Compressing data... >>> gmid*: Create checksum... >>> gmid*: Create gmid-2.0.3-r0.apk >>> gmid: Build complete at Tue, 04 Jun 2024 17:07:58 +0000 elapsed time 0h 0m 43s >>> gmid: Cleaning up srcdir >>> gmid: Cleaning up pkgdir >>> gmid: Uninstalling dependencies... (1/24) Purging .makedepends-gmid (20240604.170716) (2/24) Purging bison (3.8.2-r1) (3/24) Purging flex (2.6.4-r6) (4/24) Purging m4 (1.4.19-r3) (5/24) Purging libbsd-dev (0.12.2-r0) (6/24) Purging bsd-compat-headers (0.7.2-r6) (7/24) Purging linux-headers (6.6-r0) (8/24) Purging libmd-dev (1.1.0-r0) (9/24) Purging libbsd (0.12.2-r0) (10/24) Purging libevent-dev (2.1.12-r7) (11/24) Purging python3-pyc (3.12.3-r1) (12/24) Purging python3-pycache-pyc0 (3.12.3-r1) (13/24) Purging pyc (3.12.3-r1) (14/24) Purging python3 (3.12.3-r1) (15/24) Purging libretls-dev (3.7.0-r2) (16/24) Purging libretls (3.7.0-r2) (17/24) Purging openssl-dev (3.3.0-r2) (18/24) Purging gdbm (1.23-r1) (19/24) Purging libffi (3.4.6-r0) (20/24) Purging libmd (1.1.0-r0) (21/24) Purging libpanelw (6.4_p20240420-r0) (22/24) Purging mpdecimal (4.0.0-r0) (23/24) Purging readline (8.2.10-r0) (24/24) Purging sqlite-libs (3.46.0-r0) Executing busybox-1.36.1-r29.trigger OK: 264 MiB in 110 packages >>> gmid: Updating the testing/ppc64le repository index... >>> gmid: Signing the index...