experienced this problem with both versions of mod_php - 4.3.11 and 4.4.0 Reproducible: Always Steps to Reproduce: 1.emerge mod_php 2. 3. Actual Results: emerge fails Expected Results: should emerge correctly emerge info: Gentoo Base System version 1.6.12 Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 Pentium III (Coppermine) ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mcpu=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://mirror.gentoo.sk/gentoo-portage" USE="x86 X acl aim alsa apache2 apm avi berkdb bigger-fonts bitmap-fonts bzip2 caps ccache cdr crypt dga directfb divx4linux dlloader dvd dvdr emboss encode extensions fbcon flac font-server foomaticdb ftp gdbm gif glut gpm gtk gtk2 imagemagick imlib jabber java javascript jikes jpeg libg++ libwww mad mmx mng motif mozilla mp3 mpeg mysql ncurses nis nls nptl nptlonly nvidia ogg oggvorbis opengl pam pdflib perl php pic png python qt quicktime readline real rtc samba sdl slang sndfile sse ssl svg svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts unicode userlocales v4l v4l2 vim vim-with-x vorbis win32codecs wmf xml xml2 xmms xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS shell output: checking for YAZ support... no checking whether to include YP support... yes checking for yp_match in -lnsl... no checking for yp_match in -lc... no configure: error: Unable to find required yp/nis library I tried to add nis to my use flags and then reemerge pam > with no effect Maybe the problem is connected with glibc, i recently updated to version 2.3.5
have you tried to emerge -uD world --newuse Since you added nis to your use flags, --newuse will rebuild all packages that has that in it's use flags.. gblic might need to rebuild yes.
of course, I tried. the only package that need to rebuild was sys-libs/pam-0.78-r2
Try to reemerge glibc, since it searches in -lnls and -lc.
recompiled glibc 2.3.5 , with no effect at all.
--enable-yp is all ways included in the ./configure, shouldn't it depend on the nis use flag? After comenting it on /usr/portage/eclass/php-sapi.eclass it worked fine. mod_php compiled with gcc i686-pc-linux-gnu-3.2.3, but when I need i686-pc-linux-gnu-3.3.5-20050130 for pdftk it failed to compile on the yp check.
Not reproducible in the new overlay (link: http://svn.gnqs.org/projects/gentoo-php-overlay/ ), there it works. --enable-yp is no longer added to the ebuild, YP/NIS support will be provided through a PECL package (not so soon).
Closing.