Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160911 - dev-db/mysql-5.0.32 USEs pbxt but not in IUSE
Summary: dev-db/mysql-5.0.32 USEs pbxt but not in IUSE
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-08 15:02 UTC by Doug Goldstein (RETIRED)
Modified: 2007-01-09 15:50 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 Doug Goldstein (RETIRED) gentoo-dev 2007-01-08 15:02:12 UTC
pbxt is USEd by the ebuild but it is not in IUSE. At least those are the QA notices I'm getting.
Comment 1 Francesco R. (RETIRED) gentoo-dev 2007-01-08 16:00:30 UTC
Sorry but this is not a bug, "pbxt" IUSE is conditional on MySQL version inside the eclass, the QA errors are false positives.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2007-01-08 19:31:30 UTC
line 804 of your mysql.eclass is incorrect with the conditional..

if useq "pbxt" && mysql_version_is_at_least "5.1" ; then

it is the check that is providing the QA notices. The proper check is:

if mysql_version_is_at_least "5.1.12" && use "pbxt"; then


Further more, useq is deprecated for use and this happened quite a while back. The whole eclass is littered with useq.
Comment 3 Francesco R. (RETIRED) gentoo-dev 2007-01-08 20:42:44 UTC
Doug you're right and /me is wrong, I've inverted the check for the flag (because infra is slacking and I've still access to the tree).

on the "useq" => "use" argument, I was told that use was deprecated in favour of useq, because "use" should be used only when an output as string is needed, instead "useq" return a boolean value.
Anyway the sed on the script is rather easy, I'll left robbat2 or chtekk to do that.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2007-01-09 15:50:47 UTC
Fixed all the issues I mentioned with the blessing of CHTEKK.