Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mariadb/
Date: Thu, 04 May 2017 12:50:19
Message-Id: 1493902200.0f15ee9cf7a662eb8aa9a0c9c1426f629fb048a1.grknight@gentoo
1 commit: 0f15ee9cf7a662eb8aa9a0c9c1426f629fb048a1
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 4 12:45:58 2017 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Thu May 4 12:50:00 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f15ee9c
7
8 dev-db/mariadb: Version bump to 5.5.56
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 dev-db/mariadb/Manifest | 1 +
13 dev-db/mariadb/mariadb-5.5.56.ebuild | 122 +++++++++++++++++++++++++++++++++++
14 2 files changed, 123 insertions(+)
15
16 diff --git a/dev-db/mariadb/Manifest b/dev-db/mariadb/Manifest
17 index 9fea3a507ba..eb73f0bdb6b 100644
18 --- a/dev-db/mariadb/Manifest
19 +++ b/dev-db/mariadb/Manifest
20 @@ -5,6 +5,7 @@ DIST mariadb-10.1.23.tar.gz 61772244 SHA256 54d8114e24bfa5e3ebdc7d69e071ad147191
21 DIST mariadb-10.2.1.tar.gz 55721519 SHA256 90b7a17f3372c92c12dff084b37fcca8c4cf8106f4dcabd35fadc8efbaa348a2 SHA512 3dde348e4bba2b6837e0a0671e9ec944aa494e4a01ebb4704e067cc8fe71865aef685f4ce368e9a81c5adeb1e8cc4f3a1b4067193a4b1ffc1fc567bf79a0b4ff WHIRLPOOL cbf33b7f6fb131a834367214ff4ab49bbda8aebb6e6fe449c7be2648934bcdab79c50a043907c07603f51892041701be59ff45984db43e302b2174f6fd40bc31
22 DIST mariadb-5.5.54.tar.gz 45765936 SHA256 54405ad9beff02339819eb73c59b4bf25f58a2c5abffbf17e81c4940a893538c SHA512 fe1ff7545989e542f777c201774eaeead906f864277bb1a98bcd06c50b97816a56cb70e83e6fd4517e8d8887ae237eb9cc75e27ab473a2e7a8f154882fc9e2a3 WHIRLPOOL 6f37cf5675eae31347c77d1444e17e70d35d91932251efb0f772de6d36f7b74c797d92be2fec99dc803b18f99ea8dc5a55170e76c91b72b20b74797e99092bfe
23 DIST mariadb-5.5.55.tar.gz 45757922 SHA256 cb94e315d0fc90c62db5a6c7829c9966f674285d99b3ba3ffa575fb4a26edc86 SHA512 6fe725c997600009a7bb3dd0e78a4a94c370a07760c26cb124eee68aa81f859be159618cab782595e33aefecaf0401a6a1229f9acd847b8e2425cee069a2bc4e WHIRLPOOL 6984b35add26a65844f036e11f9db1fc2663300b23c8d60510bda789753189a339da8dbf463699eeb2a145d05a803fac92a3ba729c6866139f7867b8eb69cfc7
24 +DIST mariadb-5.5.56.tar.gz 45777456 SHA256 950c3422cb262b16ce133caadbc342219f50f9b45dcc71b8db78fc376a971726 SHA512 c3d12bf7d78618f3567f9c428800419510fddc62ae8c6715c809dd2cf205689ca910c27adb12033744f8e827a5d824aa2cac4d9ecdee59356bb776a22d45a97b WHIRLPOOL c4ceef2d653cbc65e8a367194a99e19f87925df8113affd04d66ecc263cb6708ec54382989867376038b4ce7e545daa2a696682fe9b5651fe214932f734970a7
25 DIST mysql-extras-20160629-1442Z.tar.bz2 299152 SHA256 c90979db927772468f8b398c640469ff4740f950068e740c04ff60500e714766 SHA512 1de46daf6b4534dadf9d3eff8d5d557778e63b5e04aedb57fe56d3016ba93a9d55d80faee38f77852d23da5169879e4f25b3386abe44ee8d961db7ffc4145715 WHIRLPOOL d8c94e4e43e772307d8d137a28e18991fa24a27b1587ec19ae5bd12c733cc0931e459092de2c43216776e3284c7c416d52030fe20c98a6439388507c5fe5111f
26 DIST mysql-extras-20160721-1526Z.tar.bz2 301788 SHA256 45198f8adb4a61fdd89a5d3c7966ce2fe9241381510e1f7b93e793502a32dfcb SHA512 c7450039780e4e2684c932ba7c291c1de25dd1a64e4c6e88aa13b790768b4100955f36ae4a3bf983569ea23b43be02da6dad3d5985c1163ec9e8aa91f0efd85d WHIRLPOOL becdf0d4d7b8b5a269246d2fcf1bc09c4313046468b264f07394ae9f1de2f736ad3fff8cad35e544df7a3623688050e6fb9635dfea3876ea082d19cf9fe88927
27 DIST mysql-extras-20160818-1822Z.tar.bz2 302657 SHA256 7e4f42ea0754af120d2ad6b4a3e40dd9bd5a769913ac141453a2c53419bd6c05 SHA512 19bd509fd1a37c537ae28919516406735cdf3d3fbc66583f765b64b3d296bd041cf2bc2291004b7274604a2fda3cb399141d6c672ae5d6f8aced3d019ac81826 WHIRLPOOL 46b4e3c7f415b2de1440aa9d190805dfbc49a8f4a6ed26be5e4bb3e3e9553885cc7e7e13c83c49fadf71a6081bb8fd9d28d5f4d8372540c89a649f2d913fdd9b
28
29 diff --git a/dev-db/mariadb/mariadb-5.5.56.ebuild b/dev-db/mariadb/mariadb-5.5.56.ebuild
30 new file mode 100644
31 index 00000000000..aa0132d8a7b
32 --- /dev/null
33 +++ b/dev-db/mariadb/mariadb-5.5.56.ebuild
34 @@ -0,0 +1,122 @@
35 +# Copyright 1999-2017 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI="5"
39 +MY_EXTRAS_VER="20160721-1526Z"
40 +
41 +# Build system
42 +BUILD="cmake"
43 +
44 +inherit toolchain-funcs mysql-v2
45 +# only to make repoman happy. it is really set in the eclass
46 +IUSE="$IUSE"
47 +
48 +# REMEMBER: also update eclass/mysql*.eclass before committing!
49 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
50 +
51 +# When MY_EXTRAS is bumped, the index should be revised to exclude these.
52 +EPATCH_EXCLUDE=''
53 +
54 +DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
55 +RDEPEND="${RDEPEND}"
56 +
57 +# Please do not add a naive src_unpack to this ebuild
58 +# If you want to add a single patch, copy the ebuild to an overlay
59 +# and create your own mysql-extras tarball, looking at 000_index.txt
60 +
61 +# Official test instructions:
62 +# USE='embedded extraengine perl ssl static-libs community' \
63 +# FEATURES='test userpriv -usersandbox' \
64 +# ebuild mariadb-X.X.XX.ebuild \
65 +# digest clean package
66 +src_test() {
67 +
68 + local TESTDIR="${BUILD_DIR}/mysql-test"
69 + local retstatus_unit
70 + local retstatus_tests
71 +
72 + # Bug #213475 - MySQL _will_ object strenously if your machine is named
73 + # localhost. Also causes weird failures.
74 + [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
75 +
76 + if ! use "minimal" ; then
77 +
78 + if [[ $UID -eq 0 ]]; then
79 + die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
80 + fi
81 + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
82 +
83 + einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
84 + addpredict /this-dir-does-not-exist/t9.MYI
85 +
86 + # Run CTest (test-units)
87 + cmake-utils_src_test
88 + retstatus_unit=$?
89 + [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
90 +
91 + # Ensure that parallel runs don't die
92 + export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
93 + # Enable parallel testing, auto will try to detect number of cores
94 + # You may set this by hand.
95 + # The default maximum is 8 unless MTR_MAX_PARALLEL is increased
96 + export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
97 +
98 + # create directories because mysqladmin might right out of order
99 + mkdir -p "${T}"/var-tests{,/log}
100 +
101 + # create symlink for the tests to find the replace util
102 + ln -s "${BUILD_DIR}/extra/replace" "${BUILD_DIR}/client/"
103 +
104 + # These are failing in MariaDB 5.5 for now and are believed to be
105 + # false positives:
106 + #
107 + # main.information_schema, binlog.binlog_statement_insert_delayed,
108 + # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
109 + # funcs_1.is_columns_mysql
110 + # fails due to USE=-latin1 / utf8 default
111 + #
112 + # main.mysql_client_test, main.mysql_client_test_nonblock:
113 + # segfaults at random under Portage only, suspect resource limits.
114 + #
115 + # archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam
116 + # fails due to bad cleanup of previous tests when run in parallel
117 + # The tool is deprecated anyway
118 + # Bug 532288
119 +
120 + for t in main.mysql_client_test main.mysql_client_test_nonblock \
121 + binlog.binlog_statement_insert_delayed main.information_schema \
122 + main.mysqld--help \
123 + archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam \
124 + funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
125 + mysql-v2_disable_test "$t" "False positives in Gentoo"
126 + done
127 +
128 + # Run mysql tests
129 + pushd "${TESTDIR}"
130 +
131 + # run mysql-test tests
132 + perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
133 + --testcase-timeout=30
134 + retstatus_tests=$?
135 + [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
136 + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
137 +
138 + popd
139 +
140 + # Cleanup is important for these testcases.
141 + pkill -9 -f "${S}/ndb" 2>/dev/null
142 + pkill -9 -f "${S}/sql" 2>/dev/null
143 +
144 + failures=""
145 + [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
146 + [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
147 + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
148 +
149 + [[ -z "$failures" ]] || die "Test failures: $failures"
150 + einfo "Tests successfully completed"
151 +
152 + else
153 +
154 + einfo "Skipping server tests due to minimal build."
155 + fi
156 +}