If I try to emerge aide-0.9 with USE=-crypt, the "configure" dies, complaining that it can't find libgcrypt. Indeed, the system doesn't have libgcrypt installed; but because of the USE flag, the configure script shouldn't look for libgcrypt in the first place. The bug is in the configure script, which treats --without-gcrypt identically to --with-gcrypt. The ebuild already has a workaround for a similar problem with USE=-postgres. Attached is a patch that applies the same workaround to the "crypt" USE flag. Reproducible: Always Steps to Reproduce: 1. USE=-crypt emerge aide 2. 3. Actual Results: [much output deleted] checking for regexec... yes checking for regcomp... yes checking for gcrypt.h... no You don't have libgcrypt properly installed. Install it if you need one. !!! ERROR: app-admin/aide-0.9 failed. Expected Results: Not check for libgcrypt at all. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r9) ================================================================= System uname: 2.4.20-gentoo-r9 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache buildpkg keeptemp keepwork" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 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="x86 oss apm avi crypt cups encode foomaticdb gif gtk2 jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java ruby mysql postgres X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt opengl mozilla acl curl dga doc dvd freetype fs gd imap innodb javascript ldap mbox samba sasl snmp -cdr" But note that the "crypt" setting was overridden on the emerge command line with USE=-crypt.
Created attachment 22122 [details, diff] Patch for aide-0.9.ebuild
Woops, I should have said, "Reproducible: if libgcrypt is NOT present on the system".
in cvs thx