Summary: | /usr/include/packer.h doesn't include stdint.h | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Presthus <firemorph> |
Component: | [OLD] Development | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arpeda, castan.o, dan.dickey, f5d8fd51ed1e804c9e8d0357e8614e0493b06e96, troworld |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Thomas Presthus
2005-03-17 16:14:34 UTC
Bug in new cracklib, base-system? the new cracklib itself notes this requirement in the packer.h (open it up in a header and read the notice about SuSv2 requirements) i'll consult upstream e-mailed a patch upstream, we'll see how it goes *** Bug 85557 has been marked as a duplicate of this bug. *** cracklib-2.8.3 should fix this cracklib-2.8.3 didn't solve the problem for me. My special problem is http://bugs.gentoo.org/show_bug.cgi?id=85557 only with mod_php-3.3.11-r1 Sorry for the spamming! has to be mod_php-4.3.11-r1 --- cracklib-2.8.3 didn't solve the problem for me. My special problem is http://bugs.gentoo.org/show_bug.cgi?id=85557 only with mod_php-4.3.11-r1 ok I can confirm, that cracklib-2.8.3 works fine with mod_php-5.0.3-r2, but fails with mod_php-4.3.11-r4. The error I get are about: /bin/sh /var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/ctype/ -I/var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/ext/ctype/ -DPHP_ATOM_INC -I/var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/include -I/var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/main -I/var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11 -I/usr/include/libxml2 -I/usr/X11R6/include -I/usr/include/freetype2 -I/var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/ext/mbstring/mbregex -I/var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/ext/mbstring/libmbfl -I/var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/ext/mbstring/libmbfl/mbfl -I/usr/include/mysql -I/usr/include/pspell -I/usr/qt/3/include -I/var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/ext/xml/expat -I/var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/TSRM -I/var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/Zend -O2 -march=athlon-xp -fomit-frame-pointer -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-non-pic -c /var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/ext/ctype/ctype.c -o ext/ctype/ctype.lo /var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/ext/crack/crack.c: In function `zif_crack_check': /var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/ext/crack/crack.c:214: error: `STRINGSIZE' undeclared (first use in this function) /var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/ext/crack/crack.c:214: error: (Each undeclared identifier is reported only once /var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/ext/crack/crack.c:214: error: for each function it appears in.) make: *** [ext/crack/crack.lo] Error 1 make: *** Waiting for unfinished jobs.... just for the record: I ran into this bug too while emerging mod_php-4.3.11-r2 and having cracklib-2.8.2 installed. /var/tmp/portage/mod_php-4.3.11-r1/work/php-4.3.11/ext/crack/crack.c:214: error: `STRINGSIZE' undeclared (first use in this function) this STRINGSIZE is declared in /usr/include/packer.h. looks like packer.h got b0rked. A temporary fix for those who wanna emerge mod_php/php. add "-DIN_CRACKLIB" to your C[XX]FLAGS. this works just fine (obviousely) as packer.h does include major parts of itself only when this define has been set. Though, you lie, and pretent to be cracklib, but that's maybe even an upstream bug ;) just my 2 cents ;-) What about adding : has_version '>=sys-libs/cracklib-2.8.3' && append-flags "-DIN_CRACKLIB" in php-sapi.eclass php-sapi_src_compile() function ? how about just making mod_php-4.3.11-r1 depend on cracklib<=2.8.1 ? no offense but that's a dumb idea i'll chat with upstream again about getting the define's moved outside of IN_CRACKLIB ok, got this tweaked upstream and added 2.8.3-r1 to portage which fixed things for me *** Bug 88907 has been marked as a duplicate of this bug. *** |