/bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o spfquery spfquery.o ../../src/libspf2/libspf2.la -lpthread -lnsl -lresolv libtool: link: x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/spfquery spfquery.o -Wl,--as-needed ../../src/libspf2/.libs/libspf2.so -lpthread -lnsl -lresolv /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../src/libspf2/.libs/libspf2.so: undefined reference to `__dn_expand' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../src/libspf2/.libs/libspf2.so: undefined reference to `__dn_skipname' collect2: error: ld returned 1 exit status make[4]: *** [Makefile:433: spfquery] Error 1 make[4]: Leaving directory '/var/tmp/portage/mail-filter/libspf2-1.2.10/work/libspf2-1.2.10/src/spfquery' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j3-20210804-131442 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * clang version 12.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.1 Python 3.9.6 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.54.0 * The following VMs are available for generation-2: *) AdoptOpenJDK JRE 8.292_p10 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] openjdk-jre-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 [1] php7.3 [2] php7.4 [3] php8.0 * HEAD of ::gentoo commit f203e9f7be5be1ab3cb620f310c3ec3da2ba748b Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Aug 5 15:05:50 2021 +0000 2021-08-05 15:05:48 UTC emerge -qpvO mail-filter/libspf2 [ebuild N ] mail-filter/libspf2-1.2.10
Created attachment 730455 [details] emerge-info.txt
Created attachment 730458 [details] emerge-history.txt
Created attachment 730461 [details] environment
Created attachment 730464 [details] etc.portage.tar.bz2
Created attachment 730467 [details] logs.tar.bz2
Created attachment 730470 [details] mail-filter:libspf2-1.2.10:20210805-161245.log
Created attachment 730473 [details] temp.tar.bz2
taking over this package since it's a dep of Exim
Clearly -lresolv is in the linkline, so there is something else going on here. I don't have a glibc-2.34 system to test on at the moment.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e5229b1170c8b1b151e70167a4b600c4a545fbc commit 1e5229b1170c8b1b151e70167a4b600c4a545fbc Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2021-10-26 07:21:20 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2021-10-26 07:23:15 +0000 mail-filter/libspf2-1.2.11: add musl and glibc patches Closes: https://bugs.gentoo.org/806583 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Fabian Groffen <grobian@gentoo.org> .../libspf2/files/libspf2-1.2.11-musl.patch | 30 +++++ .../files/libspf2-1.2.11-undefined-dn_.patch | 138 +++++++++++++++++++++ mail-filter/libspf2/libspf2-1.2.11.ebuild | 2 + 3 files changed, 170 insertions(+)
cheers grobian and I'm sorry you've been kind of dumped with this, do really appreciate it