Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321903 - Make dev-lang/php emit a warning if USE="-readline" and php -a is called
Summary: Make dev-lang/php emit a warning if USE="-readline" and php -a is called
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 20:50 UTC by Matti Bickel (RETIRED)
Modified: 2010-06-09 11:24 UTC (History)
0 users

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 Matti Bickel (RETIRED) gentoo-dev 2010-05-28 20:50:20 UTC
This is a reminder that php -a will hang (well, it did for me) when you don't have readline enabled (USE="-readline"). It'd be nice if php would output a notice or refuse to run altogether under this circumstances.

For a fast alternative, I'm considering adding a use-conditional note to pkg_postinst to inform the user about this.
Comment 1 Matti Bickel (RETIRED) gentoo-dev 2010-06-09 11:24:39 UTC
Added the note in the overlay, which will shortly sync with portage.