Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mariadb-galera/
Date: Wed, 30 Jul 2014 19:48:59
Message-Id: 1406749668.193a5bf46f28b870356e2e3791b23ab7ef7df222.grknight.pub@gentoo
1 commit: 193a5bf46f28b870356e2e3791b23ab7ef7df222
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 30 19:47:48 2014 +0000
4 Commit: Brian Evans <grknight <AT> tuffmail <DOT> com>
5 CommitDate: Wed Jul 30 19:47:48 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=193a5bf4
7
8 [mariadb-galera] Version bump. Test failed openssl_1 with crash. Reported as https://mariadb.atlassian.net/browse/MDEV-6510
9
10 ---
11 dev-db/mariadb-galera/Manifest | 4 +-
12 dev-db/mariadb-galera/mariadb-galera-5.5.34.ebuild | 136 ---------------------
13 ...-5.5.37.ebuild => mariadb-galera-5.5.38.ebuild} | 0
14 3 files changed, 1 insertion(+), 139 deletions(-)
15
16 diff --git a/dev-db/mariadb-galera/Manifest b/dev-db/mariadb-galera/Manifest
17 index 6c935d1..2c7c516 100644
18 --- a/dev-db/mariadb-galera/Manifest
19 +++ b/dev-db/mariadb-galera/Manifest
20 @@ -1,6 +1,4 @@
21 DIST mariadb-galera-10.0.12.tar.gz 51307785 SHA256 e68d6ec7c99e0c361a1d2e986e4adb2436776de8192e39dc9ea08ef24e13b1ef SHA512 8c6a39d3a81a7ea795a1c55e527c85996b4dc227607722e94d3c13051e19109bb9873b9993279407064f1d9dc0d1585234af5d22d9d1940fc05b856076249504 WHIRLPOOL 2d2a2720a5b5289902254549b06dd4cbb1476ad76b6bb2bef2fbd7ae57cb8490a47a0b260507ff93ef5aa647a270d2de48f0fb7a3a9ef8dcfea059734362db7d
22 -DIST mariadb-galera-5.5.34.tar.gz 45818386 SHA256 ae6ebdb8d0d200e05b9dadc3d4175632c698acb217267e533a685f846f557ad4 SHA512 78498e42f6def630e1b84a3dd948a3b4c590caf34db6a6a57b518cd178571e269393cff366c44ce30ea0cd6aee368dd904d42015fff1545147b41d1a946a2f09 WHIRLPOOL fffd50e3c6b0ad81f9f2ad8fddf7fe99bbc1e11e25850d36beba2a34446bdff67ac740ce6884d4185f71b866fbaab5fe61f6af482e3f739d46a242f0892f7e8a
23 -DIST mariadb-galera-5.5.37.tar.gz 46241516 SHA256 3913849ffa754b55fedc4a9f625880dd8f25e4c5ce6e80594ac46a693494fae1 SHA512 e14dc38f2ca06d166af4a9752dac0fff2f56e674b7094704a169e7ddc1f34cff62fac3870d60743b02af45c7d8b55f7a9a981d55b8bc78269c9d88b02b4c34bc WHIRLPOOL 39dd4e053ce815e9123aece722800a9fc0cf53ba8896eb1c702b17923499bf1fe8409ae10edfafcc813b65f6ba46e0d4dfcfa4159416ffa1d2a49c9ca4ae96e5
24 -DIST mysql-extras-20140424-1043Z.tar.bz2 1493352 SHA256 75b8de752f11559e3900fd96c3ca6113bd083a69b08bd66b2c24bacfb9b8b88c SHA512 d1324efd88be8b9e7b6ef61cfaf497b51a02e0825a8cb240ee6869b0875f4f18170d9952567c995f73f9a57b98a91f6e91878bc9efe87f99e0b20053ce5a376a WHIRLPOOL 2982ca88af7926f7fbcf68e0f3f289c0b33e8c929de3db1679c4debf8fa1f74e809361e968ac94949dce405d4a4e494ebdf447e9208eb9cfc39c5677454ed77e
25 +DIST mariadb-galera-5.5.38.tar.gz 45256556 SHA256 85d82d1d7610eae10d49ccb8b0c64598c0da63dd5b90248b8d2c17e7cd45fb34 SHA512 40b8e7d7d5dc19e74bc7f8d1bdb3bc0cff71f5e04ca76f26b107e4267062fc906640df3463d748107df2f23f12750987116197603d32417cce9b9adc1b0310de WHIRLPOOL 7a4f4e3f6a0dd2b29d6315a98db5884ea56531d0a4f1e1b49bc1df7868b3855a198c6473b967079b1e2e18317bc2c018c310091f9fd905cb83ada70c769bc3cc
26 DIST mysql-extras-20140426-0232Z.tar.bz2 1493717 SHA256 84002593102ba35383a7f30c7c03af95750edc7a1bfd0ac6219bdfb4771725e0 SHA512 a7c1d603a5aba7996746ee59699091d30f7422e825815b8198ca4a1068df8e0814cf3de3f8608c034d4b1c145bc3dbc93f73cc8a22ae68a0e1bce5eef9afc3bc WHIRLPOOL 241ba3d4f6c9a2a6f7ca672b1902c5829939fe643f192f7ec41e1ffd9134e137ad6729504300034bad310d21ef60366df9451757250be83900783d9cfca010d7
27 DIST mysql-extras-20140729-2200Z.tar.bz2 1494219 SHA256 28363c7ba1893677911451e7f05402a31afc0ed0a48ea1b7cf1915ae1be81e20 SHA512 d90e104b3e73af5589eb32ddbcf9098ad9d69898b55d4d662ebc9578f0281e87fef6b5adb6cdc33fa19a04bf066e01121ead2e6a2bffa0d44ffc10b895392a1c WHIRLPOOL 531a9e08f9231bfcd758bbe8d5b6d5968bd2cfce9c70bc8c15517f497606322da7cffbecd77a0cabd837c3c0ba4f2381a569d583f2fa5ecb14e95a367a93ee11
28
29 diff --git a/dev-db/mariadb-galera/mariadb-galera-5.5.34.ebuild b/dev-db/mariadb-galera/mariadb-galera-5.5.34.ebuild
30 deleted file mode 100644
31 index ee20d86..0000000
32 --- a/dev-db/mariadb-galera/mariadb-galera-5.5.34.ebuild
33 +++ /dev/null
34 @@ -1,136 +0,0 @@
35 -# Copyright 1999-2014 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -# $Header: $
38 -
39 -EAPI="4"
40 -MY_EXTRAS_VER="20140424-1043Z"
41 -WSREP_REVISION="23"
42 -
43 -# Build system
44 -BUILD="cmake"
45 -
46 -inherit toolchain-funcs mysql-v2
47 -# only to make repoman happy. it is really set in the eclass
48 -IUSE="$IUSE"
49 -
50 -# REMEMBER: also update eclass/mysql*.eclass before committing!
51 -KEYWORDS="~amd64 ~x86"
52 -
53 -# When MY_EXTRAS is bumped, the index should be revised to exclude these.
54 -EPATCH_EXCLUDE=''
55 -
56 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
57 -RDEPEND="${RDEPEND}"
58 -
59 -# Please do not add a naive src_unpack to this ebuild
60 -# If you want to add a single patch, copy the ebuild to an overlay
61 -# and create your own mysql-extras tarball, looking at 000_index.txt
62 -
63 -# Official test instructions:
64 -# USE='-cluster embedded extraengine perl ssl static-libs community' \
65 -# FEATURES='test userpriv -usersandbox' \
66 -# ebuild mariadb-galera-X.X.XX.ebuild \
67 -# digest clean package
68 -src_test() {
69 -
70 - local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
71 - local retstatus_unit
72 - local retstatus_tests
73 -
74 - # Bug #213475 - MySQL _will_ object strenously if your machine is named
75 - # localhost. Also causes weird failures.
76 - [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
77 -
78 - if ! use "minimal" ; then
79 -
80 - if [[ $UID -eq 0 ]]; then
81 - die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
82 - fi
83 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
84 -
85 - einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
86 - addpredict /this-dir-does-not-exist/t9.MYI
87 -
88 - # Run CTest (test-units)
89 - cmake-utils_src_test
90 - retstatus_unit=$?
91 - [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
92 -
93 - # Ensure that parallel runs don't die
94 - export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
95 -
96 - # create directories because mysqladmin might right out of order
97 - mkdir -p "${S}"/mysql-test/var-tests{,/log}
98 -
99 - # create symlink for the tests to find mysql_tzinfo_to_sql
100 - ln -s "${CMAKE_BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/"
101 -
102 - # These are failing in MySQL 5.5 for now and are believed to be
103 - # false positives:
104 - #
105 - # main.information_schema, binlog.binlog_statement_insert_delayed,
106 - # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
107 - # funcs_1.is_columns_mysql
108 - # fails due to USE=-latin1 / utf8 default
109 - #
110 - # main.mysql_client_test, main.mysql_client_test_nonblock:
111 - # segfaults at random under Portage only, suspect resource limits.
112 - #
113 - # sys_vars.plugin_dir_basic
114 - # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
115 - # instead of MYSQL_LIBDIR/plugin
116 - #
117 - # main.flush_read_lock_kill
118 - # fails because of unknown system variable 'DEBUG_SYNC'
119 - #
120 - # main.openssl_1
121 - # error message changing
122 - # -mysqltest: Could not open connection 'default': 2026 SSL connection
123 - # error: ASN: bad other signature confirmation
124 - # +mysqltest: Could not open connection 'default': 2026 SSL connection
125 - # error: error:00000001:lib(0):func(0):reason(1)
126 - #
127 - # plugins.unix_socket
128 - # fails because portage strips out the USER enviornment variable
129 - #
130 - # sys_vars.all_vars
131 - # Fails in 5.5.32 only due to known issue upstream, forgotten variable from test.
132 - # Should be fixed in next release.
133 - #
134 - for t in main.mysql_client_test main.mysql_client_test_nonblock \
135 - binlog.binlog_statement_insert_delayed main.information_schema \
136 - main.mysqld--help main.flush_read_lock_kill \
137 - sys_vars.plugin_dir_basic main.openssl_1 plugins.unix_socket \
138 - funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql \
139 - sys_vars.all_vars ; do
140 - mysql-v2_disable_test "$t" "False positives in Gentoo"
141 - done
142 -
143 - # Run mysql tests
144 - pushd "${TESTDIR}"
145 -
146 - # run mysql-test tests
147 - perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
148 - retstatus_tests=$?
149 - [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
150 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
151 -
152 - popd
153 -
154 - # Cleanup is important for these testcases.
155 - pkill -9 -f "${S}/ndb" 2>/dev/null
156 - pkill -9 -f "${S}/sql" 2>/dev/null
157 -
158 - failures=""
159 - [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
160 - [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
161 - has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
162 -
163 - [[ -z "$failures" ]] || die "Test failures: $failures"
164 - einfo "Tests successfully completed"
165 -
166 - else
167 -
168 - einfo "Skipping server tests due to minimal build."
169 - fi
170 -}
171
172 diff --git a/dev-db/mariadb-galera/mariadb-galera-5.5.37.ebuild b/dev-db/mariadb-galera/mariadb-galera-5.5.38.ebuild
173 similarity index 100%
174 rename from dev-db/mariadb-galera/mariadb-galera-5.5.37.ebuild
175 rename to dev-db/mariadb-galera/mariadb-galera-5.5.38.ebuild