Commit Graph

563 Commits

Author SHA1 Message Date
Michal Schorm
afc38114d9 Bump release for production build 2024-02-05 16:59:56 +01:00
Michal Schorm
051d29c993 Fix RPM syntax: '%patchN' has been deprecated
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/VBFDPQHAHF3WG6WBZR2L5GSWMW6CVTJS/
2024-02-05 16:59:56 +01:00
Michal Schorm
d9d169d111 Tetsuite has been checked 2024-02-05 16:59:56 +01:00
Lars Tangvald
22f4e649a8 Update to MySQL 8.0.33
The GCC 13 patch has been upstreamed
2024-02-05 16:59:56 +01:00
Michal Schorm
9868644ec8 Update skipped test list for s390x 2024-02-05 16:59:56 +01:00
Michal Schorm
b1482097c9 revert the value of '--max-test-fail' option to a production setting 2024-02-05 16:59:56 +01:00
Michal Schorm
834e92e654 MySQL 8.0.32 testuite reviewed
Enabled more testsuite parallelization
I've tested that the builders will not deplete resources for this value

New bug discovered: #2165809
  "Testsuite suite 'query_rewrite_plugins' fails on Fedora 38 and later"
2024-02-05 16:59:56 +01:00
Michal Schorm
7bb776b952 Revert "WORKAROUND - disable testsuite until GCC 13 problems are fixed"
This reverts commit 61e419768d758f233dbbf02302ea8f8bd0a98eb1.
2024-02-05 16:59:56 +01:00
Yaakov Selkowitz
303a5e3af1 Fix build with GCC 13 for Fedora >= 38 2024-02-05 16:59:56 +01:00
Michal Schorm
290ae2f2bc Fixup - keep changelog in chronological order 2024-02-05 16:59:56 +01:00
Michal Schorm
28f83f4ce7 WORKAROUND - disable testsuite until GCC 13 problems are fixed 2024-02-05 16:59:56 +01:00
Lars Tangvald
ea70b8e9cd Update to MySQL 8.0.32 2024-02-05 16:59:56 +01:00
Fedora Release Engineering
ef905729e0 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2024-02-05 16:59:56 +01:00
Pete Walter
0bfeb883f4 Rebuild for ICU 72 2024-02-05 16:59:56 +01:00
Michal Schorm
5c1506c375 WORKAROUND - testsuite issues
Dissable running the testuite in memory to workaround OOM problem.
Disable testsuite parallelization to allow tests to pass on ppc64le too.

These issues are believed to originate in Koji build system and are present
mainly in the Rawhide (F38) buildroot.
F36 buildroot seems to be most stable out of the current ones.
2024-02-05 16:59:56 +01:00
Lars Tangvald
c140b47963 Update to MySQL 8.0.31 2024-02-05 16:59:56 +01:00
Michal Schorm
e1c6e901fc Release bump for rebuild 2024-02-05 16:59:56 +01:00
Michal Schorm
834d920e34 Fix the logrotate file [2]
In one of the previous commits, I've started to pack a different logrotate file
as it contains the correct path to the logfile of the mysql server.

It has been found, that I've overlooked that the filepath to the mysql server
was still set wrongly.
It was set to a:     '/var/log/mysqld.log'
Instead of expected: '/var/log/mysql/mysql.log'

This path is added to the mysql logrotate configuration file via CMAKE variable
substitution.
However since we haven't specify the variable value,
a default value has been used instead.

The fix to this issue was simple - specify the variable value as the CMAKE
command argument.

--

At the same time, we were using a custom (downstream) variable meant to hold
the same information. We used this variable for generating the correct filepath
to the mysql server logfile in the mysql server configuration file.

Instead of using two different CMAKE variables with the same meaning,
I've changed it so we get rid of the downstream specified variable
and use the upstream specified variable instead.

--

The positive effect is the de-duplication of code and assurance that when we
set the value, it is used everywhere - both in the upstream code and in the
downstream patches.

The tiny negative effect is that at this moment, the names of the variables
differ to the we use in 'mariadb' package.
2024-02-05 16:59:56 +01:00
Michal Schorm
943dd0962b Release bump for rebuild 2024-02-05 16:59:56 +01:00
Michal Schorm
003c6a0ff6 Fix RPM error: %changelog not in descending chronological order 2024-02-05 16:59:56 +01:00
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