Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67968 - mod_php and cracklib failed to compilation, so emerge failed.
Summary: mod_php and cracklib failed to compilation, so emerge failed.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-17 22:36 UTC by Aurelien Requiem
Modified: 2004-11-01 18:13 UTC (History)
0 users

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 Aurelien Requiem 2004-10-17 22:36:30 UTC
I've tried to recompile mod_php-4.3.9. It fails everytime when checking for cracklib support. Early today, i've updated my cracklib (emerge -uv world) to version cracklib-2.7-r9.

Reproducible: Always
Steps to Reproduce:
1. emerge -v mod_php



Actual Results:  
compilation fails

Expected Results:  
mod_php should compile.

Additionnal informations on how i've corrected the problem.
I've juste added links in /usr/lib for files /lib/libcrack.so* and all works
like a charm !

The configure in mod_php seems to use gcc flags for library inclusion like this
"-L/usr/lib", nothing related to "/lib"

Packages settings :
sys-libs/cracklib-2.7-r9  -debug -pam -(uclibc)
dev-php/mod_php-4.3.9  -X +apache2 -berkdb +crypt -curl -debug -debug -debug
-doc -fdftk -firebird -flash -freetds +gd -gd-external -gdbm -gmp -hardenedphp
+imap -informix -ipv6 -java +jpeg -kerberos +ldap -mcal -memlimit -mssql +mysql
+nls -oci8 -odbc -pam -pdflib +png -postgres -qt +snmp -spell +ssl +tiff
+truetype +xml2 -yaz 

Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r2,
2.6.7-gentoo-r11-grsec)
=================================================================
System uname: 2.6.7-gentoo-r11-grsec i686 Celeron (Mendocino)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://mirrors.sunsite.dk/gentoo http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/local/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.menfin.net/gentoo-portage"
USE="aavm apache2 apm arts avi bitmap-fonts crypt encode evms2 f77 fam
foomaticdb gd gtk2 imap imlib jpeg ldap libg++ mad mikmod mysql ncurses
oggvorbis opengl oss perl png quicktime readline sdl slang ssl svga tcpd tiff
truetype x86 xml2 xmms xprint xv zlib"
Comment 1 Eric Paynter 2004-10-19 22:01:37 UTC
I had the same problem, and the workaround fixed it.

Package info:

# emerge info
Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r9)
=================================================================
System uname: 2.4.26-gentoo-r9 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://128.213.5.34/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="mmx ncurses perl python sse x86"
Comment 2 Gregor Kopka 2004-11-01 17:01:39 UTC
Same problem here. After downgrading cracklib to sys-libs/cracklib-2.7-r8 mod_php is able to emerge.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-11-01 18:13:51 UTC
/usr/lib and /lib are implictly included when gcc links anything, unless you specify that they are not to be used with -nostdlibs.

I've updated the version of cracklib that's pulled anyway.