https://launchpadlibrarian.net/441262702/buildlog_ubuntu-eoan-amd64.gnupg2_2.2.12-1ubuntu3_BUILDING.txt.gz
gcc -DHAVE_CONFIG_H -I. -I../../dirmngr -I.. -DLOCALEDIR=\"/usr/share/locale\" -DGNUPG_BINDIR="\"/usr/bin\"" -DGNUPG_LIBEXECDIR="\"/usr/lib/gnupg\"" -DGNUPG_LIBDIR="\"/usr/lib/x86_64-linux-gnu/gnupg\"" -DGNUPG_DATADIR="\"/usr/share/gnupg\"" -DGNUPG_SYSCONFDIR="\"/etc/gnupg\"" -DGNUPG_LOCALSTATEDIR="\"/var\"" -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -I/usr/include/p11-kit-1 -Wall -Wno-pointer-sign -Wpointer-arith -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o http.o ../../dirmngr/http.c
In file included from ../../dirmngr/dns-stuff.c:57:
../../dirmngr/dns-stuff.c: In function ‘libdns_res_open’:
../../dirmngr/dns.h:1058:24: error: lvalue required as unary ‘&’ operand
1058 | #define dns_opts(...) (&dns_quietinit((struct dns_options)DNS_OPTS_INIT(__VA_ARGS__)))
| ^
../../dirmngr/dns-stuff.c:719:23: note: in expansion of macro ‘dns_opts’
719 | dns_opts (.socks_host = &libdns.socks_host,
| ^~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../../dirmngr -I.. -DLOCALEDIR=\"/usr/share/locale\" -DGNUPG_BINDIR="\"/usr/bin\"" -DGNUPG_LIBEXECDIR="\"/usr/lib/gnupg\"" -DGNUPG_LIBDIR="\"/usr/lib/x86_64-linux-gnu/gnupg\"" -DGNUPG_DATADIR="\"/usr/share/gnupg\"" -DGNUPG_SYSCONFDIR="\"/etc/gnupg\"" -DGNUPG_LOCALSTATEDIR="\"/var\"" -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -I/usr/include/p11-kit-1 -Wall -Wno-pointer-sign -Wpointer-arith -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o http-common.o ../../dirmngr/http-common.c
make[4]: *** [Makefile:995: dns-stuff.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build/dirmngr'
make[3]: *** [Makefile:616: all-recursive] Error 1
The Eoan Ermine has reached end of life, so this bug will not be fixed for that release