Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 351067

Summary: dev-db/mariadb fails to build PBXT engine
Product: Gentoo Linux Reporter: Brian Evans (RETIRED) <grknight>
Component: [OLD] ServerAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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 Infrastructure 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 Infrastructure gentoo-dev 2011-03-26 23:46:59 UTC
Applied in the tree now.