Any combination of mentioned PHP and net-snmp package failed to merge due this bug: http://bugs.php.net/bug.php?id=30995 It's a problem, since php-4.3.11 and net-snmp-5.2 marked as stable. Reproducible: Always Steps to Reproduce: 1. emerge net-snmp 2. emerge php with USE="snmp" Actual Results: php binary in /var/tmp/portage/php-${version}/work/php-${version}/sapi/cli/php is corrupted (segfaults ever) and failed to install pear database. ACCEPT_KEYWORDS=~x86 (x86 doesn't help) USE="-* 3dnow 3dnowex acpi alsa arts avi berkdb bitmap-fonts bzlib crypt \ cups dga divx4linux fbcon flac gd gdbm gif gpm gtk2 gtkhtml iconv icq \ imap java jpeg kde ldap lesstif maildir mmx mmx2 mozilla mpeg ncurses \ nls nptl nptlonly nvidia oggvorbis opengl pam png quicktime readline \ samba shared sharedmem slang snmp spell sse ssl svga tiff truetype \ truetype-fonts type1-fonts unicode userlocales vidix xine xml xml2 \ xmms xv xvid zlib pcre perl bash-completion win32codecs jack" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon -O3 -fforce-addr -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -maccumulate-outgoing-args -ftracer -pipe" CXXFLAGS="${CFLAGS}" PORTDIR_OVERLAY="/usr/local/portage" MAKEOPTS=-j2 FEATURES="sandbox ccache" PORTAGE_NICENESS=3 AUTOCLEAN=yes
The upstream bug you are referring to has been fixed. Do you mean Bug 88683 or is this a different issue?
Nope, it's different bug. I couldn't emerge dev-php/php ebuild with "snmp" use flag, not Pear. It's been fixed in PHP-cvs, but it exists in Gentoo x86 stable release.
Hmm, pretty strange. I emerged php-4.3.11 and php-4.3.11-r1 with USE="snmp" on several machines and did not encounter this. Maybe some more conservative CFLAGS would help. ;-) Assigning anyway.
No, it doesn't. I've spent whole day compiling php this or that way. Cflags doesn't help. But emerging net-snmp < 5.2 does!
Fixed in UPSTREAM CVS for PHP 4.3.12 and PHP 5.0.5.
*** Bug 94986 has been marked as a duplicate of this bug. ***