I installed ypbind from a package and it fails to run becuase openslp is not installed. A trace of the portage tree (emerge -evp ypbind) doesn't seem to indicate that it's a dependacy. Also, installing ypbind from a package does not install yp-tools which is built and installed without -k. This is regarding net-nds/ypbind-1.17.2 Reproducible: Always Steps to Reproduce: On machine 1 1.emerge -b ypbind On machine 2 2. emerge -k ypbind (using a common nfs package share) Gentoo Base System version 1.4.16 Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r7) ================================================================= System uname: 2.6.7-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages/x86/pentium4_nptl" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage.overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sdl slang socks5 spell sse ssl svga tcltk tcpd tiff truetype wifi x86 xml xml2 xmms xv zlib"
what is the error you get when openslp isn't installed?
Sorry, it fails to load a .so file related to openslp, the machine is at work, I can try to recreate the problem and post the exact error next week.
fixer ypbind and ypserv. thanks.
Created attachment 38118 [details, diff] patch to ypbind-1.17.2-r1.ebuild to honor "slp" use flag
Thanks for adding the slp flag. I should have also noticed that the *DEPEND flags look wrong. portmap and yp-tools should be in RDEPEND as they're not needed to compile ypbind, but are needed at runtime. openslp is also needed at runtime, as it includes shared libs. gettext is needed at both compile and runtime. I'm attaching a patch to fix this.
Created attachment 41366 [details, diff] patch to ypbind-1.17.2-r1.ebuild to fix *DEPEND vars
If you like, you can also mark ypbind-1.17.2-r1 stable for ia64 and ppc. I've been using it for months on those platforms without issue.
done, thanks.