Commit Graph

643 Commits

Author SHA1 Message Date
Michal Schorm
5692c7a1f4 Fix the logrotate file
The sources contains two versions of the logrotate file:
* mysql-8.0.30/support-files/mysql-log-rotate.in
* mysql-8.0.30/packaging/rpm-common/mysql.logrotate.in

Until now, the first one was used. However logfile location
specified in that logrotate configuration file was wrong.
( /var/lib/mysql/mysqld.log )

From now on, we will use the second one, which is meant to be
used in RPM packages, and which respects their FSH layout.
( /var/log/mysql/mysqld.log )

--

As a side-effect, the whole configuration is now commented out.
So users now need to touch the file before they can start using it.

However once the configuration is un-commented,
it will work out-of-the-box (unlike until now).

--

Resolves: #2073434
2024-02-05 16:59:56 +01:00
Michal Schorm
bd72d73442 rpminspect - introduce a global ignore list 2024-02-05 16:59:56 +01:00
Michal Schorm
70a3941919 [2/2] Update failing tests list for MySQL 8.0.30 2024-02-05 16:59:56 +01:00
Lars Tangvald
b61612b0ad [1/2] Update to MySQL 8.0.30 2024-02-05 16:59:56 +01:00
František Zatloukal
daef10959b Rebuilt for ICU 71.1 2024-02-05 16:59:56 +01:00
Fedora Release Engineering
f5c1f14c5f Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:56 +01:00
Terje Rosten
76de4069c1 [2/2] Update to MySQL 8.0.29 - fix of Boost on ppc64le 2024-02-05 16:59:56 +01:00
Lars Tangvald
cc0a1754f9 [1/2] Update to MySQL 8.0.29 2024-02-05 16:59:56 +01:00
Zuzana Miklankova
f5302202e6 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
2024-02-05 16:59:56 +01:00
Michal Schorm
dd3ea12884 Update failing tests list for MySQL 8.0.28 2024-02-05 16:59:56 +01:00
Michal Schorm
5e41085542 The test "main.ssl_deprecated_tls_versions" no longer exists and it breaks the MTR when a non-existent test is marked for skipping 2024-02-05 16:59:56 +01:00
Michal Schorm
ea068f62ad Fixes for GCC 12 2024-02-05 16:59:56 +01:00
Michal Schorm
0f6b82ffe7 Introduce a new BuildRequires needed since MySQL 8.0.28 release 2024-02-05 16:59:56 +01:00
Lars Tangvald
ed43d23321 Update to MySQL 8.0.28 2024-02-05 16:59:56 +01:00
Fedora Release Engineering
61a0703bf6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:56 +01:00
Mamoru TASAKA
e2b8e06fcb rebuild for new protobuf 2024-02-05 16:59:56 +01:00
Michal Schorm
2471d17ba7 [3/3] Update failing tests list for MySQL 8.0.27
The full testsuite has been run multiple times on multiple
Fedora releases, thus updating the "last_tested_version"

Note: the additional failing tests on s390x are NOT OpenSSL 3 related
2024-02-05 16:59:56 +01:00
Michal Schorm
8a254cacfd [2/3] OpenSSL 3 patch rebase for MySQL 8.0.27
The source code structure for the Group replication has been changed by upstream.
2024-02-05 16:59:56 +01:00
Lars Tangvald
941a1c3769 [1/3] Update to MySQL 8.0.27 2024-02-05 16:59:56 +01:00
Michal Schorm
37ef2829ae Remove obsolete bits for F32 and older 2024-02-05 16:59:56 +01:00
Michal Schorm
c032b2a4cf Enhance the description for a skipped test
Related: #2018764
2024-02-05 16:59:56 +01:00
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