Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 341579 - dev-lang/php-5.3.3-r1[snmp] fails to emerge after openssl-1.0.0-r3 upgrade
Summary: dev-lang/php-5.3.3-r1[snmp] fails to emerge after openssl-1.0.0-r3 upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-18 05:55 UTC by Marek Królikowski
Modified: 2010-12-22 22:14 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 Marek Królikowski 2010-10-18 05:55:43 UTC
When i try upgrade php from 5.2.14 to php-5.3.3-r1 compile crash


Reproducible: Always

Steps to Reproduce:
1. USE="snmp" emerge php


Actual Results:  
Generating phar.php
/bin/sh: line 1: 12984 Naruszenie ochrony pamięci   ` if test -x "/var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/sapi/cli/php"; then /var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/build/shtool echo -n -- "/var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/sapi/cli/php -n"; if test "x" != "x"; then /var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/build/shtool echo -n -- " -d extension_dir=/var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/modules"; for i in bz2 zlib phar; do if test -f "/var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/modules/$i.la"; then . /var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/modules/$i.la; /var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/build/shtool echo -n -- " -d extension=$dlname"; fi; done; fi; else /var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/build/shtool echo -n -- "/var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/sapi/cli/php"; fi;` -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0' /var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/ext/phar/build_precommand.php > ext/phar/phar.php
make: *** [ext/phar/phar.php] Błąd 139


Expected Results:  
Compile with no problem
Comment 1 Scott Marks 2010-10-19 23:51:46 UTC
I have the same (?) problem.  Plus, when I try to upload build.log, I'm getting a file-is-empty message.
Comment 2 Marek Królikowski 2010-10-20 05:13:52 UTC
Ok i found problem.
You need do:
emerge dev-libs/openssl
emerge net-analyzer/net-snmp
emerge dev-lang/php

and php compile with no problem...

Problem is with new openssl, after upgrade to dev-libs/openssl-1.0.0a-r3 snmp got problem with library and if you try upgrade php is crash because revdep-rebuild don`t find any problems with snmp... that`s why u need from "hand" give emerge net-analyzer/net-snmp after upgrade openssl to 1.0.0a-r3.

Thanks
Comment 3 Matti Bickel (RETIRED) gentoo-dev 2010-12-22 22:14:15 UTC
Glad you fixed it.
Revdep-rebuild *should* pick that up, though. As far as I'm aware, the libsnmp library is just linked to from php - if libsnmp uses openssl the link between the two should be broken and revdep-rebuild should have recognized this. Too many shoulds obviously ;)

Marking as FIXED. I'll reopen if I get another report of this behavior.