Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83689 - dev-php/mod_php-4.3.10 configure: error: Cannot find a cracklib header file
Summary: dev-php/mod_php-4.3.10 configure: error: Cannot find a cracklib header file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-01 07:46 UTC by Hans-Christian Armingeon
Modified: 2005-04-11 17:58 UTC (History)
9 users (show)

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


Attachments
the requestet config log file (config.log,51.62 KB, text/x-log)
2005-03-09 02:11 UTC, Hans-Christian Armingeon
Details
config-log on my ppc machine (mod_php-4-3.10-ppc-config.log,52.26 KB, text/plain)
2005-03-14 16:29 UTC, Nicolas Vilz
Details
config-log on my x86 machine (php-x86-4.3.10-config.log,65.17 KB, text/plain)
2005-03-14 16:30 UTC, Nicolas Vilz
Details
Patch for cracklib-2.8_pre1-r1.ebuild (cracklib-2.8_pre1-workaround.patch,410 bytes, patch)
2005-03-15 16:29 UTC, Jürgen Hötzel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2005-03-01 07:46:35 UTC
[...]
Configuring extensions
checking for OpenSSL support... yes
checking for pkg-config... /usr/bin/pkg-config
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... /usr
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... yes
checking for BZ2_bzerror in -lbz2... yes
checking whether to enable calendar conversion support... yes
checking for cpdflib support... no
checking for CRACKlib support... yes
configure: error: Cannot find a cracklib header file

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/config.log

!!! ERROR: dev-php/mod_php-4.3.10 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.



Portage 2.0.51.18 (default-linux/x86/2004.2, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 mobile AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 13:00:21)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.4, 1.5, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /opt/glftpd/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/gcc/i686-pc-linux-gnu/3.4.3 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4 /usr/lib/mozilla/defaults/pref /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/bind /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
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 16bit 3dnow 3dnowex 3dnowext X X509 Xaw3d a52 aac aalib accessibility accounting acl acpi activefilter ada adns afs aim alsa apache2 apm arts artswrappersuid artworkextra asterisk async atm audiofile authdaemond avi bash-completion bcmath berkdb bidibitmap-fonts blas blender-game bluetooth bmp bonobo bootsplash boundchecking boundschecking brltty bzip2 bzlib c++ cairo calendarcamaelon caps cdda cddb cdio cdparanoia cdr cgi chasen chroot cle266 clearcase clearpasswd codecs cpdflib crypt cscope ctype cupscurl curlwrappers dbase dbm dbx dedicated devfs26 devmap dga dhcp dio directfb divx4linux djbfft dlloader dmalloc dmx dpms drac dts dv dvb dvd dvdr dvdread edl eds emacs emboss encode esd ethereal evo exif f77 faac faad fam fame fastcgi fax fb fbcon fbdev ffmpeg fftw filepro flac flash flatfile flexresp flood fltk fluidsynth font-server foomaticdb fortran fpx frascend freetype frlargefiles frxp ftp gb gcj gd gd-external gdbm ggi gif gimpprint ginac glitz glut gmp gnokii gnome gnomedb gnutls gphoto2 gpm gps graphviz gsm gsnd gstreamer gtk gtk2 gtkhtml guile hal haskell hdf5 howl httpd hub iconv icq icu idea idled ieee1394 imagemagic imagemagick imap imlib imlib2 immqt immqt-bc inetd inifile innodb insecure-drivers intl ipalias ipv6 irda isdn jabber jack jack-tmpfs java javascript jbig jce jikes jit jks jms joystick jpeg jpeg2k junit jython kcal kde kdeenablefinal kdexdeltas kerberos koffice-pluginkrb4 ladcca large-domain latex lcd lcms ldap leim lesstif libcaca libclamav libg++ libgda libsamplerate libwww live lm_sensors logitech-mouse logrotate lua lynxkeymap lzo lzw-tiff mad maildir maildrop mailwrapper matroska mbox mbrola mcal mcve md5sum mecab memlimit mhash mikmod mime ming mjpeg mmap mmx mmx2 mng modelock motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mpi mpm-leader mpm-metux mpm-peruser mpm-prefork mpm-threadpool mpm-worker mppe-mppc msn multicall multislot multitarget mysql mysql41 mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses netcdf nethack network neural nis nls nntp nptl nptlonly oav objc odbc offensive ogg oggvorbis openexr opengl oscar oss pam pam_chroot pam_console pam_timestamp pascal pcap pcmcia pcntl pcre pcsc-lite pda pdflib perforce perl pg-hier pg-intdatetime pg-vacuumdelay php pic plotutils png pnp portaudio posix postgres povray ppds prelude pri procmail pvm pwdb python qemu-fast qhull qt quicktime quotas radius rdesktop readline real resperl rhino rrdtool rtc ruby samba sample sasl sblive scanner sdk sdl sendfile serial server session sftplogging shaper shared sharedmem silc simplexml skey slang slp smartcard smime sms smtp smux sndfile snmp snortsam soap sockets socks5 softmmu softquota soundtouch sox spamassassin speex spell spl sql sqlite sse ssl static-modules stats stencil-buffer stream streamzap subject-rewrite subversion svg svga sysvipc szip tcltk tcpd test tetex tga theora threads tidy tiff timidity tokenizer transcode transparent-proxy truetype truetype-fonts type1-fonts ucs2 underscores unicode usb userlocales utf8 v4l v4l2 vcd vchroot vda vdesktop vhosts vidix vim-with-x virus-scan vlm vorbis vpopmail wddx wifi winbind wmf wxwindows x11vnc xanim xbase xfs xim xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo yaz zaptel zeroconf zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Dewet Diener 2005-03-03 09:54:21 UTC
Confirmed here as well :(

I assume this is an effect of bug #77556.
Comment 2 Will Wilson 2005-03-06 11:01:07 UTC
Happens to me too
Comment 3 Martin Wegner 2005-03-07 09:59:41 UTC
Having this problem, too. Would be nice if this could be fixed soon.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-03-08 17:24:38 UTC
please attach the file as instructed by the bug message!
!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/config.log

This is NOT related to bug 77556.
Comment 5 Hans-Christian Armingeon 2005-03-09 02:11:22 UTC
Created attachment 53001 [details]
the requestet config log file
Comment 6 Martin Wegner 2005-03-09 08:26:36 UTC
The check fails because it looks for the file /usr/include/packer.h which is provided only with <=cracklib-2.7-r10 . >=cracklib-2.8_pre1 no longer installs this file so this check fails.
Comment 7 Martin Wegner 2005-03-09 08:28:59 UTC
In addition:

downgrading to cracklib-2.7-r10 solves it
Comment 8 Joakim 2005-03-09 15:37:37 UTC
Yes, I can confirm the same.
Comment 9 Robert Muchacki (RETIRED) gentoo-dev 2005-03-11 04:02:58 UTC
After downgrading cracklib, my apache server does not work with -D PHP4 - after connecting it gets a "Connection closed by foreign host".
Comment 10 Albert Hopkins (RETIRED) gentoo-dev 2005-03-11 04:39:16 UTC
You may be getting the same problem I'm having.  For whatever reason, apache is segfaulting.  Haven't determined yet if it's an apache or php problem. /me hates php.  Check the log files.
Comment 11 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2005-03-13 11:45:13 UTC
experiencing the exact same problem with mod_php-4.3.10-r1 today....
Comment 12 Nicolas Vilz 2005-03-14 16:13:19 UTC
on my two machines, too, same error... 


one is ppc and the other is x86... with cracklib-2.8_pre1-r1 installed. on my ppc i wanted to merge mod_php-4.3.10 and on my x86 mod_php-4.3.10-r1
Comment 13 Nicolas Vilz 2005-03-14 16:29:44 UTC
Created attachment 53474 [details]
config-log on my ppc machine

this time on the correct bugnumber...
Comment 14 Nicolas Vilz 2005-03-14 16:30:29 UTC
Created attachment 53475 [details]
config-log on my x86 machine

same here... for x86
Comment 15 Nicolas Vilz 2005-03-14 16:31:31 UTC
on my ppc box:
Portage 2.0.51.19 (default-linux/ppc/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 ppc)
=================================================================
System uname: 2.6.10-gentoo-r6 ppc 7410, altivec supported
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 09:08:41)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.4_p6, 1.6.3, 1.5, 1.9.5
sys-devel/binutils:  2.15.90.0.3-r4
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache cvs distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo-distfiles.local.nil.nul/gentoo-portage"
USE="X aalib aim alsa altivec apache2 arts bash-completion berkdb bidi bitmap-fonts bluetooth bonobo bzip2 cddb cdr cdrom cjk clamav crypt cups curl dba directfb divx4linux dlloader dmx dvd dvdr dvdread eep emboss escreen esd etwin fam fbcon fla flac font-server foomaticdb fortran ftp gd gdbm gif gimpprint gpm gstreamer gtk gtk2 hardened hardenedphp iconv icq imagemagick imap imlib ipv6 ipv6arpa irda irmc jabber jack jack-tmpfs java jpeg junit ldap libwww mad maildir motif mozilla mp3 mpeg mpeg4 msn mysql ncurses nethack nls odbc oggvorbis opengl oscar pam pcmcia pda perl php png pnp postgres ppc ppds psyco pthreads python qt quicktime radeon readline samba screenshot sdl session slang soap spell sqlite ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1 type1-fonts unicode vhosts vim-with-x wmf xine xinerama xml xml2 xmms xprint xsl xv xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

on my x86-box:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) MP Processor 1900+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 19:00:50)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.5, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.10
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -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.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache cvs distlocks sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo-distfiles.local.nil.nul/gentoo-portage"
USE="x86 X aalib acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bluetooth caps crypt cups curl dba dedicated dvd emboss encode esd fam flac font-server foomaticdb fortran freetype ftp gd gdbm gif gimp gkrellm gnome gpm gstreamer gtk gtk2 icq imagemagick imlib ipv6 ithreads jack java jpeg kde kdepim libg++ libwww mad mailbox maildir maildrop mbox mikmod mmx motif mozilla mp3 mpeg mplayer mysql ncurses nls nowin nvidia oav offensive oggvorbis opengl oss pam pascal pdflib perl php png python qt quicktime readline ruby screenshot sdl session slang sms spell sql sqlite ssl subversion svga tcltk tcpd tiff truetype truetype-fonts type1-fonts vchroot vhosts xfs xine xinerama xml xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 16 Jürgen Hötzel 2005-03-15 16:29:50 UTC
Created attachment 53585 [details, diff]
Patch for cracklib-2.8_pre1-r1.ebuild

Patch for cracklib-2.8_pre1-r1.ebuild

I just contacted the cracklib author. packer.h will be back in 2.8.1. Meanwhile
this wouraround should help.
Comment 17 Jürgen Hötzel 2005-03-15 16:32:49 UTC
Btw. This seems to be a duplicate to: 

http://bugs.gentoo.org/show_bug.cgi?id=85289

Here is the quick response from the cracklib maintainer:
http://sourceforge.net/mailarchive/forum.php?thread_id=6812171&forum_id=43956

Comment 18 Martin Wegner 2005-03-15 22:01:55 UTC
Interesting that a bug with a higher number adressing the same issue as this bug and opened two weeks later than this bug is resolved earlier. I'll test new cracklib releaese later this day.
Comment 19 Ronald Hummelink 2005-03-16 08:23:19 UTC
The packer.h included with cracklib 2.8.1 is quite lame imho.

it uses uint32_t datatype, which is provided by stdint.h but packer.h claims:

/* This header expects the SUSv2 integer types to be available, if not,
   it will not compile. */

Either php's crack.c should include stdint.h, but really, packer.h should include it itself. I added #include <stdint.h> and php will build with cracklib 2.8.1's packer.h 


Comment 20 Mark Felder 2005-03-31 08:25:04 UTC
it breaks again with cracklib 2.8.2. Yet another problem with the header file.


/usr/include/packer.h:47: error: storage size of "header" isn't known



Comment 21 Nicolas Vilz 2005-04-02 02:51:23 UTC
with sys-libs/cracklib-2.7-r11 it works for me... strange but true...

its a 80 percent x86 (not ~x86)-machine... so it works with that cracklib there...

i hope that might help you...
Comment 22 SpanKY gentoo-dev 2005-04-11 17:58:14 UTC
packer.h is now installed, so this issue is FIXED

the fact that it may not work great is Bug 85557