Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99319 - emerge mod_php and php fails, missing yp/nis library
Summary: emerge mod_php and php fails, missing yp/nis library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-17 05:01 UTC by Juraj Magyarics
Modified: 2005-08-25 10:14 UTC (History)
2 users (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 Juraj Magyarics 2005-07-17 05:01:54 UTC
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
Comment 1 Stian Skjelstad 2005-07-17 05:07:50 UTC
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.
Comment 2 Juraj Magyarics 2005-07-17 05:12:56 UTC
of course, I tried. the only package that need to rebuild was sys-libs/pam-0.78-r2
Comment 3 Stian Skjelstad 2005-07-17 05:25:19 UTC
Try to reemerge glibc, since it searches in -lnls and -lc.
Comment 4 Juraj Magyarics 2005-07-17 06:40:57 UTC
recompiled glibc 2.3.5 , with no effect at all.

Comment 5 Daniel Feliciano Branco 2005-08-05 03:18:16 UTC
--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.

Comment 6 Luca Longinotti (RETIRED) gentoo-dev 2005-08-25 10:01:05 UTC
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).
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-08-25 10:14:05 UTC
Closing.