emerge errors out checking for libgcrypt >= 1.2.0 but I actually have 1.2.1 installed. *** Checking for external libraries... checking for libgcrypt-config... no checking for LIBGCRYPT - version >= 1.2.0... no configure: error: ... * dev-libs/libgcrypt Latest version available: 1.2.1 Latest version installed: 1.2.1 Reproducible: Always Steps to Reproduce: 1. emerge -uvD world 2. 3. Actual Results: !!! ERROR: net-libs/gnutls-1.2.4 failed. Expected Results: successfully install gnutls-1.2.4 Portage 2.0.51.22-r2 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.5-r0, 2.6.11-gentoo-r7 x86_64) ================================================================= System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=k8 -mtune=k8 -fomit-frame-pointer -fprefetch-loop-arrays -pipe -maccumulate-outgoing-args" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CTARGET="x86_64-pc-linux-gnu" CXXFLAGS="-O3 -march=k8 -mtune=k8 -fomit-frame-pointer -fprefetch-loop-arrays -pipe -maccumulate-outgoing-args" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.chem.wisc.edu/gentoo/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aalib aim alsa amd64 arts avi berkdb bitmap-fonts bonobo cdparanoia cdr crypt cups curl directfb dvd dvdr dvdread eds encode esd fam fbcon flac foomaticdb fortran gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile ieee1394 imagemagick imlib ipv6 java jikes joystick jpeg junit kde kdeenablefinal lzw lzw-tiff mad maildir mikmod mjpeg motif mozilla mp3 mpeg multilib nas ncurses nls nvidia ogg oggvorbis opengl pam pdflib perl png postgres ppds python qt quicktime readline real ruby samba sblive sdl slang speex spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xine xinerama xml xml2 xmms xpm xprint xv yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
odd - please attach /var/tmp/portage/gnutls-1.2.4/work/gnutls-1.2.4/config.log Does it fail for any later gnutls version?
Created attachment 65300 [details] /var/tmp/portage/gnutls-1.2.4/work/gnutls-1.2.4/config.log I did not have permission to attach /var/tmp/portage/gnutls-1.2.4/work/gnutls-1.2.4/config.log so I sudo cp'd it to a file I could attach.
(In reply to comment #1) > odd - please attach /var/tmp/portage/gnutls-1.2.4/work/gnutls-1.2.4/config.log > > Does it fail for any later gnutls version? Later versions are Masked, so I am reluctant to emerge them. In fact, I've never emerged a Masked ebuild before, and don't know how to. I added 1.2.4 to /etc/portage/package.mask to force my system to only update to 1.2.3, but the same problem exists for 1.2.3 as well.
from your config.log: configure:8112: checking for libgcrypt-config configure:8143: result: no configure:8159: checking for LIBGCRYPT - version >= 1.2.0 configure:8196: result: no configure:8230: error: *** *** libgcrypt was not found. You may want to get it from This is what I had: configure:8112: checking for libgcrypt-config configure:8130: found /usr/bin/libgcrypt-config configure:8143: result: /usr/bin/libgcrypt-config configure:8159: checking for LIBGCRYPT - version >= 1.2.0 configure:8193: result: yes Do you have a file /usr/bin/libgcrypt-config? If not try to re-emerge libgcrypt. FYI for a description on package masking/keywords look at man 5 portage. to get an updated gnutls version you could: echo ~net-libs/gnutls-1.2.6 ~amd64 >> /etc/portage/package.keywords This is just FYI - I'm more interested why you don't have /usr/bin/libgcrypt-config installed with libgcrypt
(In reply to comment #4) > Do you have a file /usr/bin/libgcrypt-config? > If not try to re-emerge libgcrypt. Okay... I do not have that file, and after emerging libgcrypt again, I still do not have that file. So I bought a clue, and searched /usr/bin and found x86_64-pc-linux-gnu-libgcrypt-config instead. Now I know I can make a symbolic link to this and get my gnutls, but is that the best solution?
sounds like a good short term solution. amd64 people - know what's going on here?
I have libcrypt-1.2.1 installed emerge of gnutls-1.2.4 works fine (libgcrypt is detected fine during configure, /usr/bin/libgcrypt-config already exists) Therefore, problem not reproducible here Jim emerge --info follows Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, .12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/sh/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/se/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac alsa amarok amd64 avi berkdb bitmap-fonts browserplugin cdb cdr cr cups curl dvd dvdr dvdread eds encode esd fam foomaticdb fortran gif gphoto2m gstreamer gtk gtk2 hal imlib ipv6 java jpeg junit kde kdeenablefinal lzw lziff mad mikmod mp3 mpeg msn ncurses nls nocd nvidia ogg oggvorbis opengl pam lib perl pic png python qt quicktime readline real samba sdl spell ssl symlincpd theora tiff truetype truetype-fonts type1-fonts usb userlocales v4l vcd vis xine xml2 xpm xv zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
(In reply to comment #6) > sounds like a good short term solution. It shouldn't harm, but it's probably better to find out why it writes such a strange -config script > amd64 people - know what's going on here? Nope :D
Mike, Sorry I haven't got back to you for a while, I got a bit busy. Given noone else has CC themselves here this seems to be a odd one off. If you can still reproduce this problem can you attach the output of the install stage. The bit I'm interested in is the install of the lib directory. Below is my output for reference. make[2]: Entering directory `/var/tmp/portage/gnutls-1.2.4/work/gnutls-1.2.4/lib' make[3]: Entering directory `/var/tmp/portage/gnutls-1.2.4/work/gnutls-1.2.4/lib' test -z "/usr/bin" || mkdir -p -- "/var/tmp/portage/gnutls-1.2.4/image//usr/bin" test -z "/usr/lib" || mkdir -p -- "/var/tmp/portage/gnutls-1.2.4/image//usr/lib" /bin/install -c 'libgnutls-config' '/var/tmp/portage/gnutls-1.2.4/image//usr/bin/libgnutls-config' /bin/sh ../libtool --mode=install /bin/install -c 'libgnutls.la' '/var/tmp/portage/gnutls-1.2.4/image//usr/lib/libgnutls.la' /bin/install -c .libs/libgnutls.so.12.3.1 /var/tmp/portage/gnutls-1.2.4/image//usr/lib/libgnutls.so.12.3.1 test -z "/usr/share/aclocal" || mkdir -p -- "/var/tmp/portage/gnutls-1.2.4/image//usr/share/aclocal" /bin/install -c -m 644 'libgnutls.m4' '/var/tmp/portage/gnutls-1.2.4/image//usr/share/aclocal/libgnutls.m4' test -z "/usr/lib/pkgconfig" || mkdir -p -- "/var/tmp/portage/gnutls-1.2.4/image//usr/lib/pkgconfig" /bin/install -c -m 644 'gnutls.pc' '/var/tmp/portage/gnutls-1.2.4/image//usr/lib/pkgconfig/gnutls.pc' (cd /var/tmp/portage/gnutls-1.2.4/image//usr/lib && rm -f libgnutls.so.12 && ln -s libgnutls.so.12.3.1 libgnutls.so.12) (cd /var/tmp/portage/gnutls-1.2.4/image//usr/lib && rm -f libgnutls.so && ln -s libgnutls.so.12.3.1 libgnutls.so) /bin/install -c .libs/libgnutls.lai /var/tmp/portage/gnutls-1.2.4/image//usr/lib/libgnutls.la /bin/install -c .libs/libgnutls.a /var/tmp/portage/gnutls-1.2.4/image//usr/lib/libgnutls.a i686-pc-linux-gnu-ranlib /var/tmp/portage/gnutls-1.2.4/image//usr/lib/libgnutls.a chmod 644 /var/tmp/portage/gnutls-1.2.4/image//usr/lib/libgnutls.a libtool: install: warning: remember to run `libtool --finish /usr/lib' make[3]: Leaving directory `/var/tmp/portage/gnutls-1.2.4/work/gnutls-1.2.4/lib' make[2]: Leaving directory `/var/tmp/portage/gnutls-1.2.4/work/gnutls-1.2.4/lib'
need more info on how to replicate this if it is possible. Please reopen if this reoccurs.