Commit Graph

302 Commits

Author SHA1 Message Date
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
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
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
Michal Schorm
dd3ea12884 Update failing tests list for MySQL 8.0.28 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
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
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
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
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