Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380389 - ebuild skips EAPI unsupported phases silently
Summary: ebuild skips EAPI unsupported phases silently
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
Depends on:
Reported: 2011-08-23 15:40 UTC by Richard
Modified: 2011-08-26 03:07 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2011-08-23 15:40:50 UTC
The following will unpack and apply patches, but it won't run the configure script:

ebuild `equery which app-shells/bash-4.2_p10` configure

To run the configure script, I need to tell ebuild to compile bash, rather than to configure bash. These should be separate stages.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-25 14:15:40 UTC
The ebuild has EAPI=1 so src_configure is not a valid build phase and is ignored, which is fine. The problem you are looking at is that ebuild(1) should probably fail when an invalid phase is called.
Comment 2 SpanKY gentoo-dev 2011-08-26 03:07:11 UTC
ebuild does abort for generally invalid phases (try "ebuild ... foo"), but it silently skips invalid ones based on the active EAPI