| Summary: | dev-db/mariadb fails to build PBXT engine | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Brian Evans (RETIRED) <grknight> |
| Component: | [OLD] Server | Assignee: | 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: | --- | |
I've fixed the eclass in the overlay. I'll leave this bug open until we move the fix to the tree. Applied in the tree now. |
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'