Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 30237

Summary: dev-php/mod_php-4.3.3-r1 and dev-php/php-4.3.3-r2 fails to compile
Product: Gentoo Linux Reporter: Itay <z9u2k>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Itay 2003-10-03 04:27:56 UTC
while upgrading php and mod_php, portage quits with compilation errors (see in 
actual results). 

Reproducible: Always
Steps to Reproduce:
1. emerge sync 
2. emerge -u mod_php 
3. emerge -u php 
Actual Results:  
both returns same compilation error: 
 
In file included from /usr/include/net-snmp/utilities.h:39, 
                 from /usr/include/net-snmp/net-snmp-includes.h:64, 
                 from 
/var/tmp/portage/mod_php-4.3.3-r1/work/php-4.3.3/ext/snmp/snmp.c:80: 
/usr/include/net-snmp/library/data_list.h:29: syntax error before 
"netsnmp_data_list" 
/usr/include/net-snmp/library/data_list.h:41: syntax error before "void" 
/var/tmp/portage/mod_php-4.3.3-r1/work/php-4.3.3/ext/snmp/snmp.c: In function 
`netsnmp_session_gen_auth_key': 
/var/tmp/portage/mod_php-4.3.3-r1/work/php-4.3.3/ext/snmp/snmp.c:803: warning: 
initialization discards qualifiers from pointer target type 
/var/tmp/portage/mod_php-4.3.3-r1/work/php-4.3.3/ext/snmp/snmp.c: In function 
`netsnmp_session_gen_sec_key': 
/var/tmp/portage/mod_php-4.3.3-r1/work/php-4.3.3/ext/snmp/snmp.c:832: warning: 
initialization discards qualifiers from pointer target type 
make: *** [ext/snmp/snmp.lo] Error 1 
make: *** Waiting for unfinished jobs.... 
 
!!! ERROR: dev-php/mod_php-4.3.3-r1 (&& dev-php/php-4.3.3-r2) failed. 
!!! Function php_src_compile, Line 423, Exitcode 2 
!!! compile problem 

Expected Results:  
 

Linux 2.4.21 + sources and 2.6.0-test4+5+6 sources installed.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-03 09:50:30 UTC

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