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/mysql: mysql-5.5.38.ebuild ChangeLog
Date: Fri, 20 Jun 2014 00:10:44
Message-Id: 20140620001038.2AA122004E@flycatcher.gentoo.org
1 grknight 14/06/20 00:10:38
2
3 Modified: ChangeLog
4 Added: mysql-5.5.38.ebuild
5 Log:
6 Version bump
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.671 dev-db/mysql/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.671&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?rev=1.671&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/ChangeLog?r1=1.670&r2=1.671
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v
20 retrieving revision 1.670
21 retrieving revision 1.671
22 diff -u -r1.670 -r1.671
23 --- ChangeLog 15 May 2014 03:28:08 -0000 1.670
24 +++ ChangeLog 20 Jun 2014 00:10:37 -0000 1.671
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-db/mysql
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.670 2014/05/15 03:28:08 grknight Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.671 2014/06/20 00:10:37 grknight Exp $
30 +
31 +*mysql-5.5.38 (20 Jun 2014)
32 +
33 + 20 Jun 2014; Brian Evans <grknight@g.o> +mysql-5.5.38.ebuild:
34 + Version bump
35
36 15 May 2014; Brian Evans <grknight@g.o> -mysql-5.5.32.ebuild:
37 Remove old
38
39
40
41 1.1 dev-db/mysql/mysql-5.5.38.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/mysql-5.5.38.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql/mysql-5.5.38.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mysql-5.5.38.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/mysql-5.5.38.ebuild,v 1.1 2014/06/20 00:10:37 grknight Exp $
51
52 EAPI="5"
53
54 MY_EXTRAS_VER="20140426-0232Z"
55 MY_PV="${PV//_alpha_pre/-m}"
56 MY_PV="${MY_PV//_/-}"
57
58 # Build type
59 BUILD="cmake"
60
61 inherit toolchain-funcs mysql-v2
62 # only to make repoman happy. it is really set in the eclass
63 IUSE="$IUSE"
64
65 # Define the mysql-extras source
66 EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/mysql-extras.git"
67
68 # REMEMBER: also update eclass/mysql*.eclass before committing!
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
70
71 # When MY_EXTRAS is bumped, the index should be revised to exclude these.
72 EPATCH_EXCLUDE=''
73
74 DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
75 RDEPEND="${RDEPEND}"
76
77 # Please do not add a naive src_unpack to this ebuild
78 # If you want to add a single patch, copy the ebuild to an overlay
79 # and create your own mysql-extras tarball, looking at 000_index.txt
80
81 # Official test instructions:
82 # USE='-cluster embedded extraengine perl ssl static-libs community' \
83 # FEATURES='test userpriv -usersandbox' \
84 # ebuild mysql-X.X.XX.ebuild \
85 # digest clean package
86 src_test() {
87
88 local TESTDIR="${CMAKE_BUILD_DIR}/mysql-test"
89 local retstatus_unit
90 local retstatus_tests
91
92 # Bug #213475 - MySQL _will_ object strenously if your machine is named
93 # localhost. Also causes weird failures.
94 [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
95
96 if ! use "minimal" ; then
97
98 if [[ $UID -eq 0 ]]; then
99 die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
100 fi
101 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
102
103 einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
104 addpredict /this-dir-does-not-exist/t9.MYI
105
106 # Run CTest (test-units)
107 cmake-utils_src_test
108 retstatus_unit=$?
109 [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
110
111 # Ensure that parallel runs don't die
112 export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
113
114 # create directories because mysqladmin might right out of order
115 mkdir -p "${S}"/mysql-test/var-tests{,/log}
116
117 # create symlink for the tests to find mysql_tzinfo_to_sql
118 ln -s "${CMAKE_BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/"
119
120 # These are failing in MySQL 5.5 for now and are believed to be
121 # false positives:
122 #
123 # main.information_schema, binlog.binlog_statement_insert_delayed,
124 # main.mysqld--help-notwin
125 # fails due to USE=-latin1 / utf8 default
126 #
127 # main.mysql_client_test:
128 # segfaults at random under Portage only, suspect resource limits.
129 #
130 # sys_vars.plugin_dir_basic
131 # fails because PLUGIN_DIR is set to MYSQL_LIBDIR64/plugin
132 # instead of MYSQL_LIBDIR/plugin
133 #
134 # main.flush_read_lock_kill
135 # fails because of unknown system variable 'DEBUG_SYNC'
136 #
137 # main.openssl_1
138 # error message changing
139 # -mysqltest: Could not open connection 'default': 2026 SSL connection
140 # error: ASN: bad other signature confirmation
141 # +mysqltest: Could not open connection 'default': 2026 SSL connection
142 # error: error:00000001:lib(0):func(0):reason(1)
143 #
144 # main.mysql_tzinfo_to_sql_symlink
145 # fails due to missing mysql_test/std_data/zoneinfo/GMT file from archive
146
147 for t in main.mysql_client_test \
148 binlog.binlog_statement_insert_delayed main.information_schema \
149 main.mysqld--help-notwin main.flush_read_lock_kill \
150 sys_vars.plugin_dir_basic main.openssl_1 mysql_tzinfo_to_sql_symlink ; do
151 mysql-v2_disable_test "$t" "False positives in Gentoo"
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 --testcase-timeout=30
160 retstatus_tests=$?
161 [[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
162 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
163
164 popd
165
166 # Cleanup is important for these testcases.
167 pkill -9 -f "${S}/ndb" 2>/dev/null
168 pkill -9 -f "${S}/sql" 2>/dev/null
169
170 failures=""
171 [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
172 [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
173 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
174
175 [[ -z "$failures" ]] || die "Test failures: $failures"
176 einfo "Tests successfully completed"
177
178 else
179
180 einfo "Skipping server tests due to minimal build."
181 fi
182 }