Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85557 - mod_php-4.3.10-r1 fails to emerge with cracklib-2.8.1installed
Summary: mod_php-4.3.10-r1 fails to emerge with cracklib-2.8.1installed
Status: RESOLVED DUPLICATE of bug 85698
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 88242 88773 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-16 12:57 UTC by f5d8fd51ed1e804c9e8d0357e8614e0493b06e96
Modified: 2005-07-17 13:06 UTC (History)
14 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 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2005-03-16 12:59:05 UTC
this is not the missing header error I got earlier and that has been fixed in the meanwhile, but a new one....

This is what happens when emerging mod_php:
..........
/bin/sh /var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/libtool --silent --preserve-dup-deps --mode=compile gcc  -Iext/ctype/ -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/ctype/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/include -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/main -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10 -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/Zend -I/usr/include/libxml2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/mbstring/mbregex -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/mbstring/libmbfl -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/postgresql/pgsql -I/usr/include/pspell -I/usr/qt/3/include -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/xml/expat  -I/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/TSRM  -O3 -march=i686 -funroll-loops -pipe -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -pthread  -prefer-pic -c /var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/ctype/ctype.c -o ext/ctype/ctype.lo
In file included from /var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:30:
/usr/include/packer.h:28: error: parse error before "uint32_t"
/usr/include/packer.h:30: error: parse error before "pih_blocklen"
/usr/include/packer.h:31: error: parse error before "pih_pad"
/usr/include/packer.h:40: error: parse error before "uint32_t"
/usr/include/packer.h:50: error: conflicting types for 'data'
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/main/php.h:259: error: previous declaration of 'data' was here
/usr/include/packer.h:50: error: conflicting types for 'data'
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/main/php.h:259: error: previous declaration of 'data' was here
/usr/include/packer.h:51: error: parse error before '}' token
/usr/include/packer.h:56: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:32: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:33: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: In function `_crack_open_dict':
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:71: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:71: error: (Each undeclared identifier is reported onlyonce
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:71: error: for each function it appears in.)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: At top level:
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:99: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: In function `_close_crack_dict':
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:101: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: In function `zif_crack_closedict':
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:176: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:199: error: parse error before ')' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: In function `zif_crack_check':
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:216: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c:239: error: parse error before ')' token
/var/tmp/portage/mod_php-4.3.10-r1/work/php-4.3.10/ext/crack/crack.c: At top level:
/usr/include/packer.h:47: error: storage size of `header' isn't known
make: *** [ext/crack/crack.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-php/mod_php-4.

Reproducible: Always
Steps to Reproduce:




root (/home/aaron): emerge info 
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110, 
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r3 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r3 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.6.10 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 01:13:25)] 
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.7.9-r1, 1.4_p6, 1.5, 1.6.3, 1.8.5-r3 
sys-devel/binutils:  2.15.92.0.2-r5, 2.15.92.0.2-r6 
sys-devel/libtool:   1.5.14 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=i686 -funroll-loops -pipe" 
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 /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="-O3 -march=i686 -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo 
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://pandemonium.tiscali.de/pub/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" 
USE="x86 X Xaw3d acpi alsa apache2 apm arts avi bash-completion bash_completion 
berkdb bitmap-fonts cdb cdr cjki crypt dba emacs emboss encode esd fam fbcon 
flac font-server foomaticdb fortran gd gd-external gdbm gif gphoto2 gpm 
graphviz gtk2 icc imagemagick imlib ipv6 java jpeg jpeg2k junit kde libg++ 
libwww lm_sensors mad mikmod mmx motif mp3 mpeg multislot mysql ncurses nls 
objc oggvorbis opengl oss pam pcmcia pdflib perl png pnp postgres python qt 
quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff 
toolbar truetype truetype-fonts type1-fonts unicode usb winbind xchatnogtk 
xchattext xml2 xprint xv zlib linguas_de" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2005-03-18 09:31:27 UTC
Seems like http://bugs.gentoo.org/show_bug.cgi?id=83689#c19 also applies here... and adding 
#include <stdint.h>
to cracklib's packer.h makes mod_php compile...

So this is a serious problem with recent cracklib that needs to be fixed...
Comment 2 Richard Liu 2005-03-18 16:38:34 UTC
sam as cracklib 2.8.2

I downgraded the cracklib to 2.7.1-r11 and recompiled php/mod_php.
it seen ok
Comment 3 Martin Mokrejš 2005-03-20 02:31:34 UTC
Have same problem with cracklib-2.8.2. Have downgraded to 2.7-r11 and that helped mee too.
Comment 4 f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 2005-03-22 14:32:20 UTC
according to the cracklib mailing list the cracklib developer is working on getting the issue fixed....

http://sourceforge.net/mailarchive/forum.php?thread_id=6835543&forum_id=43956
Comment 5 Sean Sullivan 2005-03-30 12:20:47 UTC
Almost the same issue here when building mod_php-4.3.10-r1. Trying to build 4.3.10 produced same error.

In file included from /var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c:30:
/usr/include/packer.h:28: error: parse error before "uint32_t"
/usr/include/packer.h:30: error: parse error before "pih_blocklen"
/usr/include/packer.h:31: error: parse error before "pih_pad"
/usr/include/packer.h:40: error: parse error before "uint32_t"
/usr/include/packer.h:50: error: conflicting types for 'data'
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/main/php.h:259: error: previous declaration of 'data' was here
/usr/include/packer.h:50: error: conflicting types for 'data'
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/main/php.h:259: error: previous declaration of 'data' was here
/usr/include/packer.h:51: error: parse error before '}' token
/usr/include/packer.h:56: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c:32: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c:33: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c: In function `_crack_open_dict':
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c:71: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c:71: error: (Each undeclared identifier is reported only once
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c:71: error: for each function it appears in.)
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c: At top level:
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c:99: error: parse error before '*' token
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c: In function `_close_crack_dict':
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c:101: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c: In function `zif_crack_closedict':
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c:176: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c:199: error: parse error before ')' token
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c: In function `zif_crack_check':
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c:216: error: `pwdict' undeclared (first use in this function)
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c:239: error: parse error before ')' token
/var/tmp/portage/mod_php-4.3.10/work/php-4.3.10/ext/crack/crack.c: At top level:
/usr/include/packer.h:47: error: storage size of `header' isn't known
make: *** [ext/crack/crack.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-php/mod_php-4.3.10 failed.
!!! Function php-sapi_src_compile, Line 544, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

bitwise sean # emerge info
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar  9 2005, 09:26:45)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-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=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 audiofile avi berkdb bitmap-fonts cdparanoia cdr crypt cups curl dbm divx4linux dvd dvdread encode fam flac font-server foomaticdb fortran gif gpm imagemagick ipv6 java jp2 jpeg junit libclamav libwww lzw lzw-tiff mailwrapper motif mozilla mp3 mpeg mysql mysqli ncurses nls nvidia ogg oggvorbis opengl oss pam perl php png python qt readline samba ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xine xml xml2 xmms xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 6 David E. Smith 2005-04-05 10:56:37 UTC
Bug can be reproduced on Sparc. Same solution applies (downgrade cracklib to 2.7-r11).
Comment 7 Christian Parpart (RETIRED) gentoo-dev 2005-04-10 16:41:53 UTC
*** Bug 88242 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2005-04-11 17:53:08 UTC
*** Bug 88773 has been marked as a duplicate of this bug. ***
Comment 9 SpanKY gentoo-dev 2005-04-11 17:59:07 UTC

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