Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265245 - dev-lang/php-5.2.8-r2 with sys-apps/portage-2.2.00.13133 does not configure properly
Summary: dev-lang/php-5.2.8-r2 with sys-apps/portage-2.2.00.13133 does not configure p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: IA64 Linux
: High major (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-07 05:30 UTC by Dirk Tilger
Modified: 2009-04-07 11:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Removing the EAPI 2 helped. (php-5.2.8-r2.ebuild.p[atch,513 bytes, patch)
2009-04-07 05:33 UTC, Dirk Tilger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Tilger 2009-04-07 05:30:37 UTC
I'm unsure whether this is a bug of portage or a bug in php. When I use sys-apps/portage-2.2.00.13133 to emerge dev-lang/php-5.2.8-r2 none of the configuration options get passed to configure.

A little bit of experimentation brought up that the ebuild declares it's implementing EAPI 2, but it doesn't implement src_configure. I believe what happens is that a default src_configure is called that calls `econf` (at least that's what the ./configure parameters look like).

I could get back to the normal behaviour by disabling EAPI 2 for this ebuild.
Comment 1 Dirk Tilger 2009-04-07 05:33:30 UTC
Created attachment 187527 [details, diff]
Removing the EAPI 2 helped.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-07 05:41:30 UTC
07 Mar 2009; Christian Faulhammer <fauli@gentoo.org> php-5.2.8-r1.ebuild,
php-5.2.8-r2.ebuild:
use EAPI 2 for USE flag check

http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/php/php-5.2.8-r2.ebuild?r1=1.8&r2=1.9

Christian,
If you make an ebuild EAPI=2, then you have to make sure it is doing the right things during src_configure. In this case, it is not, because the eclass is *not* EAPI-2 aware. Please fix your mess here in gentoo-x86. thx ;)
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2009-04-07 11:02:45 UTC
Just sorry, reverted.