Commit Graph

622 Commits

Author SHA1 Message Date
Michal Schorm
37dc9057d6 OpenSSL 3 patch - ignore failing tests
Some tests started to fail reproducibly after the application of the OpenSSL 3 patch.
It is yet to be determined which tests results can be ignored (e.g. when the test is
dependent on a specific version 1.x of OpenSSL) and which tests found real issues.
  Related: #2015516
2024-02-05 16:59:56 +01:00
Michal Schorm
2fba130bfd Apply the OpenSSL 3 patch conditionally
This is usefull for Fedora Module builds, where a module build
for N Fedora releases is done from a single commit or a branch.
In the case of the 'mysql' module (from rpms/mysql repository)
we currently reference a single commit.
2024-02-05 16:59:56 +01:00
Honza Horak
e33f68c253 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.

---

This commit has been cherry-picked from CentOS Stream 9
  51e2abe584
and adjusted to be applicable to Fedora Rawhide
2024-02-05 16:59:56 +01:00
Adrian Reber
f30d7d7709 Rebuilt for protobuf 3.18.1 2024-02-05 16:59:56 +01:00
Sahana Prasad
db9d7cef15 Rebuilt with OpenSSL 3.0.0 2024-02-05 16:59:56 +01:00
Michal Schorm
12fc3eaa4b Switch to run just the base testsuite
The extended testuite has been ran and examined
2024-02-05 16:59:56 +01:00
Michal Schorm
a3176f0430 Disable more tests failing since 8.0.26 release exclusively on s390x architecture 2024-02-05 16:59:56 +01:00
Michal Schorm
8826aa4fc0 Disable tests requiring TLS versions that were disabled by system-wide crypto-policies settings on F33+
https://fedoraproject.org/wiki/Changes/StrongCryptoSettings2
2024-02-05 16:59:56 +01:00
Michal Schorm
2c05f3b3bd Disabling building of unittests to workaround #1989847 2024-02-05 16:59:56 +01:00
Lars Tangvald
997fd2af76 Update to MySQL 8.0.26 2024-02-05 16:59:56 +01:00
Fedora Release Engineering
5efeb4ca81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:56 +01:00
Fedora Release Engineering
11740706dd - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:44 +01:00
Michal Schorm
b0928d8195 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
2024-02-05 16:59:13 +01:00
Michal Schorm
c01002a576 Rebase to 8.0.25 2024-02-05 16:59:13 +01:00
Pete Walter
6d3611b4cd Rebuild for ICU 69 2024-02-05 16:59:13 +01:00
Pete Walter
f29e99adfe Rebuild for ICU 69 2024-02-05 16:59:13 +01:00
Michal Schorm
390e8d42cf 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.
2024-02-05 16:59:13 +01:00
Michal Schorm
ee4de3aa28 Allow to run the test-suite in parallel when more versions are built 2024-02-05 16:59:13 +01:00
Michal Schorm
c9ef673785 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
2024-02-05 16:59:13 +01:00
Michal Schorm
5087e301f6 Update disabled tests list fo the latest release for F32..Rawhide
Disable "--mem" option, because the s390x builders ran out of resources
2024-02-05 16:59:13 +01:00
Lars Tangvald
83c62ad629 Update to MySQL 8.0.24 2024-02-05 16:59:13 +01:00
Jonathan Wakely
fd94887653 Rebuilt for removed libstdc++ symbols (#1937698) 2024-02-05 16:59:13 +01:00
Zbigniew Jędrzejewski-Szmek
9ee7f01210 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2024-02-05 16:59:13 +01:00
Lukas Javorsky
0959988c36 Rebase to 8.0.23 2024-02-05 16:59:13 +01:00
Michal Schorm
fbe2f63222 Update failing and unstable tests list 2024-02-05 16:59:13 +01:00
Fedora Release Engineering
2ad13cffdc - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:13 +01:00
Adrian Reber
799eb1a2e8 Rebuilt for protobuf 3.14 2024-02-05 16:59:13 +01:00
Tom Stellard
5bbbc2157f Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2024-02-05 16:59:13 +01:00
Lukas Javorsky
25c1cdede8 Add missing parts for 8.0.22 rebase
This missing parts was in patch created by Lars Tangvald
2024-02-05 16:59:13 +01:00
Lukas Javorsky
4cc3109d7a Add failing test for s390x arch 2024-02-05 16:59:13 +01:00
Lukas Javorsky
5b369c33a6 Rebase to 8.0.22
community-mysql-certs-expired.patch and community-mysql-lto.patch was
patched by upstream
New zlib_decompress binary
2024-02-05 16:59:13 +01:00
Jeff Law
f6c1bc49b5 Fix another missing #include for gcc-11 2024-02-05 16:59:13 +01:00
Jeff Law
8593570046 Add missing #include for gcc-11 2024-02-05 16:59:13 +01:00
Zbigniew Jędrzejewski-Szmek
f3a06b48a5 Rebuilt for libevent 2.1.12 (#2)
See https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/QOQW2BJBYMTIEUQIAYVEIX2L5IIOHDZL/
2024-02-05 16:59:13 +01:00
Adrian Reber
a667731131 Rebuilt for protobuf 3.13 2024-02-05 16:59:13 +01:00
Michal Schorm
d5320ef9b6 Rebuild due to libevent soname change 2024-02-05 16:59:13 +01:00
Michal Schorm
d94abba32b Start building the MeCab plugin 2024-02-05 16:59:13 +01:00
Michal Schorm
722076684a 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
2024-02-05 16:59:13 +01:00
Michal Schorm
37a509f436 I encounter the ARM memory exaustion in the end
Looks like it is only issue on some machines
2024-02-05 16:59:13 +01:00
Michal Schorm
53372318b7 I haven't encounter the ARM memory exaustion on Fedora build infrastructure
Let's enable it and see how it will work
2024-02-05 16:59:13 +01:00
Lars Tangvald
c56966d2fa Enable LTO 2024-02-05 16:59:13 +01:00
Michal Schorm
18b2713fdb Remove ancient obsoletes 2024-02-05 16:59:13 +01:00
Michal Schorm
26b91bc699 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
2024-02-05 16:59:13 +01:00
Honza Horak
99822cc68f Remove re2 dependency that is not needed any more 2024-02-05 16:59:13 +01:00
Honza Horak
5c37574e88 Check that we have correct versions in bundled(*) Provides 2024-02-05 16:59:13 +01:00
Jeff Law
77266db250 Disable LTO properly 2024-02-05 16:59:13 +01:00
Fedora Release Engineering
d4fc909340 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:13 +01:00
Fedora Release Engineering
a438bcab56 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:13 +01:00
Lukas Javorsky
ff0f386d88 Add failing tests 2024-02-05 16:59:13 +01:00
Lars Tangvald
3be266c59f Update to MySQL 8.0.21 2024-02-05 16:59:13 +01:00