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/mariadb: mariadb-10.0.14.ebuild ChangeLog mariadb-10.0.13.ebuild
Date: Fri, 26 Sep 2014 19:07:05
Message-Id: 20140926190701.28297658B@oystercatcher.gentoo.org
1 grknight 14/09/26 19:07:01
2
3 Modified: ChangeLog
4 Added: mariadb-10.0.14.ebuild
5 Removed: mariadb-10.0.13.ebuild
6 Log:
7 Version bump; remove old
8
9 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key 67C78E1D)
10
11 Revision Changes Path
12 1.53 dev-db/mariadb/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/ChangeLog?rev=1.53&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/ChangeLog?rev=1.53&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/ChangeLog?r1=1.52&r2=1.53
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v
21 retrieving revision 1.52
22 retrieving revision 1.53
23 diff -u -r1.52 -r1.53
24 --- ChangeLog 21 Sep 2014 15:11:55 -0000 1.52
25 +++ ChangeLog 26 Sep 2014 19:07:01 -0000 1.53
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-db/mariadb
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v 1.52 2014/09/21 15:11:55 grknight Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/ChangeLog,v 1.53 2014/09/26 19:07:01 grknight Exp $
31 +
32 +*mariadb-10.0.14 (26 Sep 2014)
33 +
34 + 26 Sep 2014; <grknight@g.o> +mariadb-10.0.14.ebuild,
35 + -mariadb-10.0.13.ebuild:
36 + Version bump; remove old
37
38 21 Sep 2014; Brian Evans <grknight@g.o> -mariadb-5.2.14.ebuild,
39 -mariadb-5.3.12.ebuild, metadata.xml:
40
41
42
43 1.1 dev-db/mariadb/mariadb-10.0.14.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/mariadb-10.0.14.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mariadb/mariadb-10.0.14.ebuild?rev=1.1&content-type=text/plain
47
48 Index: mariadb-10.0.14.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-db/mariadb/mariadb-10.0.14.ebuild,v 1.1 2014/09/26 19:07:01 grknight Exp $
53
54 EAPI="5"
55 MY_EXTRAS_VER="20140924-1913Z"
56
57 inherit toolchain-funcs mysql-multilib
58 # only to make repoman happy. it is really set in the eclass
59 IUSE="$IUSE"
60
61 # REMEMBER: also update eclass/mysql*.eclass before committing!
62 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~hppa ~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"
63
64 # When MY_EXTRAS is bumped, the index should be revised to exclude these.
65 EPATCH_EXCLUDE=''
66
67 DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
68 RDEPEND="${RDEPEND}"
69
70 # Official test instructions:
71 # USE='-cluster embedded extraengine perl ssl static-libs community' \
72 # FEATURES='test userpriv -usersandbox' \
73 # ebuild mariadb-X.X.XX.ebuild \
74 # digest clean package
75 multilib_src_test() {
76
77 if ! multilib_is_native_abi ; then
78 einfo "Server tests not available on non-native abi".
79 return 0;
80 fi
81
82 local TESTDIR="${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 # Enable parallel testing, auto will try to detect number of cores
108 # You may set this by hand.
109 # The default maximum is 8 unless MTR_MAX_PARALLEL is increased
110 export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
111
112 # create directories because mysqladmin might right out of order
113 mkdir -p "${S}"/mysql-test/var-tests{,/log}
114
115 # These are failing in MariaDB 10.0 for now and are believed to be
116 # false positives:
117 #
118 # main.information_schema, binlog.binlog_statement_insert_delayed,
119 # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
120 # funcs_1.is_columns_mysql
121 # fails due to USE=-latin1 / utf8 default
122 #
123 # main.mysql_client_test, main.mysql_client_test_nonblock
124 # main.mysql_client_test_comp:
125 # segfaults at random under Portage only, suspect resource limits.
126 #
127
128 for t in main.mysql_client_test main.mysql_client_test_nonblock \
129 main.mysql_client_test_comp \
130 binlog.binlog_statement_insert_delayed main.information_schema \
131 main.mysqld--help \
132 funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
133 mysql-multilib_disable_test "$t" "False positives in Gentoo"
134 done
135
136 # Run mysql tests
137 pushd "${TESTDIR}"
138
139 # run mysql-test tests
140 # Skip all CONNECT engine tests until upstream respondes to how to reference data files
141 perl mysql-test-run.pl --force --vardir="${S}/mysql-test/var-tests" \
142 --skip-test=connect
143 retstatus_tests=$?
144 [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
145 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
146
147 popd
148
149 # Cleanup is important for these testcases.
150 pkill -9 -f "${S}/ndb" 2>/dev/null
151 pkill -9 -f "${S}/sql" 2>/dev/null
152
153 failures=""
154 [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
155 [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
156 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
157
158 [[ -z "$failures" ]] || die "Test failures: $failures"
159 einfo "Tests successfully completed"
160
161 else
162
163 einfo "Skipping server tests due to minimal build."
164 fi
165 }