Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23700 - Missing line in /etc/make.profile/use.defaults
Summary: Missing line in /etc/make.profile/use.defaults
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 19994
  Show dependency tree
 
Reported: 2003-06-29 08:40 UTC by Bernhard Schmidt
Modified: 2005-02-06 18:01 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Schmidt 2003-06-29 08:40:49 UTC
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"
Comment 1 Paul de Vrieze (RETIRED) gentoo-dev 2003-12-29 11:22:02 UTC
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
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-12-29 11:51:22 UTC
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 ...)
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-12-31 16:33:49 UTC
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?
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-26 10:45:08 UTC
ryan, wacha think?
Comment 5 Ryan Phillips (RETIRED) gentoo-dev 2004-08-11 15:59:38 UTC
Bernhard:
is this bug still valid?
Comment 6 SpanKY gentoo-dev 2004-09-24 19:34:05 UTC
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
Comment 7 Ryan Phillips (RETIRED) gentoo-dev 2005-02-06 18:01:34 UTC
committed PROVIDE="virtual/afs"