Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 91530

Summary: php-4.3.11 (and mod_php-4.3.11?) won't build against Heimdal
Product: Gentoo Linux Reporter: Neil Darlow <neil>
Component: [OLD] ServerAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Neil Darlow 2005-05-05 00:05:17 UTC
I have recently added "kerberos" to my USE flags and emerged Heimdal as my choice of Kerberos V functionality.

During a rebuild of php-4.3.11 (from adding --newuse to emerge --update --deep world) I get a configure failure.

Looking at the output of configure, the error reported is that CRYPTO_free isn't found in -lcrypto. Looking further, at the contents of config.log, the failure is actually caused by the "-lgssapi_krb5" linker flag passed to the build of the conftest.c that checks for CRYPTO_free.

Heimdal doesn't install a library or symlink of that name so I suspect that php(/mod_php) are checking for a library or symlink only provided by mit-krb5.

Can Heimdal support be added to the php ebuilds? For the time being I've added -kerberos to the php and mod_php USE flags, until a resolution is found.

Regards,
Neil Darlow

Reproducible: Always
Steps to Reproduce:
1. Add kerberos to USE in make.conf
2. emerge heimdal on a system with php and mod_php installed
3. emerge --update --deep ---newuse world

Actual Results:  
Build fails during emerge of php for reason described in Details, above.

Expected Results:  
Perhaps configure should test for both heimdal and mit-krb5 variants of Kerberos?

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 i686)
=================================================================
System uname: 2.6.11-gentoo-r7 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.6.11
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 14:26:31)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
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.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/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"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acl acpi alsa apache2 arts audiofile avi berkdb bitmap-fonts blas
bzlib caps cddb cdparanoia cdr crypt cscope cups curl dga directfb djbfft dvd
dvdr emacs emboss encode exif fam fbcon ffmpeg fftw flac font-server foomaticdb
fortran gd gdbm gif gimpprint ginac gphoto2 gtk2 iconv imagemagick imlib innodb
ipv6 ithreads jpeg kde kerberos lcms ldap libg++ libwww mad mailwrapper mhash
mikmod mng motif mp3 mpeg mpi mysql ncurses nls nptl ogg oggvorbis opengl pam
pcre pdflib perl perlsuid pic plotutils png postgres povray ppds python qhull qt
quicktime readline real ruby samba sasl scanner sdl shared slp sndfile sox speex
spell sqlite sse ssl svg tcltk tcpd tetex theora threads tidy tiff truetype
truetype-fonts type1-fonts unicode usb vcd vorbis win32codecs xine xml2 xpm xv
zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-05 00:53:30 UTC

*** This bug has been marked as a duplicate of 46768 ***