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
Ok, I've fixed this in the php eclass in CVS now. Should be out on the mirrors in a bit.