Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 682202

Summary: net-libs/gnutls-3.6.7 with dev-libs/nettle-3.4.1 - configure:10166: error: Libnettle 3.4.1 was not found.
Product: Gentoo Linux Reporter: tt_1 <herrtimson>
Component: Current packagesAssignee: Crypto team [DISABLED] <crypto+disabled>
Status: RESOLVED INVALID    
Severity: normal CC: alonbl
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: config.log
output of emerge --info

Description tt_1 2019-04-01 06:42:24 UTC
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
Comment 1 tt_1 2019-04-01 06:52:07 UTC
Created attachment 571428 [details]
output of emerge --info
Comment 2 tt_1 2019-04-01 07:16:45 UTC
This seems to be related to the i686-pc-linux-gnu cross toolchain, which I just removed. Now its working as expected.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2019-04-01 09:37:27 UTC
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?
Comment 4 tt_1 2019-04-01 13:07:26 UTC
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.
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2019-04-01 13:32:52 UTC
You cannot have cross compiler on same architecture of your native.
Comment 6 tt_1 2019-04-01 13:35:01 UTC
pff, ok, going to throw it into a chroot then.
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2019-04-01 13:37:30 UTC
You can try to have i686-unknown-linux-gnu instead of i686-pc-linux-gnu.