1 |
commit: 546628a7375a7f4ad6050966e9ec10d9a3a6476a |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 23 18:25:35 2015 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 23 18:26:24 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=546628a7 |
7 |
|
8 |
dev-db/mariadb: Version bump to 10.1.9 |
9 |
|
10 |
One tests fails on missing warning text: innodb.innodb_uninstall |
11 |
Reported upstream https://mariadb.atlassian.net/browse/MDEV-9171 |
12 |
|
13 |
Package-Manager: portage-2.2.25 |
14 |
|
15 |
dev-db/mariadb/Manifest | 2 + |
16 |
dev-db/mariadb/mariadb-10.1.9.ebuild | 128 +++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 130 insertions(+) |
18 |
|
19 |
diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest |
20 |
index bea73bf..8b8bc89 100644 |
21 |
--- a/dev-db/mariadb/Manifest |
22 |
+++ b/dev-db/mariadb/Manifest |
23 |
@@ -1,8 +1,10 @@ |
24 |
DIST mariadb-10.0.21.tar.gz 56216903 SHA256 4b9a32e15ceadefdb1057a02eb3e0addf702b75aef631a3c9194b832ecfa3545 SHA512 75aa4b019f3432a61483bb325a0f088ea92d6fede44d7a300c15659411c8927fa2a0586182226315b6d6796641ca1d8746f7fd49e21fe21505adec1fc38ae32f WHIRLPOOL b086fb34363b2426f5e91c14916b747787feadf37c609f4aea1f08bd235e9e97df17f5bfa0eb9e65e93fbed3df5eb6c021287c4eb987a3362ea87cf96eaf268e |
25 |
DIST mariadb-10.0.22.tar.gz 56252325 SHA256 9e17f4aaccb7069a874555cca254974d0f0103f0ad5e2434acab6aa353dafc7b SHA512 68e30de616c83be5fbcfb3c5777c1ec888d8ada0c83c5de2a49d209eb6d27931c87be82096f73372da1ebcf48eafd294f94bece039caa73c1ee6cbf26718673d WHIRLPOOL 84e08c1d336fb64dcb6bc823a465950999d395ed2a85ecf0b6cc0b4095fbb2f919f70670ec9e30fb5494ef0309966ebf2a115e4c781f0917c16806aad4b2695d |
26 |
DIST mariadb-10.1.8.tar.gz 53920483 SHA256 7cbf6a4649aa6dc9cd1dc24424ade7b994de78582ce4d47ca0f4cd1c4c003bfa SHA512 6bb282f814a0d7a6d8e06feb11a819bf9fc6f240428e4a03716a50f2291e070d789224e7f88b4b9b33a160424c4cc0b9deef96c280dcc900476ffc9888dccb45 WHIRLPOOL 65d6857a5f10880aadd391e5eff1fc2c2cc68909e94b75da7e4d52e5405d780ecfaeb4d51f6e7d1ed9a531ef206c64057a17c028d1c5e0ba85dae185234eac37 |
27 |
+DIST mariadb-10.1.9.tar.gz 53998448 SHA256 8e9c5826722cedb4209bf06ae61069664513149479a6634e3d8115961edfe110 SHA512 0a271f2b169c569f65c222e83fcfeebc621c73ade76af4293ca4739f51c2fee2e34b1128d18339e6f1864dee7b9aed83ac15085325d477dc412e3fb2a4716b55 WHIRLPOOL be48eda5e8b2d711a711c77912e9b9b81ad343a4ec9a96f81a48ac9e35ebe001bcabc4ea3074ccfa418f35767b89aeb3f8037b5a15c006699384e80bb8eb89c5 |
28 |
DIST mariadb-5.5.46.tar.gz 45683962 SHA256 45b66b7adc87cad32e553df1d5211e5b6426b78a3bc318a5ccde088bf93e6e10 SHA512 91e5d3d46da9932fdd80125abf77cea411158e04212ae6dea1aa7a9260626c9dfded967af7173a152f488f38c35ff423fcba4098fa337814956c6fa8719c6080 WHIRLPOOL 7da1dc60dca37605c56291544b6d0dfc09a7a76c139b14d1277980d079251d02389efdbde56d23402d659e9c0830fd7ab7998833e1b5fcd33dcab436ea21b74c |
29 |
DIST mysql-extras-20141215-0144Z.tar.bz2 1494767 SHA256 4757043858110654d52b0e6dccab064987ab5db8ae4ae99863cf86df0b90f947 SHA512 7a9b733d09f44b1faff19a496a3e820e444b339838665e6f37c4fddc8f2ad67e805082d598c4edc06fda9364f9906e4cf95520552f72d6b6df34413f38e7a2ed WHIRLPOOL 99ea6890a5faf097b941707538b68f62390e1a49ee662a87c27435a317a9a3f37f00802e72f86b52993b3d1674b57645db0f7e73379ab88fbc1d0ef791cf4326 |
30 |
DIST mysql-extras-20150509-1847Z.tar.bz2 1494301 SHA256 de9c9fbb67998604cb3c0409842e4601646c8ad17f2aa301f55ffd4aed7a483d SHA512 f87d96ab8c35236d4453182c49f87f6e703af9dc217916546e4dd7368caa18a2340c9063decd96c22251d1097d7e2cac58bef30e6ff75c23aedf8926dbc3d3b4 WHIRLPOOL f60297c8ee1dfd9867ed6b29a8b04a002f23bc36b1e8d9b5db30e1e454a49fe06ffc37b10d934b11235364eecdc62beb50ce24690ab3d07a50056357906fa0fa |
31 |
DIST mysql-extras-20150717-1707Z.tar.bz2 1491956 SHA256 d67cc1e2c581ab7c57122b7d29864643869799893a95a158a18e14201d4ffc10 SHA512 3a7cb07773099e766f8e796d4e555d42874b85285cc2c7c60220370cc6aafc36a60eb340008637298d85d83f529e73392895a81c1438ffccff9eb8f354b29ba9 WHIRLPOOL 11e75f4b696e2547c1da40e69d8ab75df4bf7080426204c040632f24846407b07d71061c09c4ff4a1d21a9d14a94769d8f8ef62421d0aecd99efe832caf4dd22 |
32 |
DIST mysql-extras-20151019-1714Z.tar.bz2 1490296 SHA256 f27297292f91c698b1ab7118740728c05a3ebfcd0bfad575898d112faaef4f4b SHA512 00db9c76847a0f58915890e34a9487c147d25fba7b33db3aa1037e8f5d6afb32448b5eae7a5583c52c03b53693b792e077dc963b7dc84356d382ba46bebc8777 WHIRLPOOL a0912ad0ecde9044761312586edb2899b58663517a8d8bab3f2c59938282bb472bdb97ed25ce097f9b18c1ad35a185494f8ad2e630c2004b717f1b61573335ca |
33 |
+DIST mysql-extras-20151123-1643Z.tar.bz2 294038 SHA256 0d923d56370a883c74dcb29638827b938ac10bc10030b3e15e7e9d7947b6a1f4 SHA512 9346f32c1ea8f8e675da2551141cb8c88cd90c735a0895bf0029220b8b96a753d4954be549383ef8050f37b15ab51788885c7334d0851658d6ae620c9bf45392 WHIRLPOOL 83a31f48c671cd4e7907d6c3eb79e2f7b1aab1554e92adb843db0cdcc9f8e4891f5be5c570939de59677bab0456415ab0920d1d12f7b1ef30731d3775d1b84de |
34 |
|
35 |
diff --git a/dev-db/mariadb/mariadb-10.1.9.ebuild b/dev-db/mariadb/mariadb-10.1.9.ebuild |
36 |
new file mode 100644 |
37 |
index 0000000..e4562b0 |
38 |
--- /dev/null |
39 |
+++ b/dev-db/mariadb/mariadb-10.1.9.ebuild |
40 |
@@ -0,0 +1,128 @@ |
41 |
+# Copyright 1999-2015 Gentoo Foundation |
42 |
+# Distributed under the terms of the GNU General Public License v2 |
43 |
+# $Id$ |
44 |
+ |
45 |
+EAPI="5" |
46 |
+MY_EXTRAS_VER="20151123-1643Z" |
47 |
+WSREP_REVISION="25" |
48 |
+SUBSLOT="18" |
49 |
+HAS_TOOLS_PATCH="yes" |
50 |
+ |
51 |
+inherit toolchain-funcs mysql-multilib |
52 |
+# only to make repoman happy. it is really set in the eclass |
53 |
+IUSE="$IUSE mroonga systemd" |
54 |
+ |
55 |
+# REMEMBER: also update eclass/mysql*.eclass before committing! |
56 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
57 |
+ |
58 |
+# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
59 |
+#EPATCH_EXCLUDE='' |
60 |
+ |
61 |
+DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 ) |
62 |
+ mroonga? ( app-text/groonga-normalizer-mysql ) |
63 |
+ systemd? ( sys-apps/systemd:= )" |
64 |
+RDEPEND="${RDEPEND}" |
65 |
+ |
66 |
+# Official test instructions: |
67 |
+# USE='client-libs embedded extraengine perl server openssl static-libs tools' \ |
68 |
+# FEATURES='test userpriv -usersandbox' \ |
69 |
+# ebuild mariadb-X.X.XX.ebuild \ |
70 |
+# digest clean package |
71 |
+multilib_src_test() { |
72 |
+ |
73 |
+ if ! multilib_is_native_abi ; then |
74 |
+ einfo "Server tests not available on non-native abi". |
75 |
+ return 0; |
76 |
+ fi |
77 |
+ |
78 |
+ local TESTDIR="${BUILD_DIR}/mysql-test" |
79 |
+ local retstatus_unit |
80 |
+ local retstatus_tests |
81 |
+ |
82 |
+ if use server ; then |
83 |
+ |
84 |
+ # Bug #213475 - MySQL _will_ object strenously if your machine is named |
85 |
+ # localhost. Also causes weird failures. |
86 |
+ [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
87 |
+ |
88 |
+ if [[ $UID -eq 0 ]]; then |
89 |
+ die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
90 |
+ fi |
91 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
92 |
+ |
93 |
+ einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
94 |
+ addpredict /this-dir-does-not-exist/t9.MYI |
95 |
+ |
96 |
+ # Run CTest (test-units) |
97 |
+ cmake-utils_src_test |
98 |
+ retstatus_unit=$? |
99 |
+ [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
100 |
+ |
101 |
+ # Create a symlink to provided binaries so the tests can find them when client-libs is off |
102 |
+ if ! use client-libs ; then |
103 |
+ ln -srf /usr/bin/my_print_defaults "${BUILD_DIR}/client/my_print_defaults" || die |
104 |
+ ln -srf /usr/bin/perror "${BUILD_DIR}/client/perror" || die |
105 |
+ mysql-multilib_disable_test main.perror "String mismatch due to not building local perror" |
106 |
+ fi |
107 |
+ |
108 |
+ # Ensure that parallel runs don't die |
109 |
+ export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
110 |
+ # Enable parallel testing, auto will try to detect number of cores |
111 |
+ # You may set this by hand. |
112 |
+ # The default maximum is 8 unless MTR_MAX_PARALLEL is increased |
113 |
+ export MTR_PARALLEL="${MTR_PARALLEL:-auto}" |
114 |
+ |
115 |
+ # create directories because mysqladmin might run out of order |
116 |
+ mkdir -p "${T}"/var-tests{,/log} |
117 |
+ |
118 |
+ # These are failing in MariaDB 10.0 for now and are believed to be |
119 |
+ # false positives: |
120 |
+ # |
121 |
+ # main.information_schema, binlog.binlog_statement_insert_delayed, |
122 |
+ # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql, |
123 |
+ # funcs_1.is_columns_mysql main.bootstrap |
124 |
+ # fails due to USE=-latin1 / utf8 default |
125 |
+ # |
126 |
+ # main.mysql_client_test, main.mysql_client_test_nonblock |
127 |
+ # main.mysql_client_test_comp: |
128 |
+ # segfaults at random under Portage only, suspect resource limits. |
129 |
+ # |
130 |
+ # plugins.cracklib_password_check |
131 |
+ # Can randomly fail due to cracklib return message |
132 |
+ |
133 |
+ for t in main.mysql_client_test main.mysql_client_test_nonblock \ |
134 |
+ main.mysql_client_test_comp main.bootstrap \ |
135 |
+ binlog.binlog_statement_insert_delayed main.information_schema \ |
136 |
+ main.mysqld--help plugins.cracklib_password_check \ |
137 |
+ funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do |
138 |
+ mysql-multilib_disable_test "$t" "False positives in Gentoo" |
139 |
+ done |
140 |
+ |
141 |
+ # Run mysql tests |
142 |
+ pushd "${TESTDIR}" |
143 |
+ |
144 |
+ # run mysql-test tests |
145 |
+ perl mysql-test-run.pl --force --vardir="${T}/var-tests" --reorder |
146 |
+ |
147 |
+ retstatus_tests=$? |
148 |
+ [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
149 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
150 |
+ |
151 |
+ popd |
152 |
+ |
153 |
+ # Cleanup is important for these testcases. |
154 |
+ pkill -9 -f "${S}/ndb" 2>/dev/null |
155 |
+ pkill -9 -f "${S}/sql" 2>/dev/null |
156 |
+ |
157 |
+ failures="" |
158 |
+ [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
159 |
+ [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
160 |
+ has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
161 |
+ |
162 |
+ [[ -z "$failures" ]] || die "Test failures: $failures" |
163 |
+ einfo "Tests successfully completed" |
164 |
+ |
165 |
+ else |
166 |
+ einfo "Skipping server tests due to minimal build." |
167 |
+ fi |
168 |
+} |