Gentoo Archives: gentoo-commits

From: "Brian Evans (grknight)" <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/percona-server: percona-server-5.6.23.72.1.ebuild ChangeLog
Date: Sat, 07 Mar 2015 03:57:27
Message-Id: 20150307035720.B2ED113353@oystercatcher.gentoo.org
1 grknight 15/03/07 03:57:20
2
3 Modified: ChangeLog
4 Added: percona-server-5.6.23.72.1.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0xD1F781EFF9F4A3B6)
9
10 Revision Changes Path
11 1.14 dev-db/percona-server/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/percona-server/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/percona-server/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/percona-server/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/percona-server/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 9 Feb 2015 20:06:49 -0000 1.13
24 +++ ChangeLog 7 Mar 2015 03:57:20 -0000 1.14
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-db/percona-server
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/percona-server/ChangeLog,v 1.13 2015/02/09 20:06:49 grknight Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/percona-server/ChangeLog,v 1.14 2015/03/07 03:57:20 grknight Exp $
30 +
31 +*percona-server-5.6.23.72.1 (07 Mar 2015)
32 +
33 + 07 Mar 2015; Brian Evans <grknight@g.o>
34 + +percona-server-5.6.23.72.1.ebuild:
35 + Version bump
36
37 *percona-server-5.6.22.72.0 (09 Feb 2015)
38
39
40
41
42 1.1 dev-db/percona-server/percona-server-5.6.23.72.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/percona-server/percona-server-5.6.23.72.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/percona-server/percona-server-5.6.23.72.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: percona-server-5.6.23.72.1.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-db/percona-server/percona-server-5.6.23.72.1.ebuild,v 1.1 2015/03/07 03:57:20 grknight Exp $
52
53 EAPI="5"
54 MY_EXTRAS_VER="20150113-1853Z"
55
56 inherit toolchain-funcs mysql-multilib
57 # only to make repoman happy. it is really set in the eclass
58 IUSE="$IUSE"
59
60 # REMEMBER: also update eclass/mysql*.eclass before committing!
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
62
63 # When MY_EXTRAS is bumped, the index should be revised to exclude these.
64 EPATCH_EXCLUDE=''
65
66 DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
67 RDEPEND="${RDEPEND}"
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='extraengine perl ssl static-libs community' \
75 # FEATURES='test userpriv -usersandbox' \
76 # ebuild percona-server-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 "${T}"/var-tests{,/log}
117
118 # These are failing in Percona 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, binlog.binlog_mysqlbinlog_filter
123 # perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt
124 # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers
125 # engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate
126 # engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8
127 # engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate
128 # fails due to USE=-latin1 / utf8 default
129 #
130 # main.mysql_client_test:
131 # segfaults at random under Portage only, suspect resource limits.
132 #
133 # main.percona_bug1289599
134 # Looks to be a syntax error in the test file itself
135 #
136 # main.variables main.myisam main.merge_recover
137 # fails due to ulimit not able to open enough files (needs 5000)
138 #
139 # main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
140 # Called with bad parameters should be reported upstream
141
142 for t in main.mysql_client_test \
143 binlog.binlog_statement_insert_delayed main.information_schema \
144 main.mysqld--help-notwin binlog.binlog_mysqlbinlog_filter \
145 perfschema.binlog_edge_mix perfschema.binlog_edge_stmt \
146 funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers \
147 main.variables main.myisam main.merge_recover \
148 engines/funcs.db_alter_character_set engines/funcs.db_alter_character_set_collate \
149 engines/funcs.db_alter_collate_ascii engines/funcs.db_alter_collate_utf8 \
150 engines/funcs.db_create_character_set engines/funcs.db_create_character_set_collate \
151 main.percona_bug1289599 main.mysqlhotcopy_archive main.mysqlhotcopy_myisam ; do
152 mysql-multilib_disable_test "$t" "False positives in Gentoo"
153 done
154
155 # Run mysql tests
156 pushd "${TESTDIR}"
157
158 # Set file limits higher so tests run
159 ulimit -n 3000
160
161 # run mysql-test tests
162 perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
163 --testcase-timeout=30
164 retstatus_tests=$?
165 [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
166 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
167
168 popd
169
170 # Cleanup is important for these testcases.
171 pkill -9 -f "${S}/ndb" 2>/dev/null
172 pkill -9 -f "${S}/sql" 2>/dev/null
173
174 failures=""
175 [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
176 [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
177 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
178
179 [[ -z "$failures" ]] || die "Test failures: $failures"
180 einfo "Tests successfully completed"
181
182 else
183
184 einfo "Skipping server tests due to minimal build."
185 fi
186 }