Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558982 - dev-php/ZendFramework-1.12.9 doesn't compile with use minimal (prepare phase)
Summary: dev-php/ZendFramework-1.12.9 doesn't compile with use minimal (prepare phase)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-28 00:57 UTC by presidente
Modified: 2015-08-31 23:54 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 presidente 2015-08-28 00:57:14 UTC
When the minimal use flag is set, source is extracted into a different location but later it still expects it in the original location.

Reproducible: Always

Steps to Reproduce:
1. Install ZendFramework with USE="minimal"
Actual Results:  
>>> Unpacking ZendFramework-1.12.9-minimal.tar.gz to /var/tmp/portage/dev-php/ZendFramework-1.12.9/work
>>> Source unpacked in /var/tmp/portage/dev-php/ZendFramework-1.12.9/work
 * ERROR: dev-php/ZendFramework-1.12.9::gentoo failed (prepare phase):
 *   The source directory '/var/tmp/portage/dev-php/ZendFramework-1.12.9/work/ZendFramework-1.12.9' doesn't exist

ls /var/tmp/portage/dev-php/ZendFramework-1.12.9/work
ZendFramework-1.12.9-minimal

Expected Results:  
Successful install of ZendFramework
Comment 1 presidente 2015-08-28 01:10:01 UTC
Placing the following outside src_prepare() near the top amongst other definitions will work. It doesn't work with the if case inside src_prepare().

S="${WORKDIR}/${P}-minimal"
Comment 2 Brian Evans (RETIRED) gentoo-dev 2015-08-31 23:54:54 UTC
Fixed.  Thanks for the report