Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89055 - Failed to merge php-4.3.11 and php-5.0.3-r1 with net-snmp-5.2 and 5.2.1
Summary: Failed to merge php-4.3.11 and php-5.0.3-r1 with net-snmp-5.2 and 5.2.1
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal
Assignee: PHP Bugs
URL: http://bugs.php.net/bug.php?id=30995
Whiteboard:
Keywords:
: 94986 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-14 03:14 UTC by Vasilii Alferov
Modified: 2005-06-04 01:41 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 Vasilii Alferov 2005-04-14 03:14:02 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-04-14 03:22:02 UTC
The upstream bug you are referring to has been fixed. Do you mean Bug 88683 or is this a different issue? 
Comment 2 Vasilii Alferov 2005-04-14 03:33:05 UTC
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.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-04-14 03:51:16 UTC
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. 
Comment 4 Vasilii Alferov 2005-04-14 03:56:02 UTC
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!
Comment 5 Sebastian Bergmann (RETIRED) gentoo-dev 2005-05-10 22:15:38 UTC
Fixed in UPSTREAM CVS for PHP 4.3.12 and PHP 5.0.5.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-06-04 01:41:20 UTC
*** Bug 94986 has been marked as a duplicate of this bug. ***