Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37716 - compiling dev-php/php-4.3.4-r2 failed.
Summary: compiling dev-php/php-4.3.4-r2 failed.
Status: RESOLVED DUPLICATE of bug 28263
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-09 10:48 UTC by Rafał Kot
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 Rafał Kot 2004-01-09 10:48:44 UTC
This is what i get:

gcc  -Iregex/ -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/regex/ -DPHP_ATOM_INC -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/include -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/main -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4 -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/Zend -I/usr/include/libxml2 -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/mbstring/mbregex -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/mbstring/libmbfl -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/usr/qt/3/include -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/xml/expat  -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/TSRM  -mcpu=athlon-xp -O3 -pipe  -c /var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/regex/regfree.c -o regex/regfree.o  && echo > regex/regfree.lo
gcc  -Iext/standard/ -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/standard/ -DPHP_ATOM_INC -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/include -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/main -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4 -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/Zend -I/usr/include/libxml2 -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/mbstring/mbregex -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/mbstring/libmbfl -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/usr/qt/3/include -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/xml/expat  -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/TSRM  -mcpu=athlon-xp -O3 -pipe  -c /var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/standard/array.c -o ext/standard/array.o  && echo > ext/standard/array.lo
/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/snmp/snmp.c: In function `netsnmp_session_gen_auth_key':
/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/snmp/snmp.c:804: warning: initialization discards qualifiers from pointer target type
/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/snmp/snmp.c: In function `netsnmp_session_gen_sec_key':
/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/snmp/snmp.c:833: warning: initialization discards qualifiers from pointer target type
make: *** [ext/snmp/snmp.lo] Błąd 1
make: *** Czekam na niezakończone zadania....

!!! ERROR: dev-php/php-4.3.4-r2 failed.
!!! Function php-sapi_src_compile, Line 450, Exitcode 2
!!! compile problem



Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-09 16:52:28 UTC
please repeat this without LC* set to any localization, so that I can see the make error in english, and also, what snmp stuff do you have installed and what have you had installed previously?

try to re-merge gcc, then php again, as it may be related to a gcc header glitch.
Comment 2 Rafał Kot 2004-01-10 01:58:20 UTC
gcc  -Iregex/ -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/regex/ -DPHP_ATOM_INC -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/include -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/main -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4 -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/Zend -I/usr/include/libxml2 -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/mbstring/mbregex -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/mbstring/libmbfl -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/usr/qt/3/include -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/xml/expat  -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/TSRM  -mcpu=athlon-xp -O3 -pipe  -c /var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/regex/regfree.c -o regex/regfree.o  && echo > regex/regfree.lo
gcc  -Iext/standard/ -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/standard/ -DPHP_ATOM_INC -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/include -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/main -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4 -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/Zend -I/usr/include/libxml2 -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/mbstring/mbregex -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/mbstring/libmbfl -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/usr/qt/3/include -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/xml/expat  -I/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/TSRM  -mcpu=athlon-xp -O3 -pipe  -c /var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/standard/array.c -o ext/standard/array.o  && echo > ext/standard/array.lo
/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/snmp/snmp.c: In function `netsnmp_session_gen_auth_key':
/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/snmp/snmp.c:804: warning: initialization discards qualifiers from pointer target type
/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/snmp/snmp.c: In function `netsnmp_session_gen_sec_key':
/var/tmp/portage/php-4.3.4-r2/work/php-4.3.4/ext/snmp/snmp.c:833: 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.4-r2 failed.
!!! Function php-sapi_src_compile, Line 450, Exitcode 2
!!! compile problem

I do not have any snmp daemons, previously i'v installed apache2. 
Comment 3 Rafał Kot 2004-01-10 03:11:24 UTC
I re-merged gcc then php, and its working, 
Thank You for Your help. 
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-10 16:22:47 UTC

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