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