Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351067 - dev-db/mariadb fails to build PBXT engine
Summary: dev-db/mariadb fails to build PBXT engine
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-01-07 22:00 UTC by Brian Evans (RETIRED)
Modified: 2011-03-26 23:46 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 Brian Evans (RETIRED) gentoo-dev 2011-01-07 22:00:47 UTC
The current eclass has an error which does not allow the PBXT storage engine to build on dev-db/mariadb.

The bad code overwrites the engine with a copy of the whole mariadb source.

Reproducible: Always

Steps to Reproduce:
1. Emerge with USE=pbxt
2.
3.

Actual Results:  
PBXT is not built

Expected Results:  
PBXT to build


diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass
index 2b91b0d..467a8f8 100644
--- a/eclass/mysql.eclass
+++ b/eclass/mysql.eclass
@@ -927,7 +927,7 @@ mysql_src_prepare() {
                popd >/dev/null
        fi

-       if pbxt_available && [[ "${PBXT_NEWSTYLE}" == "1" ]] && use pbxt ; then
+       if pbxt_patch_available && [[ "${PBXT_NEWSTYLE}" == "1" ]] && use pbxt ; then
                einfo "Adding storage engine: PBXT"
                pushd "${S}"/storage >/dev/null
                i='pbxt'
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2011-01-14 05:11:16 UTC
I've fixed the eclass in the overlay.

I'll leave this bug open until we move the fix to the tree.
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2011-03-26 23:46:59 UTC
Applied in the tree now.