Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561482 - net-libs/gnutls-3.3.17.1 fails to configure: Libhogweed (nettle's companion library) was not found. Note that you must compile nettle with gmp support.
Summary: net-libs/gnutls-3.3.17.1 fails to configure: Libhogweed (nettle's companion l...
Status: RESOLVED DUPLICATE of bug 546092
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-25 18:53 UTC by mAhdi
Modified: 2015-09-28 12:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,48.83 KB, text/plain)
2015-09-25 18:57 UTC, mAhdi
Details
compile log (net-libs:gnutls-3.3.17.1:20150925-185843.log,8.76 KB, text/plain)
2015-09-25 19:03 UTC, mAhdi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mAhdi 2015-09-25 18:53:26 UTC
emerge -1 gnutls

checking for cpuid.h... yes
checking for NETTLE... yes
checking for HOGWEED... no
configure: error: 
  ***
  *** Libhogweed (nettle's companion library) was not found. Note that you must compile nettle with gmp support.


!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-libs/gnutls-3.3.17.1/work/gnutls-3.3.17.1-abi_x86_32.x86/config.log
 * ERROR: net-libs/gnutls-3.3.17.1::gentoo failed (configure phase):
 *   econf failed

Nettle compiled with gmp

eix nettle
[I] dev-libs/nettle
     Available versions:  2.7.1-r4(0/4) 3.1.1(0/6) {doc +gmp neon static-libs test ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="aes"}
     Installed versions:  3.1.1(08:31:15 PM 09/25/2015)(doc gmp -neon -static-libs -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 -64 -x32" CPU_FLAGS_X86="-aes")

emerge --info
Portage 2.2.20.1 (python 2.7.9-final-0, default/linux/x86/13.0, gcc-4.8.4, glibc-2.20-r2, 3.0.17-gentoo-r2 i686)
=================================================================
System uname: Linux-3.0.17-gentoo-r2-i686-Intel-R-_Core-TM-2_Duo_CPU_P7570_@_2.26GHz-with-gentoo-2.2
KiB Mem:     4142004 total,    659280 free
KiB Swap:    5116664 total,   5094460 free
Timestamp of repository gentoo: Fri, 25 Sep 2015 15:45:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.1.9 [disabled]
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.4.1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           3.2.2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.cz.gentoo.org/gentoo-portage
    priority: -1000

steam-overlay
    location: /usr/portage/local/layman/steam
    masters: gentoo
    priority: 0

qt
    location: /usr/portage/local/layman/qt
    masters: gentoo
    priority: 1

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --autounmask"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa asf berkdb bzip2 cli cracklib crypt cups cxx dbus doc dri encode exif ffmpeg flac fortran gdbm gif iconv ipv6 jpeg mikmod mmx modules mp3 ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png python raw readline sdl seccomp session sse sse2 sse3 ssl ssse3 tcpd tiff udev unicode vorbis win32codecs x86 xcomposite xml zlib" ABI_X86="32" ALSA_CARDS="intel8x0" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 sse3 ssse3 mmxext" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="all" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON



Reproducible: Always
Comment 1 mAhdi 2015-09-25 18:57:26 UTC
Created attachment 412900 [details]
config.log
Comment 2 mAhdi 2015-09-25 19:03:10 UTC
Created attachment 412904 [details]
compile log
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2015-09-25 19:19:07 UTC
Please provide output of:

$ equery belongs /usr/bin/pkg-config
$ equery files nettle | grep '\.so'
$ equery files nettle | grep '\.pc'
Comment 4 mAhdi 2015-09-25 19:36:29 UTC
Here it comes:

equery belongs /usr/bin/pkg-config
 * Searching for /usr/bin/pkg-config ... 
dev-util/pkgconf-0.9.3-r1 (/usr/bin/pkg-config -> i686-pc-linux-gnu-pkg-config)
dev-util/pkgconf-0.9.3-r1 (/usr/bin/i686-pc-linux-gnu-pkgconf)

equery files nettle | grep '\.so'
/usr/lib/libhogweed.so
/usr/lib/libhogweed.so.2
/usr/lib/libhogweed.so.2.5
/usr/lib/libhogweed.so.4
/usr/lib/libhogweed.so.4.1
/usr/lib/libnettle.so
/usr/lib/libnettle.so.4
/usr/lib/libnettle.so.4.7
/usr/lib/libnettle.so.6
/usr/lib/libnettle.so.6.1

equery files nettle | grep '\.pc'
/usr/lib/pkgconfig/hogweed.pc
/usr/lib/pkgconfig/nettle.pc
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2015-09-25 19:45:31 UTC
Please update your pkgconf

*** This bug has been marked as a duplicate of bug 546092 ***
Comment 6 mAhdi 2015-09-25 20:05:10 UTC
Thanks it worked indeed.

Would be nice to stabilize pkgconfig (~)0.9.11 since it breaks stable tree.
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2015-09-25 20:06:14 UTC
(In reply to mAhdi from comment #6)
> Thanks it worked indeed.
> 
> Would be nice to stabilize pkgconfig (~)0.9.11 since it breaks stable tree.

yes, I opened bug#561496.
at that time pkgconf was unstable at all versions.