1 |
grknight 14/08/31 20:59:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mysql-cluster-7.3.6-r1.ebuild |
5 |
Log: |
6 |
Revision bump for multilib ebuild |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 67C78E1D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 dev-db/mysql-cluster/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-cluster/ChangeLog?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-cluster/ChangeLog?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-cluster/ChangeLog?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql-cluster/ChangeLog,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- ChangeLog 13 Aug 2014 20:53:43 -0000 1.2 |
24 |
+++ ChangeLog 31 Aug 2014 20:59:52 -0000 1.3 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-db/mysql-cluster |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-cluster/ChangeLog,v 1.2 2014/08/13 20:53:43 grknight Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-cluster/ChangeLog,v 1.3 2014/08/31 20:59:52 grknight Exp $ |
30 |
+ |
31 |
+*mysql-cluster-7.3.6-r1 (31 Aug 2014) |
32 |
+ |
33 |
+ 31 Aug 2014; Brian Evans <grknight@g.o> +mysql-cluster-7.3.6-r1.ebuild: |
34 |
+ Revision bump for multilib ebuild |
35 |
|
36 |
13 Aug 2014; <grknight@g.o> mysql-cluster-7.2.17.ebuild, |
37 |
mysql-cluster-7.3.6.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-db/mysql-cluster/mysql-cluster-7.3.6-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-cluster/mysql-cluster-7.3.6-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-cluster/mysql-cluster-7.3.6-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mysql-cluster-7.3.6-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-cluster/mysql-cluster-7.3.6-r1.ebuild,v 1.1 2014/08/31 20:59:52 grknight Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
MY_EXTRAS_VER="20140801-1950Z" |
54 |
|
55 |
inherit toolchain-funcs java-pkg-opt-2 mysql-multilib |
56 |
# only to make repoman happy. it is really set in the eclass |
57 |
IUSE="$IUSE" |
58 |
|
59 |
# REMEMBER: also update eclass/mysql*.eclass before committing! |
60 |
KEYWORDS="~amd64 ~x86" |
61 |
|
62 |
# When MY_EXTRAS is bumped, the index should be revised to exclude these. |
63 |
# This is often broken still |
64 |
#EPATCH_EXCLUDE='02040_all_embedded-library-shared-5.1.43.patch ' |
65 |
|
66 |
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" |
67 |
RDEPEND="!media-sound/amarok[embedded]" |
68 |
|
69 |
# Please do not add a naive src_unpack to this ebuild |
70 |
# If you want to add a single patch, copy the ebuild to an overlay |
71 |
# and create your own mysql-extras tarball, looking at 000_index.txt |
72 |
|
73 |
# Official test instructions: |
74 |
# USE='cluster extraengine perl ssl community' \ |
75 |
# FEATURES='test userpriv -usersandbox' \ |
76 |
# ebuild mysql-cluster-X.X.XX.ebuild \ |
77 |
# digest clean package |
78 |
multilib_src_test() { |
79 |
|
80 |
if ! multilib_is_native_abi ; then |
81 |
einfo "Server tests not available on non-native abi". |
82 |
return 0; |
83 |
fi |
84 |
|
85 |
local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test" |
86 |
local retstatus_unit |
87 |
local retstatus_tests |
88 |
|
89 |
# Bug #213475 - MySQL _will_ object strenously if your machine is named |
90 |
# localhost. Also causes weird failures. |
91 |
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" |
92 |
|
93 |
if ! use "minimal" ; then |
94 |
|
95 |
if [[ $UID -eq 0 ]]; then |
96 |
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." |
97 |
fi |
98 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
99 |
|
100 |
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" |
101 |
addpredict /this-dir-does-not-exist/t9.MYI |
102 |
|
103 |
# Run CTest (test-units) |
104 |
cmake-utils_src_test |
105 |
retstatus_unit=$? |
106 |
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" |
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 right out of order |
116 |
mkdir -p "${S}"/mysql-test/var-tests{,/log} |
117 |
|
118 |
# These are failing in MySQL 5.5/5.6 for now and are believed to be |
119 |
# false positives: |
120 |
# |
121 |
# main.information_schema, binlog.binlog_statement_insert_delayed, |
122 |
# main.mysqld--help-notwin, funcs_1.is_triggers funcs_1.is_tables_mysql, |
123 |
# funcs_1.is_columns_mysql, binlog.binlog_mysqlbinlog_filter, |
124 |
# perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt, |
125 |
# mysqld--help-notwin, funcs_1.is_triggers, funcs_1.is_tables_mysql, funcs_1.is_columns_mysql |
126 |
# perfschema.binlog_edge_stmt, perfschema.binlog_edge_mix, binlog.binlog_mysqlbinlog_filter |
127 |
# fails due to USE=-latin1 / utf8 default |
128 |
# |
129 |
# main.mysql_client_test: |
130 |
# segfaults at random under Portage only, suspect resource limits. |
131 |
# |
132 |
for t in \ |
133 |
binlog.binlog_mysqlbinlog_filter \ |
134 |
binlog.binlog_statement_insert_delayed \ |
135 |
funcs_1.is_columns_mysql \ |
136 |
funcs_1.is_tables_mysql \ |
137 |
funcs_1.is_triggers \ |
138 |
main.information_schema \ |
139 |
main.mysqld--help-notwinfuncs_1.is_triggers \ |
140 |
main.mysql_client_test \ |
141 |
mysqld--help-notwin \ |
142 |
perfschema.binlog_edge_mix \ |
143 |
perfschema.binlog_edge_stmt \ |
144 |
; do |
145 |
mysql-multilib_disable_test "$t" "False positives in Gentoo" |
146 |
done |
147 |
# ndb.ndbinfo, ndb_binlog.ndb_binlog_index: latin1/utf8 |
148 |
for t in \ |
149 |
ndb.ndbinfo \ |
150 |
ndb_binlog.ndb_binlog_index ; do |
151 |
mysql-multilib_disable_test "$t" "False positives in Gentoo (NDB)" |
152 |
done |
153 |
|
154 |
# Run mysql tests |
155 |
pushd "${TESTDIR}" |
156 |
|
157 |
# run mysql-test tests |
158 |
perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" |
159 |
retstatus_tests=$? |
160 |
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed" |
161 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
162 |
|
163 |
popd |
164 |
|
165 |
# Cleanup is important for these testcases. |
166 |
pkill -9 -f "${S}/ndb" 2>/dev/null |
167 |
pkill -9 -f "${S}/sql" 2>/dev/null |
168 |
|
169 |
failures="" |
170 |
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" |
171 |
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" |
172 |
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" |
173 |
|
174 |
[[ -z "$failures" ]] || die "Test failures: $failures" |
175 |
einfo "Tests successfully completed" |
176 |
|
177 |
else |
178 |
|
179 |
einfo "Skipping server tests due to minimal build." |
180 |
fi |
181 |
} |