Summary: | mod_php-4.3.10-r1 fails to emerge with cracklib-2.8.1installed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 |
Component: | [OLD] Unspecified | Assignee: | SpanKY <vapier> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | c, fusero, gentoo-bugs2, himself, howard_b_golden, jmbsvicetto, matteo-ml, meyerm, mmokrejs, php-bugs, rizzo, sparc, spock, trapni |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
f5d8fd51ed1e804c9e8d0357e8614e0493b06e96
2005-03-16 12:59:05 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... sam as cracklib 2.8.2 I downgraded the cracklib to 2.7.1-r11 and recompiled php/mod_php. it seen ok Have same problem with cracklib-2.8.2. Have downgraded to 2.7-r11 and that helped mee too. 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 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 Bug can be reproduced on Sparc. Same solution applies (downgrade cracklib to 2.7-r11). *** Bug 88242 has been marked as a duplicate of this bug. *** *** Bug 88773 has been marked as a duplicate of this bug. *** |