Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349350 - dev-lang/php-5.3.4 breaks (re)build of dev-php5/pecl-memcache-2.2.6
Summary: dev-lang/php-5.3.4 breaks (re)build of dev-php5/pecl-memcache-2.2.6
Status: RESOLVED DUPLICATE of bug 349659
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-22 09:39 UTC by Sebastian L.
Modified: 2010-12-25 07:09 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 Sebastian L. 2010-12-22 09:39:37 UTC
dev-php5/pecl-memcache-2.2.6 cannot be compiled with dev-lang/php-5.3.4 due to missing/relocated php-config.



Reproducible: Always

Steps to Reproduce:
1. emerge =dev-lang/php-5.3.4
2. eselect php set {cli,cgi} php5.3
3. emerge =dev-php5/pecl-memcache-2.2.6

Actual Results:  
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
configure: error: Cannot find php-config. Please use --with-php-config=PATH

emerge dies.

Expected Results:  
successful merge.

This may be related to slotting and an incomplete eselect module, or just an outdated pecl-memcache ebuild.

From build environment for pecl-memcache:
environment, line 3226:  Called econf '--prefix=/usr/lib64/php5' '--with-php-config=/usr/lib64/php5/bin/php-config' '--enable-memcache' '--with-zlib-dir=/usr' '--enable-memcache-session'

/usr/lib64/php5/bin/php-config doesn't exist.

I selected severity 'major', because this blocks upgrade to php-5.3.4 for me. Please adjust if that's not a valid reason.
Comment 1 Andrey Niahajchyk 2010-12-23 11:03:25 UTC
After upgrading to php-5.3.4 your system has the following new folders:
* /usr/lib64/php5.3
* /etc/php/apache2-php5.3
* /etc/php/cgi-php5.3
* /etc/php/cli-php5.3
And we need wait some time until developer of pecl-* packages updates build.

So mask php-5.3.4 or use the following workaround:
mount -o bind /usr/lib64/php5.3 /usr/lib64/php5
emerge pecl-memcache
cp /etc/php/apache2-php5/ext/memcache.ini /etc/php/apache2-php5.3/ext/
ln -s /etc/php/apache2-php5.3/ext/memcache.ini /etc/php/apache2-php5.3/ext-active/
umount /usr/lib64/php5
/etc/init.d/apache2 restart
Comment 2 Mike Gilbert gentoo-dev 2010-12-24 19:03:13 UTC
Post emerge --info and a build log please. This seems pretty similar to the last couple of bugs I've looked at, but let's be thorough. :)
Comment 3 Mike Gilbert gentoo-dev 2010-12-25 03:18:29 UTC
Giving this to php, looks just like all the others.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-12-25 07:09:22 UTC

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