Commit Graph

307 Commits

Author SHA1 Message Date
Zuzana Miklankova
6ec4c43428
ignore udf_example.so in badfuncs check
Resolves: #2047868

udf_example.so contains following deprecated functions:
gethostbyaddr
gethostbyname
inet_addr
inet_ntoa

The udf_example.so can be ignored from badfuncs check, because it is an
exemplary file, showing users how to write own loadable functions. Even
though code from this .so can be used in mysql server, it needs to be
manually loaded by the user.

Deprecated functions have been reported upstream [1].

[1] https://bugs.mysql.com/bug.php?id=106797
2022-03-23 14:54:30 +01:00
Michal Schorm
6051e9c376 Update skipped tests lists for MySQL 8.0.28 release
Related: #2048378 #2048164
2022-02-07 09:08:29 +00:00
Michal Schorm
2b289caf83 The test "main.ssl_deprecated_tls_versions" no longer exists and it breaks the MTR when a non-existent test is marked for skipping
Related: #2048378 #2048164
2022-02-07 09:08:29 +00:00
Michal Schorm
8bbb02aae7 Introduce a new BuildRequires needed since MySQL 8.0.28
Related: #2048378 #2048164
2022-02-07 09:08:29 +00:00
Lars Tangvald
4e5e30e246 Update to MySQL 8.0.28
Related: #2048378 #2048164
2022-02-07 09:08:29 +00:00
Michal Schorm
1edb9a3308 RPMinspect - ignore malformed XML file
which is only used in the testsuite
2022-01-28 19:32:02 +01:00
Michal Schorm
dce44e53e8 Add gating.yaml 2022-01-27 21:01:32 +01:00
Michal Schorm
2e276d04da Update failing & unstable tests lists
There is an issue, which is only present on C9S & RHEL 9 (neither in Fedora nor RHEL 8) which requires the Linux Native AIO to be turned off for InnoDB

Related: #1969430
2022-01-27 15:35:30 +01:00
Michal Schorm
da682ec014 OpenSSL 3 patch rebase for MySQL 8.0.27
The source code structure for the Group replication has been changed by upstream.

Related: #1969430
2022-01-27 06:31:03 +01:00
Lars Tangvald
6703eda4c0 Update to MySQL 8.0.27
Related: #1969430
Resolves: #2018325
2022-01-27 06:31:00 +01:00
Michal Schorm
8faed80cb7 Remove obsolete bits for F32 and older
Related: #1969430
2022-01-27 06:31:00 +01:00
Michal Schorm
359f060bd6 Disabling building of unittests to workaround #1989847
Related: #1969430
2022-01-27 06:30:50 +01:00
Lars Tangvald
27642a32c4 Update to MySQL 8.0.26
Related: #1969430
Resolves: #1993353
2022-01-27 06:27:25 +01:00
Michal Schorm
91b42db5ef Fix RPATH error
Error:
  "ERROR 0001: file '/usr/libexec/mysqld' contains a standard runpath '/usr/lib64' in [/usr/lib64]"

Caused by:
  https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild

More Info:
  https://docs.fedoraproject.org/en-US/packaging-guidelines/#_beware_of_rpath

Related: #1969430
2022-01-27 06:27:16 +01:00
Michal Schorm
3e416757d0 Rebase to 8.0.25
Related: #1969430
2022-01-27 06:27:08 +01:00
Michal Schorm
c9a1954897 Implement running of the minimal testsuite
Once the full testsuite has been run for the particular MySQL release; execute just the "main" suite on subsequent runs for that release.

The implementation default to running of the whole testsuite, as until now, if the maintainer won't set the flag that running of the minimal testsuite is enough for this release.

This feature aims to help with faster and more stable package builds when adding small fixes on top of already tested release;
and to ease the life of Fedora Linux Release Engineers during (mass) rebuilds.

Related: #1969430
2022-01-27 06:27:00 +01:00
Michal Schorm
819f3b563f Allow to run the test-suite in parallel when more versions are built
Related: #1969430
2022-01-27 06:26:53 +01:00
Michal Schorm
211811ea05 Move the disabled tests lists to the standalone files per architecture families
It will help the maintainers when trying to keep SPECs for different versions or product with minimal amount of differences
Disable "--mem" option, because the s390x builders ran out of resources

Related: #1969430
2022-01-27 06:26:31 +01:00
Lars Tangvald
4a2640ade1 Rebase to 8.0.24
Upstreamed patch: mysql-main-cast.patch

Related: #1969430
2022-01-27 06:26:11 +01:00
Lars Tangvald
6fd09810c5 Rebase to 8.0.23
Created mysql-fix-includes-robin-hood.patch
and mysql-main-cast.patch

Related: #1969430
2022-01-27 06:25:42 +01:00
Mohan Boddu
be8aafb77a Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 22:25:44 +00:00
Mohan Boddu
4c4b809fab Rebuilt for RHEL 9 BETA for openssl 3.0
Related: rhbz#1971065
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-06-16 03:32:01 +00:00
Honza Horak
51e2abe584 Make MySQL compile with openssl 3.x without FIPS properly implemented
This change takes some pieces from MariaDB, including compat_ssl.h and
changes in my_md5.cc.

MySQL utilizes FIPS_mode() and FIPS_mode_set() functions that are not
available in OpenSSL 3.x any more. This patch only mocks the call of
those functions, returning 0 every time, which effectively makes usage
of those functions non working. For making the MySQL build with
OpenSSL 3.x this seems to be enough though.

Resolves: #1952951
2021-05-20 15:29:28 +02:00
Mohan Boddu
ae97755dbc - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 02:19:34 +00:00
Honza Horak
5eeb1a73b3 Let the tests fail for now to see which are still failing 2021-02-03 22:46:52 +01:00
Honza Horak
b0873860de Update the list of failing tests fo 8.0.22 2021-02-03 22:45:42 +01:00
Honza Horak
02d18b94ba Use bundled rapidjson until it is available in the buildroot 2021-01-30 09:18:04 +01:00
Honza Horak
80ec70562f Rename from community-mysql to mysql 2021-01-29 16:29:55 +01:00
Honza Horak
09832e065f Merge remote-tracking branch 'fedora/master' into rhel-9.0.0-alpha 2021-01-29 16:13:06 +01:00
Release Configuration Management
59e0528441 New branch setup 2021-01-28 18:24:46 +00:00
Michal Schorm
f2b2d75492 Update failing and unstable tests list 2021-01-28 12:07:50 +01:00
Fedora Release Engineering
25d9935f01 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 02:23:17 +00:00
Adrian Reber
9b9c178978
Rebuilt for protobuf 3.14 2021-01-12 14:21:48 +01:00
Tom Stellard
80feb8cd7c Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-17 03:46:31 +00:00
Lukas Javorsky
08e55cba75 Add missing parts for 8.0.22 rebase
This missing parts was in patch created by Lars Tangvald
2020-10-26 14:15:53 +01:00
Lukas Javorsky
87520dee8c Add failing test for s390x arch 2020-10-26 14:00:44 +01:00
Lukas Javorsky
f62df44e19 Rebase to 8.0.22
community-mysql-certs-expired.patch and community-mysql-lto.patch was
patched by upstream
New zlib_decompress binary
2020-10-26 13:41:30 +01:00
Jeff Law
363f5a104e Fix another missing #include for gcc-11 2020-10-20 09:54:49 -06:00
Jeff Law
7da55b4db3 Add missing #include for gcc-11 2020-10-06 14:16:11 -06:00
Zbigniew Jędrzejewski-Szmek
2c54227b95 Rebuilt for libevent 2.1.12 (#2)
See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/QOQW2BJBYMTIEUQIAYVEIX2L5IIOHDZL/
2020-10-01 13:33:42 +02:00
Adrian Reber
a0d81df2e2
Rebuilt for protobuf 3.13 2020-09-23 17:40:28 +02:00
Michal Schorm
2f05e65c46 Rebuild due to libevent soname change 2020-09-15 18:01:08 +02:00
Michal Schorm
20de77ee94 Start building the MeCab plugin 2020-08-25 05:06:42 +02:00
Michal Schorm
3b646db22d Fix the filelist.
A number of shared libraries in the plugindir are part of the testsuite and thus should reside in *-test subpackage
It will be best to keep the file list explicit to avoid this in the future
2020-08-24 23:27:07 +02:00
Michal Schorm
1e4b405440 I encounter the ARM memory exaustion in the end
Looks like it is only issue on some machines
2020-08-18 10:28:33 +02:00
Michal Schorm
c7c5a5fec4 I haven't encounter the ARM memory exaustion on Fedora build infrastructure
Let's enable it and see how it will work
2020-08-18 08:48:27 +02:00
Lars Tangvald
c10b1b71d6 Enable LTO 2020-08-17 14:03:22 +02:00
Michal Schorm
0904309450 Remove ancient obsoletes 2020-08-13 12:26:00 +02:00
Michal Schorm
218698f77b Do a proper out-of-source CMake builds
Force the CMake change regarding the in-source builds also to F31 and F32
Use CMake macros instead of cmake & make direct commands
%%cmake macro covers the %%{set_build_flags}, so they are not needed
2020-08-13 12:25:58 +02:00
Honza Horak
d4f8a16cb1 Remove re2 dependency that is not needed any more 2020-08-12 08:46:39 +02:00