Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/mariadb: mariadb-5.5.31.ebuild ChangeLog
Date: Sun, 02 Jun 2013 19:48:55
Message-Id: 20130602194852.1CEEF2171D@flycatcher.gentoo.org
1 robbat2 13/06/02 19:48:52
2
3 Modified: ChangeLog
4 Added: mariadb-5.5.31.ebuild
5 Log:
6 Bump.
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.29 dev-db/mariadb/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/ChangeLog?rev=1.29&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/ChangeLog?rev=1.29&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/ChangeLog?r1=1.28&r2=1.29
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v
20 retrieving revision 1.28
21 retrieving revision 1.29
22 diff -p -w -b -B -u -u -r1.28 -r1.29
23 --- ChangeLog 14 Mar 2013 01:02:16 -0000 1.28
24 +++ ChangeLog 2 Jun 2013 19:48:51 -0000 1.29
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-db/mariadb
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v 1.28 2013/03/14 01:02:16 robbat2 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v 1.29 2013/06/02 19:48:51 robbat2 Exp $
30 +
31 +*mariadb-5.5.31 (02 Jun 2013)
32 +
33 + 02 Jun 2013; Robin H. Johnson <robbat2@g.o> +mariadb-5.5.31.ebuild:
34 + Bump.
35
36 *mariadb-5.5.30 (14 Mar 2013)
37
38
39
40
41 1.1 dev-db/mariadb/mariadb-5.5.31.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/mariadb-5.5.31.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/mariadb-5.5.31.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mariadb-5.5.31.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-5.5.31.ebuild,v 1.1 2013/06/02 19:48:51 robbat2 Exp $
51
52 EAPI="4"
53 MY_EXTRAS_VER="20130602-1946Z"
54
55 # Build system
56 BUILD="cmake"
57
58 inherit toolchain-funcs mysql-v2
59 # only to make repoman happy. it is really set in the eclass
60 IUSE="$IUSE"
61
62 # REMEMBER: also update eclass/mysql*.eclass before committing!
63 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
64
65 # When MY_EXTRAS is bumped, the index should be revised to exclude these.
66 EPATCH_EXCLUDE=''
67
68 DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
69 RDEPEND="${RDEPEND}"
70
71 # Please do not add a naive src_unpack to this ebuild
72 # If you want to add a single patch, copy the ebuild to an overlay
73 # and create your own mysql-extras tarball, looking at 000_index.txt
74
75 # Official test instructions:
76 # USE='berkdb -cluster embedded extraengine perl ssl community' \
77 # FEATURES='test userpriv -usersandbox' \
78 # ebuild mariadb-X.X.XX.ebuild \
79 # digest clean package
80 src_test() {
81
82 local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
83 local retstatus_unit
84 local retstatus_tests
85
86 # Bug #213475 - MySQL _will_ object strenously if your machine is named
87 # localhost. Also causes weird failures.
88 [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
89
90 if ! use "minimal" ; then
91
92 if [[ $UID -eq 0 ]]; then
93 die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
94 fi
95 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
96
97 einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
98 addpredict /this-dir-does-not-exist/t9.MYI
99
100 # Run CTest (test-units)
101 cmake-utils_src_test
102 retstatus_unit=$?
103 [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
104
105 # Ensure that parallel runs don't die
106 export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
107
108 # create directories because mysqladmin might right out of order
109 mkdir -p "${S}"/mysql-test/var-tests{,/log}
110
111 # These are failing in MySQL 5.5 for now and are believed to be
112 # false positives:
113 #
114 # main.information_schema, binlog.binlog_statement_insert_delayed,
115 # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
116 # funcs_1.is_columns_mysql
117 # fails due to USE=-latin1 / utf8 default
118 #
119 # main.mysql_client_test, main.mysql_client_test_nonblock:
120 # segfaults at random under Portage only, suspect resource limits.
121 #
122 # sys_vars.plugin_dir_basic
123 # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
124 # instead of MYSQL_LIBDIR/plugin
125 #
126 # main.flush_read_lock_kill
127 # fails because of unknown system variable 'DEBUG_SYNC'
128 #
129 # main.openssl_1
130 # error message changing
131 # -mysqltest: Could not open connection 'default': 2026 SSL connection
132 # error: ASN: bad other signature confirmation
133 # +mysqltest: Could not open connection 'default': 2026 SSL connection
134 # error: error:00000001:lib(0):func(0):reason(1)
135 #
136 # plugins.unix_socket
137 # fails because portage strips out the USER enviornment variable
138 #
139
140 for t in main.mysql_client_test main.mysql_client_test_nonblock \
141 binlog.binlog_statement_insert_delayed main.information_schema \
142 main.mysqld--help main.flush_read_lock_kill \
143 sys_vars.plugin_dir_basic main.openssl_1 plugins.unix_socket \
144 funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
145 mysql-v2_disable_test "$t" "False positives in Gentoo"
146 done
147
148 # Run mysql tests
149 pushd "${TESTDIR}"
150
151 # run mysql-test tests
152 perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests"
153 retstatus_tests=$?
154 [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
155 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
156
157 popd
158
159 # Cleanup is important for these testcases.
160 pkill -9 -f "${S}/ndb" 2>/dev/null
161 pkill -9 -f "${S}/sql" 2>/dev/null
162
163 failures=""
164 [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
165 [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
166 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
167
168 [[ -z "$failures" ]] || die "Test failures: $failures"
169 einfo "Tests successfully completed"
170
171 else
172
173 einfo "Skipping server tests due to minimal build."
174 fi
175 }