From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AF9EA13888F for ; Fri, 3 Apr 2015 12:28:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45AC6E0885; Fri, 3 Apr 2015 12:28:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0AF7E0885 for ; Fri, 3 Apr 2015 12:28:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 855453409AE for ; Fri, 3 Apr 2015 12:28:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 139EA82 for ; Fri, 3 Apr 2015 12:27:59 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1428064065.2d18abfb62e2f7ea68e785fc5f3ce32f9964e516.grknight@gentoo> Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mariadb-galera/ X-VCS-Repository: proj/mysql X-VCS-Files: dev-db/mariadb-galera/ChangeLog dev-db/mariadb-galera/Manifest dev-db/mariadb-galera/mariadb-galera-10.0.17.ebuild X-VCS-Directories: dev-db/mariadb-galera/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: 2d18abfb62e2f7ea68e785fc5f3ce32f9964e516 X-VCS-Branch: master Date: Fri, 3 Apr 2015 12:27:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6b038d79-4ca2-4a4c-9275-052b3b22be78 X-Archives-Hash: 91d923832f5eb076a390837f4fd661b3 commit: 2d18abfb62e2f7ea68e785fc5f3ce32f9964e516 Author: Brian Evans gentoo org> AuthorDate: Fri Apr 3 12:27:45 2015 +0000 Commit: Brian Evans gentoo org> CommitDate: Fri Apr 3 12:27:45 2015 +0000 URL: https://gitweb.gentoo.org/proj/mysql.git/commit/?id=2d18abfb Version bump Package-Manager: portage-2.2.18 Manifest-Sign-Key: D1F781EFF9F4A3B6 dev-db/mariadb-galera/ChangeLog | 5 + dev-db/mariadb-galera/Manifest | 24 +++- .../mariadb-galera/mariadb-galera-10.0.17.ebuild | 128 +++++++++++++++++++++ 3 files changed, 154 insertions(+), 3 deletions(-) diff --git a/dev-db/mariadb-galera/ChangeLog b/dev-db/mariadb-galera/ChangeLog index 6a5d572..253e815 100644 --- a/dev-db/mariadb-galera/ChangeLog +++ b/dev-db/mariadb-galera/ChangeLog @@ -1,3 +1,8 @@ +*mariadb-galera-10.0.17 (03 Apr 2015) + + 03 Apr 2015; Brian Evans +mariadb-galera-10.0.17.ebuild: + Version bump + *mariadb-galera-10.0.12 (30 Jul 2014) 30 Jul 2014; Robin H. Johnson diff --git a/dev-db/mariadb-galera/Manifest b/dev-db/mariadb-galera/Manifest index b70fdcc..a97c780 100644 --- a/dev-db/mariadb-galera/Manifest +++ b/dev-db/mariadb-galera/Manifest @@ -1,5 +1,23 @@ -DIST mariadb-galera-10.0.14.tar.gz 51396249 SHA256 ce5a20df0cea64cd1efb2cbe29f91842e56d47266a550e79d87dc96f50bff769 SHA512 6e617b0050eb52f14631c9751b4d4fea699b4eca6ef33a8397fe5076f029ca7c516c6915264a175cecd735651b540ae37bc5d3214a2da6e24d8430a969b5ea45 WHIRLPOOL 6807e32ac5e6423eb216f45d9dbf5829837880ace0f96e09a6dc760c7dcd9e169744197019f879c08a661ec11ae8269d57f5063bec33b648aabdba87e4fbf2de -DIST mariadb-galera-10.0.15.tar.gz 55753400 SHA256 aea257ce0834d2c0e34e76966afecda0349995c2f6df0dbeec01f3e81ce5e0bb SHA512 e8a3addb7b6dcda8d3984d3cad17b478df70c67ce356e007385953bbd17d717cbc874713ac0066570e5b3154459666991d6f69bc80deeedff219d3efa9bac1ea WHIRLPOOL c7453899591da3a68e51a24d17283bfe2334f87db6a0e1e25313f5bade1bf5986227e21aeff086be291d55d4533d1e69556c3630048fca346cf3fa6ee864d71a +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + DIST mariadb-galera-10.0.16.tar.gz 55886236 SHA256 c730c6dbeee4e2985a8db9dc15a6b6e8e64db14cef1442ee5f6732d2754ed9fb SHA512 2a3fcb79bd32420b4b69118825ed4c954fcf7d1fd2358159687bc90157aef9e440d24209ffa71887029b66adca14f439f08d3edfdcee431b9d8bc49a9c7e6762 WHIRLPOOL 60c27680e8ba91f174cb9827e9def0760e8e388f4f072e9d8b71b102a57f2e141dc6cdd66604ad802512ad24855af9216ab4d87718f30c1ff599b3222b44d31c -DIST mysql-extras-20141019-1948Z.tar.bz2 1494569 SHA256 9a2ced701ef613e2a41c9a1fc550d9004d04f52cbfc06bb634ba9284d7a1c0ea SHA512 c9e3f3a447f010be0563b9d9ee2937d32c5334b04a883218eb6c14af41f9de635c3c0c44128959793e8a12ca3b26b2415777a13aced7c3812ab2c6d21ade6799 WHIRLPOOL bc0c73ca86d59d18a76a047a920fc2f64d2b3246e6b64838127d26c5c55cb3fc1ce8833656f5eadba72ef651e1f6c3e75700f776a1205ab33ab6ee0064851b86 +DIST mariadb-galera-10.0.17.tar.gz 56229230 SHA256 6ee9595630c0ddd498afe086953cbf7430aec48fe429230f8615627881897c6d SHA512 ee9e437d03b62f8416847ceb2843bb40110aa904ce4c8ae53e4fff95ae60871859128436a644e995ba1f62271c9c0f42efccda095747a9658e811367670ec2b6 WHIRLPOOL fe08438e96b87dc569d3b790147ee11c0af0394f56fdeb31230db3ed6d8dd1b58ad6e145fd636bd1574060b99b3736cf14a8a886980ef054d8f6e6a331c6c7cd DIST mysql-extras-20141215-0144Z.tar.bz2 1494767 SHA256 4757043858110654d52b0e6dccab064987ab5db8ae4ae99863cf86df0b90f947 SHA512 7a9b733d09f44b1faff19a496a3e820e444b339838665e6f37c4fddc8f2ad67e805082d598c4edc06fda9364f9906e4cf95520552f72d6b6df34413f38e7a2ed WHIRLPOOL 99ea6890a5faf097b941707538b68f62390e1a49ee662a87c27435a317a9a3f37f00802e72f86b52993b3d1674b57645db0f7e73379ab88fbc1d0ef791cf4326 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0 + +iQIcBAEBCAAGBQJVHodBAAoJENH3ge/59KO2+s4QAKtQPWKEtR7rbSwSbHeXM+1M +AblY3ugnq5QMIIsaoqr+Ss4V+C/dQkvQ6JoE2g4qY2YGyZszBGLYCvnRfCnpCfu8 +D6AH4E+eOhgj2Sp3y3u+ztVwGAlvfpxsfl5E2ezeiEDYHdwDnOhLD9yMQ+NRntnl +F/2AJTvB7J4yUsRP+BPtA/fRqViBJeD+QLEAnqREwJNY85QhzI3arpQtK+sPDafw +snXMChFDgUbvhU15VplpE+ttUqYmnfVkCa5ErI37PlINLZ/DbfvwbG+Ll2+BDsm3 +pPOVLNSHS2slvMXTzVh+cOF+4JFM0piWIBI2dV6igaHhjtD/oaQZ2WmLAfV5tUJs +AT+SbW9Skb26TCI11FdmwWEByDmpfYrbpA488B9J/Dd8s/P3kI39qy53cZArYYqO +bYEujYXfSjToanYewcVOeMivH5ihdgoWTpPo00NGJJH3HtKSCmV6Jq04YEO67B+c +KnTAA7qEcZZ+dYshcYzRJ6AdfgnR8Pzmsec7vL/3Xk23ijKiG3I4RPBdUUGhLUwe +GdwepyiQEbQNNkNq+/5bDe5z7neOiiTDzX1iTGJ8xLlDNdj/Mfdt6sMo78BA+Rxh +EULfQBWEmxDY+FOe7UnXcszj5G1Pv3TL1qCIvAQZiloKngyZprFuXCkNQCYmB9oR +ri3kRuni7cBWeH0wUjPE +=bWdI +-----END PGP SIGNATURE----- diff --git a/dev-db/mariadb-galera/mariadb-galera-10.0.17.ebuild b/dev-db/mariadb-galera/mariadb-galera-10.0.17.ebuild new file mode 100644 index 0000000..73404c6 --- /dev/null +++ b/dev-db/mariadb-galera/mariadb-galera-10.0.17.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" +MY_EXTRAS_VER="20141215-0144Z" +WSREP_REVISION="25" + +inherit toolchain-funcs mysql-multilib +# only to make repoman happy. it is really set in the eclass +IUSE="$IUSE" + +# REMEMBER: also update eclass/mysql*.eclass before committing! +KEYWORDS="~amd64 ~x86" + +# When MY_EXTRAS is bumped, the index should be revised to exclude these. +EPATCH_EXCLUDE='' + +DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )" +RDEPEND="${RDEPEND}" + +# Please do not add a naive src_unpack to this ebuild +# If you want to add a single patch, copy the ebuild to an overlay +# and create your own mysql-extras tarball, looking at 000_index.txt + +# Official test instructions: +# USE='embedded extraengine perl ssl static-libs community' \ +# FEATURES='test userpriv -usersandbox' \ +# ebuild mariadb-galera-X.X.XX.ebuild \ +# digest clean package +multilib_src_test() { + + if ! multilib_is_native_abi ; then + einfo "Server tests not available on non-native abi". + return 0; + fi + + local TESTDIR="${BUILD_DIR}/mysql-test" + local retstatus_unit + local retstatus_tests + + # Bug #213475 - MySQL _will_ object strenously if your machine is named + # localhost. Also causes weird failures. + [[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost" + + if ! use "minimal" ; then + + if [[ $UID -eq 0 ]]; then + die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root." + fi + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" + + einfo ">>> Test phase [test]: ${CATEGORY}/${PF}" + addpredict /this-dir-does-not-exist/t9.MYI + + # Run CTest (test-units) + cmake-utils_src_test + retstatus_unit=$? + [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed" + + # Ensure that parallel runs don't die + export MTR_BUILD_THREAD="$((${RANDOM} % 100))" + # Enable parallel testing, auto will try to detect number of cores + # You may set this by hand. + # The default maximum is 8 unless MTR_MAX_PARALLEL is increased + export MTR_PARALLEL="${MTR_PARALLEL:-auto}" + + # create directories because mysqladmin might right out of order + mkdir -p "${T}"/var-tests{,/log} + + # These are failing in MariaDB 10.0 for now and are believed to be + # false positives: + # + # main.information_schema, binlog.binlog_statement_insert_delayed, + # main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql, + # funcs_1.is_columns_mysql + # fails due to USE=-latin1 / utf8 default + # + # main.mysql_client_test, main.mysql_client_test_nonblock + # main.mysql_client_test_comp: + # segfaults at random under Portage only, suspect resource limits. + # + # wsrep.variables: + # Expects the sys-cluster/galera library to be installed and configured + # + # wsrep.foreign_key: + # Issues a configuration deprecation warning which does not affect data + # + + for t in main.mysql_client_test main.mysql_client_test_nonblock \ + main.mysql_client_test_comp \ + binlog.binlog_statement_insert_delayed main.information_schema \ + main.mysqld--help wsrep.variables wsrep.foreign_key \ + funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do + mysql-multilib_disable_test "$t" "False positives in Gentoo" + done + + # Run mysql tests + pushd "${TESTDIR}" + + # run mysql-test tests + # The PATH addition is required for the galera suite to find the sst scripts + # Skipping galera tests for now until MDEV-7544 is resovled + WSREP_LOG_DIR="${T}/var-tests/wsrep" \ + PATH="${BUILD_DIR}/scripts:${PATH}" \ + perl mysql-test-run.pl --force --vardir="${T}/var-tests" --skip-test=galera + retstatus_tests=$? + [[ $retstatus_tests -eq 0 ]] || eerror "tests failed" + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" + + popd + + # Cleanup is important for these testcases. + pkill -9 -f "${S}/ndb" 2>/dev/null + pkill -9 -f "${S}/sql" 2>/dev/null + + failures="" + [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit" + [[ $retstatus_tests -eq 0 ]] || failures="${failures} tests" + has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox" + + [[ -z "$failures" ]] || die "Test failures: $failures" + einfo "Tests successfully completed" + else + + einfo "Skipping server tests due to minimal build." + fi +}