Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24418 - php-4.3.2 & net-snmp/ipv6 problem
Summary: php-4.3.2 & net-snmp/ipv6 problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-13 15:23 UTC by Carsten Lohrke (RETIRED)
Modified: 2003-07-13 17:39 UTC (History)
1 user (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 Carsten Lohrke (RETIRED) gentoo-dev 2003-07-13 15:23:24 UTC
emerging php fails, if net-snmp doesn't support ipv6

Reproducible: Always
Steps to Reproduce:
1. disable ipv6 use-flag
2. emerge net-snmp
3. emerge php 


Actual Results:  
 ext/snmp/snmp.o  && echo > ext/snmp/snmp.lo
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/php-4.3.2/work/php-4.3.2/ext/snmp/snmp.c:79:
/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"
In file included from /usr/include/net-snmp/net-snmp-includes.h:65,
                 from /var/tmp/portage/php-4.3.2/work/php-4.3.2/ext/snmp/snmp.c:79:
/usr/include/net-snmp/session_api.h:38:48: net-snmp/library/snmpUDPIPv6Domain.h:
No such file or directory
/usr/include/net-snmp/session_api.h:41:48: net-snmp/library/snmpTCPIPv6Domain.h:
No such file or directory
/var/tmp/portage/php-4.3.2/work/php-4.3.2/ext/snmp/snmp.c: In function
`netsnmp_session_gen_auth_key':
/var/tmp/portage/php-4.3.2/work/php-4.3.2/ext/snmp/snmp.c:676: warning:
initialization discards qualifiers from pointer target type
/var/tmp/portage/php-4.3.2/work/php-4.3.2/ext/snmp/snmp.c: In function
`netsnmp_session_gen_sec_key':
/var/tmp/portage/php-4.3.2/work/php-4.3.2/ext/snmp/snmp.c:705: warning:
initialization discards qualifiers from pointer target type
make: *** [ext/snmp/snmp.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-php/php-4.3.2 failed.
!!! Function php_src_compile, Line 381, Exitcode 2
!!! compile problem
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-07-13 17:39:53 UTC
Ok, I've fixed this in the php eclass in CVS now. Should be out on the  mirrors in a bit.