Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60239 - Should ypbind have a run-time dependancy on openslp? and maybe yp-tools?
Summary: Should ypbind have a run-time dependancy on openslp? and maybe yp-tools?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-13 10:02 UTC by Shannon Barber
Modified: 2004-10-08 10:48 UTC (History)
0 users

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


Attachments
patch to ypbind-1.17.2-r1.ebuild to honor "slp" use flag (ypbind.patch,625 bytes, patch)
2004-08-24 13:43 UTC, splite
Details | Diff
patch to ypbind-1.17.2-r1.ebuild to fix *DEPEND vars (ypbind.patch,504 bytes, patch)
2004-10-08 08:00 UTC, splite
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shannon Barber 2004-08-13 10:02:55 UTC
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"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-17 14:20:17 UTC
what is the error you get when openslp isn't installed?
Comment 2 Shannon Barber 2004-08-20 22:37:54 UTC
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.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-08-23 14:53:54 UTC
fixer ypbind and ypserv.  thanks.
Comment 4 splite 2004-08-24 13:43:34 UTC
Created attachment 38118 [details, diff]
patch to ypbind-1.17.2-r1.ebuild to honor "slp" use flag
Comment 5 splite 2004-10-08 07:59:03 UTC
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.
Comment 6 splite 2004-10-08 08:00:37 UTC
Created attachment 41366 [details, diff]
patch to ypbind-1.17.2-r1.ebuild to fix *DEPEND vars
Comment 7 splite 2004-10-08 08:02:13 UTC
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.
Comment 8 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-08 10:48:19 UTC
done, thanks.