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/mysql/
Date: Mon, 26 Aug 2013 12:46:24
Message-Id: 1377520931.a01d0c7485649dd8c2883ed01f44fa12d104619a.grknight.pub@gentoo
1 commit: a01d0c7485649dd8c2883ed01f44fa12d104619a
2 Author: Brian Evans <grknight <AT> lavabit <DOT> com>
3 AuthorDate: Mon Aug 26 12:42:11 2013 +0000
4 Commit: Brian Evans <grknight <AT> lavabit <DOT> com>
5 CommitDate: Mon Aug 26 12:42:11 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=a01d0c74
7
8 [dev-db/mysql] Version bump to 5.6.13. Failing test(s): rpl.rpl_spec_variables similar to bug 473002
9
10 Package-Manager: portage-2.1.12.2
11
12 ---
13 dev-db/mysql/ChangeLog | 6 ++
14 dev-db/mysql/Manifest | 1 +
15 dev-db/mysql/mysql-5.6.13.ebuild | 120 +++++++++++++++++++++++++++++++++++++++
16 3 files changed, 127 insertions(+)
17
18 diff --git a/dev-db/mysql/ChangeLog b/dev-db/mysql/ChangeLog
19 index 24f372b..3c25cf2 100644
20 --- a/dev-db/mysql/ChangeLog
21 +++ b/dev-db/mysql/ChangeLog
22 @@ -2,6 +2,12 @@
23 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
24 # $Header: $
25
26 +*mysql-5.6.13 (26 Aug 2013)
27 +
28 + 26 Aug 2013; Brian Evans <grknight@××××××××.com> +mysql-5.6.13.ebuild:
29 + [dev-db/mysql] Version bump to 5.6.13. Failing test(s):
30 + rpl.rpl_spec_variables similar to bug 473002
31 +
32 *mysql-5.5.33 (16 Aug 2013)
33
34 16 Aug 2013; Brian Evans <grknight@××××××××.com> +mysql-5.5.33.ebuild:
35
36 diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest
37 index 8859800..1448669 100644
38 --- a/dev-db/mysql/Manifest
39 +++ b/dev-db/mysql/Manifest
40 @@ -13,6 +13,7 @@ DIST mysql-5.5.32.tar.gz 24589274 SHA256 babb19a1e58f6b285ff75e876f550a798d37fb7
41 DIST mysql-5.5.33.tar.gz 24680463 SHA256 6ad9af38de1f3595c5fb81bc24bdb62fa39b2ce1c690d87ac7d7a21ca71fceba SHA512 c0d24249113abe5c61a47c96938b49db715d1daf2c27aedbead1b6a69b2cb6c1dd5a96412055182a28d3703ffa808c6032dc2ad608abbcec850f1fc80c552b39 WHIRLPOOL 964974a93a718010cf1c6631b9d0c7c483e66271caeca0b986ae564656fb5cf1e172d15631729ecb02fb07f9bc5e1d491855c23fa4ef4a0af4dcce363b5079f2
42 DIST mysql-5.6.10.tar.gz 35174149 SHA256 156c43a7bde1ada8552938c6b8f46162b568bca8ddb76998a645308d93fb70b6 SHA512 0dcaadccf52e51c33995232740ab62cde06fa5deb964421064642908dae7ea46e605e7620508b8b043e287f12cd0caf647d77477eddf9d61d93c896bff83afbd WHIRLPOOL f3f88d9f66eee2f135ebea8b1daa48ddd30f870cca400f7d70bfceb9cadc1ade44ae8d0f61c3deb12ce489a0c6be094155e4313268d9c45adb3844f748aa7cb4
43 DIST mysql-5.6.12.tar.gz 35876046 SHA256 1153c1e0ae94116c150be5f173c336a80471b5ed4642a682b8462d36d54d5817 SHA512 a94141c2ba1cb1bf606d25a8ede2dd919b2ad0e039211b4527829343282a09d25204bb66bf48a248d9ae2397b5b464f6e1c67d49250c34100297f4050dd3db8a WHIRLPOOL 642d3831c7a8f807b7ea44f1ea447b83dacc6a3b0ec51ec0e1e9990d8c2b1cccae7d92449bc90d3dabc0cdadcb8a122cc6d3cb4a3c22717cf9aa0540a26f1b5c
44 +DIST mysql-5.6.13.tar.gz 35951160 SHA256 5d1b230c3ce896fbea47a69b14b9efb122621a19f32c1102d388d8e7fa442d7e SHA512 56d3aa84c0ed69fcdb7706117398d555aaec0c20fe09364cd6d4a6b3e3af8644825d7cb886dbfd3fe630bfd318306090359f04f2558cf499915a9f1648520a82 WHIRLPOOL e9c701b8923071136e3baaabffae5f38e76ae7f8cf237aa0109614940a365bf2589d05d2c31b1523a92ad4ad0cc7dbff4eb15711b09c0cb3223e73e88456b290
45 DIST mysql-5.6.7-rc.tar.gz 34316534 SHA256 cc24b2ad3f5d7df4849bb9c5c2c32c1ec329ff87a44db08737d336b964359600 SHA512 86cb6298be320e61974626f7708dbab75478b98fc1c9f5bb81a241ad7bd70a249692f2254f41b9e96804380ff78b21ccd006e7a861532a97e558816e46ec6b8d WHIRLPOOL 26d2edd331388b4fa08b8384a4c292cdec927216054ece6708227d11d9fe68c55d50e7a828c3395c25997a967ca5acbabac5dbd47ecc6e61c24170fafbc3af79
46 DIST mysql-5.6.9-rc.tar.gz 35444739 SHA256 f815b9a98ae2e65f9efed7ea24d489aa182917d9504a8ff041f9cb1fb02f48ff SHA512 2c615d96867bab78751d54ef163001cbcfa0676ac4a8c34b8f5c93cf256b94b4beb60fc2d8ded8d4272bd61a53119328a6e1c3db61ea5fbe4de4409ff804ff75 WHIRLPOOL 0577bc5297d034202ab0d3b08d24c979fdb62e078e8b99bded67b1f4f5e144ed0e1d602c6b03cc2e0941ad79fd179dcbc0e9bad0b7dd9a57356403a90776f15f
47 DIST mysql-5.7.1-m11.tar.gz 36605947 SHA256 00630164b2f61c1ed08e8484c75fea81acff33137c94f7da4d49fa352df2f489 SHA512 dabd1fde56d297ee2296d06b0a3190210450ca01d3c6d46634af643e2f0d83b14ef5f5bd79f09c96def840fe153a9cdd9b17baa3c75bf408bc95445f8c0afcf1 WHIRLPOOL 229e3020bf4b610336bbd83049e6a4faa39d9fb91ec5bd4702aa3610d06f1d41c7003ff80c7faf45ebfe151fd3a1bc3bef7118cb89b9fd61fc5132892b0b7589
48
49 diff --git a/dev-db/mysql/mysql-5.6.13.ebuild b/dev-db/mysql/mysql-5.6.13.ebuild
50 new file mode 100644
51 index 0000000..b47f90c
52 --- /dev/null
53 +++ b/dev-db/mysql/mysql-5.6.13.ebuild
54 @@ -0,0 +1,120 @@
55 +# Copyright 1999-2013 Gentoo Foundation
56 +# Distributed under the terms of the GNU General Public License v2
57 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.5.1_alpha_pre2.ebuild,v 1.8 2010/04/01 20:41:21 robbat2 Exp $
58 +
59 +EAPI="4"
60 +
61 +MY_EXTRAS_VER="live"
62 +MY_PV="${PV//_alpha_pre/-m}"
63 +MY_PV="${MY_PV//_/-}"
64 +
65 +# Build type
66 +BUILD="cmake"
67 +
68 +inherit toolchain-funcs mysql-v2
69 +# only to make repoman happy. it is really set in the eclass
70 +IUSE="$IUSE"
71 +
72 +# Define the mysql-extras source
73 +#EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
74 +EGIT_REPO_URI="/home/grknight/mysql-extras"
75 +
76 +# REMEMBER: also update eclass/mysql*.eclass before committing!
77 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
78 +
79 +# When MY_EXTRAS is bumped, the index should be revised to exclude these.
80 +EPATCH_EXCLUDE=''
81 +
82 +DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
83 +RDEPEND="${RDEPEND}"
84 +
85 +# Please do not add a naive src_unpack to this ebuild
86 +# If you want to add a single patch, copy the ebuild to an overlay
87 +# and create your own mysql-extras tarball, looking at 000_index.txt
88 +
89 +# Official test instructions:
90 +# USE='berkdb -cluster embedded extraengine perl ssl community' \
91 +# FEATURES='test userpriv -usersandbox' \
92 +# ebuild mysql-X.X.XX.ebuild \
93 +# digest clean package
94 +src_test() {
95 +
96 + local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
97 + local retstatus_unit
98 + local retstatus_tests
99 +
100 + # Bug #213475 - MySQL _will_ object strenously if your machine is named
101 + # localhost. Also causes weird failures.
102 + [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
103 +
104 + if ! use "minimal" ; then
105 +
106 + if [[ $UID -eq 0 ]]; then
107 + die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
108 + fi
109 + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
110 +
111 + einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
112 + addpredict /this-dir-does-not-exist/t9.MYI
113 +
114 + # Run CTest (test-units)
115 + cmake-utils_src_test
116 + retstatus_unit=$?
117 + [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
118 +
119 + # Ensure that parallel runs don't die
120 + export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
121 +
122 + # create directories because mysqladmin might right out of order
123 + mkdir -p "${S}"/mysql-test/var-tests{,/log}
124 +
125 + # These are failing in MySQL 5.5 for now and are believed to be
126 + # false positives:
127 + #
128 + # main.information_schema, binlog.binlog_statement_insert_delayed,
129 + # main.mysqld--help-notwin
130 + # fails due to USE=-latin1 / utf8 default
131 + #
132 + # main.mysql_client_test:
133 + # segfaults at random under Portage only, suspect resource limits.
134 + #
135 + # sys_vars.plugin_dir_basic
136 + # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
137 + # instead of MYSQL_LIBDIR/plugin
138 + #
139 + # main.flush_read_lock_kill
140 + # fails because of unknown system variable 'DEBUG_SYNC'
141 + for t in main.mysql_client_test \
142 + binlog.binlog_statement_insert_delayed main.information_schema \
143 + main.mysqld--help-notwin; do
144 + mysql-v2_disable_test "$t" "False positives in Gentoo"
145 + done
146 +
147 + # Run mysql tests
148 + pushd "${TESTDIR}"
149 +
150 + # run mysql-test tests
151 + perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
152 + retstatus_tests=$?
153 + [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
154 + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
155 +
156 + popd
157 +
158 + # Cleanup is important for these testcases.
159 + pkill -9 -f "${S}/ndb" 2>/dev/null
160 + pkill -9 -f "${S}/sql" 2>/dev/null
161 +
162 + failures=""
163 + [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
164 + [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
165 + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
166 +
167 + [[ -z "$failures" ]] || die "Test failures: $failures"
168 + einfo "Tests successfully completed"
169 +
170 + else
171 +
172 + einfo "Skipping server tests due to minimal build."
173 + fi
174 +}