Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81125 - net-fs/nfs-utils-1.0.7 should only depend on libevent and nfsidmap if USE=nfsv4
Summary: net-fs/nfs-utils-1.0.7 should only depend on libevent and nfsidmap if USE=nfsv4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-07 08:16 UTC by Marien Zwart (RETIRED)
Modified: 2005-03-14 20:44 UTC (History)
0 users

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


Attachments
patch to nfs-utils-1.0.7.ebuild to make the depends conditional (patch,615 bytes, patch)
2005-02-07 08:17 UTC, Marien Zwart (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marien Zwart (RETIRED) gentoo-dev 2005-02-07 08:16:26 UTC
The new nfsutils depends unconditionally on libevent and nfsidmap, while these two are in fact only needed if you build the nfsv4 support. It compiles and works fine without these two libs. The README confirms this:

To use nfsv4 support you need libevent and libnfsidmap development
libraries.  They are available from 
   http://www.monkey.org/~provos/libevent/
   http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/
Otherwise use --disable-nfsv4


Reproducible: Always
Steps to Reproduce:
1. USE=-nfsv4 emerge -vp nfs-utils

Actual Results:  
libevent and nfsidmap in the dependencies

Expected Results:  
not installed unnecessary things.

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r7-m2 i686)
=================================================================
System uname: 2.6.10-gentoo-r7-m2 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.4-r1 [2.4 (#1, Feb  7 2005, 16:17:15)]
ccache version 2.3 [enabled]
dev-lang/python:     2.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -fweb -frename-registers"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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 /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -fweb -frename-registers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache confcache distlocks noauto prelink
sandbox sfperms userpriv usersandbox verify-rdepend"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://www.gigaload.org/gentoo.org/"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X alsa ansi bzip2 ccache cdr crypt dga edl emacs faad
fbcon flac fortran gnome gtk2 javascript jit jpeg libcaca maildir md5sum mmx
mmx2 mng mozdevelop mozsvg mpeg ncurses nethack network nls no-old-linux nptl
nptlonly oggvorbis opengl pam png python qemu-fast quicktime readline real rtc
sdl softmmu spell sse ssl svg symlink tetex truetype truetype-fonts unicode
userlocales xml2 xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Marien Zwart (RETIRED) gentoo-dev 2005-02-07 08:17:36 UTC
Created attachment 50621 [details, diff]
patch to nfs-utils-1.0.7.ebuild to make the depends conditional
Comment 2 SpanKY gentoo-dev 2005-03-14 20:44:49 UTC
done