Created attachment 571426 [details] config.log checking cpuid.h presence... yes checking for cpuid.h... yes checking for struct iovec.iov_base... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking stdatomic.h usability... yes checking stdatomic.h presence... yes checking for stdatomic.h... yes checking for library containing __atomic_load_4... -latomic checking threads.h usability... yes checking threads.h presence... yes checking for threads.h... yes checking for getrandom... yes checking for getentropy... no checking for NETTLE... no configure: error: *** *** Libnettle 3.4.1 was not found. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/net-libs/gnutls-3.6.7/work/gnutls-3.6.7-abi_x86_32.x86/config.log
Created attachment 571428 [details] output of emerge --info
This seems to be related to the i686-pc-linux-gnu cross toolchain, which I just removed. Now its working as expected.
How did you try to build it? it has explicit --host=i686-pc-linux-gnu, and your system native is CHOST="x86_64-pc-linux-gnu". Have you forced it or used cross compile?
It's a multilib system on its own, and I meant to use a cross toolchain to build pkg's for an older i686 system. So I removed the cross toolchain, and the compile works as it's intended.
You cannot have cross compiler on same architecture of your native.
pff, ok, going to throw it into a chroot then.
You can try to have i686-unknown-linux-gnu instead of i686-pc-linux-gnu.