The line afs net-fs/openafs should be set in /etc/make.profile/use.defaults in order to set the afs use-flag automatically when OpenAFS is installed. This solves the bug 19994 (http://bugs.gentoo.org/show_bug.cgi?id=19994). Reproducible: Always Steps to Reproduce: 1. emerge openafs 2. emerge findutils (4.1.7-r4) Actual Results: Compilation of findutils fails due to a missing include of openafs Expected Results: Compilation should be successful. Compilation works when the afs use-flag is set by hand. Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.21 i686 AMD Athlon(TM) XP 2000+ GENTOO_MIRRORS="http://mirror.ipv6.chello.com/linux/gentoo http://www.fhh.opensource-mirror.de/gentoo.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime slang spell truetype xml2 xmms xv zlib gdbm berkdb readline svga java guile mysql sdl gpm tcpd pam ssl perl python esd imlib oggvorbis motif opengl mozilla cdr afs X gtk gnome alsa ipv6 -kde -qt -arts tcltk gtk2" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
findutils should never fail if afs is available but not in the use flags. This makes this two issues: - findutils is broken if afs is not in the useflags, but openafs is present - openafs might be added to use.defaults
Can you edit the ebuild, and add '--without-afs' to the configure, and run: # USE='-afs' emerge findutils to see if that makes it build ok (it should still build ok with afs not in USE, but openafs installed - we can fix the defaults file later on ...)
Being the maintainer of openafs, is the change to use.defaults Ok? I am not familiar with afs, so not sure if its the best version of afs userspace (if more than one) out there?
ryan, wacha think?
Bernhard: is this bug still valid?
it's still valid if you want it, add a line to profiles/base/use.defaults if you dont want it, close this bug already
committed PROVIDE="virtual/afs"