1 |
robbat2 10/02/02 05:52:21 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mysql-5.4.3_beta.ebuild |
5 |
Log: |
6 |
Add 5.4 series beta, based on hanno's overlay work. Testsuite false positives/known failures updated for 5.4/5.5. |
7 |
(Portage version: 2.2_rc61/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.504 dev-db/mysql/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.504&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.504&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/ChangeLog?r1=1.503&r2=1.504 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v |
19 |
retrieving revision 1.503 |
20 |
retrieving revision 1.504 |
21 |
diff -p -w -b -B -u -u -r1.503 -r1.504 |
22 |
--- ChangeLog 1 Feb 2010 19:54:57 -0000 1.503 |
23 |
+++ ChangeLog 2 Feb 2010 05:52:20 -0000 1.504 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-db/mysql |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.503 2010/02/01 19:54:57 robbat2 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.504 2010/02/02 05:52:20 robbat2 Exp $ |
29 |
+ |
30 |
+*mysql-5.4.3_beta (02 Feb 2010) |
31 |
+ |
32 |
+ 02 Feb 2010; Robin H. Johnson <robbat2@g.o> |
33 |
+ +mysql-5.4.3_beta.ebuild: |
34 |
+ Add 5.4 series beta, based on hanno's overlay work. Testsuite false |
35 |
+ positives/known failures updated for 5.4/5.5. |
36 |
|
37 |
01 Feb 2010; Robin H. Johnson <robbat2@g.o> mysql-5.1.39.ebuild, |
38 |
mysql-5.1.41.ebuild, mysql-5.1.42.ebuild, mysql-5.1.43.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-db/mysql/mysql-5.4.3_beta.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/mysql-5.4.3_beta.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/mysql/mysql-5.4.3_beta.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: mysql-5.4.3_beta.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.4.3_beta.ebuild,v 1.1 2010/02/02 05:52:20 robbat2 Exp $ |
52 |
|
53 |
MY_EXTRAS_VER="20100201-0104Z" |
54 |
EAPI=2 |
55 |
|
56 |
inherit toolchain-funcs mysql |
57 |
# only to make repoman happy. it is really set in the eclass |
58 |
IUSE="$IUSE" |
59 |
|
60 |
# Define the mysql-extras source |
61 |
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git" |
62 |
|
63 |
# REMEMBER: also update eclass/mysql*.eclass before committing! |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
65 |
|
66 |
# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
67 |
EPATCH_EXCLUDE='' |
68 |
|
69 |
DEPEND="|| ( >=sys-devel/gcc-4 >=sys-devel/gcc-apple-4 )" |
70 |
RDEPEND="!media-sound/amarok" |
71 |
|
72 |
# Please do not add a naive src_unpack to this ebuild |
73 |
# If you want to add a single patch, copy the ebuild to an overlay |
74 |
# and create your own mysql-extras tarball, looking at 000_index.txt |
75 |
|
76 |
# Official test instructions: |
77 |
# USE='berkdb cluster embedded extraengine perl ssl community' \ |
78 |
# FEATURES='test userpriv -usersandbox' \ |
79 |
# ebuild mysql-X.X.XX.ebuild \ |
80 |
# digest clean package |
81 |
src_test() { |
82 |
# Bug #213475 - MySQL _will_ object strenously if your machine is named |
83 |
# localhost. Also causes weird failures. |
84 |
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
85 |
|
86 |
emake check || die "make check failed" |
87 |
if ! use "minimal" ; then |
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 |
cd "${S}" |
93 |
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
94 |
local retstatus_unit |
95 |
local retstatus_ns |
96 |
local retstatus_ps |
97 |
local t |
98 |
addpredict /this-dir-does-not-exist/t9.MYI |
99 |
|
100 |
# Ensure that parallel runs don't die |
101 |
export MTR_BUILD_THREAD="$((${RANDOM} % 100))" |
102 |
|
103 |
# archive_gis really sucks a lot, but it's only relevant for the |
104 |
# USE=extraengines case |
105 |
case ${PV} in |
106 |
5.0.42) |
107 |
mysql_disable_test "archive_gis" "Totally broken in 5.0.42" |
108 |
;; |
109 |
|
110 |
5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87) |
111 |
[ "$(tc-endian)" == "big" ] && \ |
112 |
mysql_disable_test \ |
113 |
"archive_gis" \ |
114 |
"Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only" |
115 |
;; |
116 |
esac |
117 |
|
118 |
# This was a slight testcase breakage when the read_only security issue |
119 |
# was fixed. |
120 |
case ${PV} in |
121 |
5.0.54|5.0.51*) |
122 |
mysql_disable_test \ |
123 |
"read_only" \ |
124 |
"Broken in 5.0.51-54, output in wrong order" |
125 |
;; |
126 |
esac |
127 |
|
128 |
# Ditto to read_only |
129 |
[ "${PV}" == "5.0.51a" ] && \ |
130 |
mysql_disable_test \ |
131 |
"view" \ |
132 |
"Broken in 5.0.51, output in wrong order" |
133 |
|
134 |
# x86-specific, OOM issue with some subselects on low memory servers |
135 |
[ "${PV}" == "5.0.54" ] && \ |
136 |
[ "${ARCH/x86}" != "${ARCH}" ] && \ |
137 |
mysql_disable_test \ |
138 |
"subselect" \ |
139 |
"Testcase needs tuning on x86 for oom condition" |
140 |
|
141 |
# Broke with the YaSSL security issue that didn't affect Gentoo. |
142 |
[ "${PV}" == "5.0.56" ] && \ |
143 |
for t in openssl_1 rpl_openssl rpl_ssl ssl \ |
144 |
ssl_8k_key ssl_compress ssl_connect ; do \ |
145 |
mysql_disable_test \ |
146 |
"$t" \ |
147 |
"OpenSSL tests broken on 5.0.56" |
148 |
done |
149 |
|
150 |
# New test was broken in first time |
151 |
# Upstream bug 41066 |
152 |
# http://bugs.mysql.com/bug.php?id=41066 |
153 |
[ "${PV}" == "5.0.72" ] && \ |
154 |
mysql_disable_test \ |
155 |
"status2" \ |
156 |
"Broken in 5.0.72, new test is broken, upstream bug #41066" |
157 |
|
158 |
# The entire 5.0 series has pre-generated SSL certificates, they have |
159 |
# mostly expired now. ${S}/mysql-tests/std-data/*.pem |
160 |
# The certs really SHOULD be generated for the tests, so that they are |
161 |
# not expiring like this. We cannot do so ourselves as the tests look |
162 |
# closely as the cert path data, and we do not have the CA key to regen |
163 |
# ourselves. Alternatively, upstream should generate them with at least |
164 |
# 50-year validity. |
165 |
# |
166 |
# Known expiry points: |
167 |
# 4.1.*, 5.0.0-5.0.22, 5.1.7: Expires 2013/09/09 |
168 |
# 5.0.23-5.0.77, 5.1.7-5.1.22?: Expires 2009/01/27 |
169 |
# 5.0.78-5.0.90, 5.1.??-5.1.42: Expires 2010/01/28 |
170 |
# |
171 |
# mysql-test/std_data/untrusted-cacert.pem is MEANT to be |
172 |
# expired/invalid. |
173 |
case ${PV} in |
174 |
5.0.*|5.1.*|5.4.*|5.5.*) |
175 |
for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \ |
176 |
ssl_compress ssl_connect ; do \ |
177 |
mysql_disable_test \ |
178 |
"$t" \ |
179 |
"These OpenSSL tests break due to expired certificates" |
180 |
done |
181 |
;; |
182 |
esac |
183 |
|
184 |
# These are also failing in MySQL 5.1 for now, and are believed to be |
185 |
# false positives: |
186 |
# |
187 |
# main.mysql_comment, main.mysql_upgrade, main.information_schema: |
188 |
# fails due to USE=-latin1 / utf8 default |
189 |
# |
190 |
# main.mysql_client_test: |
191 |
# segfaults at random under Portage only, suspect resource limits. |
192 |
# |
193 |
# main.not_partition: |
194 |
# Failure reason unknown at this time, must resolve before package.mask |
195 |
# removal FIXME |
196 |
case ${PV} in |
197 |
5.1.*|5.4.*|5.5.*) |
198 |
for t in main.mysql_client_test main.mysql_comments \ |
199 |
main.mysql_upgrade \ |
200 |
main.information_schema \ |
201 |
main.not_partition; do |
202 |
mysql_disable_test "$t" "False positives in Gentoo" |
203 |
done |
204 |
;; |
205 |
esac |
206 |
|
207 |
# create directories because mysqladmin might right out of order |
208 |
mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log} |
209 |
|
210 |
# We run the test protocols seperately |
211 |
make -j1 test-unit |
212 |
retstatus_unit=$? |
213 |
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
214 |
|
215 |
make -j1 test-ns force="--force --vardir=${S}/mysql-test/var-ns" |
216 |
retstatus_ns=$? |
217 |
[[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed" |
218 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
219 |
|
220 |
make -j1 test-ps force="--force --vardir=${S}/mysql-test/var-ps" |
221 |
retstatus_ps=$? |
222 |
[[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed" |
223 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
224 |
|
225 |
# TODO: |
226 |
# When upstream enables the pr and nr testsuites, we need those as well. |
227 |
|
228 |
# Cleanup is important for these testcases. |
229 |
pkill -9 -f "${S}/ndb" 2>/dev/null |
230 |
pkill -9 -f "${S}/sql" 2>/dev/null |
231 |
failures="" |
232 |
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
233 |
[[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns" |
234 |
[[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps" |
235 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
236 |
[[ -z "$failures" ]] || die "Test failures: $failures" |
237 |
einfo "Tests successfully completed" |
238 |
else |
239 |
einfo "Skipping server tests due to minimal build." |
240 |
fi |
241 |
} |