Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89050 - Error emerging mod_php, STRINGSIZE from cracklib undefined
Summary: Error emerging mod_php, STRINGSIZE from cracklib undefined
Status: RESOLVED DUPLICATE of bug 88907
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-14 00:44 UTC by Martin von Gagern
Modified: 2005-07-17 13:06 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 Martin von Gagern 2005-04-14 00:44:53 UTC
When I emerge dev-php/mod_php-4.3.11-r2, I get an error in some method that is related to cracklib. I have sys-libs/cracklib-2.8.3 installed. I also had some cracklib-related error with dev-php/mod_php-4.3.10-r1, although I'm not sure if the message was exactly the same.

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

Actual Results:  
/var/tmp/portage/mod_php-4.3.11-r2/work/php-4.3.11/ext/crack/crack.c: In
function `zif_crack_check':
/var/tmp/portage/mod_php-4.3.11-r2/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-r2/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-r2/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....

!!! ERROR: dev-php/mod_php-4.3.11-r2 failed.



[ebuild  NS   ] dev-php/mod_php-4.3.11-r2  +X +apache2 +berkdb +crypt +curl
-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 0 kB 

STRINGSIZE is not defined in /usr/include/packer.h because IN_CRACKLIB is
undefined. Adding this line to src_compile in the ebuild helped:
CFLAGS="${CFLAGS} -DIN_CRACKLIB"
But I guess this should be considered a workaround, not a solution.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-04-14 00:46:56 UTC

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