Commit Graph

331 Commits

Author SHA1 Message Date
Michal Schorm 30bd06a2c9 Release bump for rebuild 2022-09-12 17:16:07 +02:00
Michal Schorm ecef712bd3 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.
2022-09-12 16:53:27 +02:00
Michal Schorm 0106a6023c Release bump for rebuild 2022-08-11 23:44:41 +02:00
Michal Schorm 193d6d8f1c Fix RPM error: %changelog not in descending chronological order 2022-08-11 23:40:59 +02:00
Michal Schorm 588e1b8bd4 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
2022-08-11 15:35:59 +02:00
Michal Schorm 8c37976477 rpminspect - introduce a global ignore list 2022-08-07 00:58:42 +02:00
Michal Schorm 3bba80ad0c [2/2] Update failing tests list for MySQL 8.0.30 2022-08-04 20:07:21 +02:00
Lars Tangvald 8e3249bedc [1/2] Update to MySQL 8.0.30 2022-08-04 20:07:06 +02:00
František Zatloukal f0030f7daf Rebuilt for ICU 71.1 2022-08-01 15:02:57 +02:00
Fedora Release Engineering 13839482f9 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 23:24:32 +00:00
Terje Rosten f23866056f [2/2] Update to MySQL 8.0.29 - fix of Boost on ppc64le 2022-06-20 14:17:16 +02:00
Lars Tangvald eb442a3ce0 [1/2] Update to MySQL 8.0.29 2022-06-20 14:01:08 +02:00
Zuzana Miklankova db25bd65b4
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:27:28 +01:00
Michal Schorm 5f5f293e92 Merge: sync content of all branches to match 'rawhide' 2022-02-01 01:27:33 +01:00
Michal Schorm ab96bdff19 Update failing tests list for MySQL 8.0.28 2022-01-31 22:32:29 +01:00
Michal Schorm 6e405f55a6 The test "main.ssl_deprecated_tls_versions" no longer exists and it breaks the MTR when a non-existent test is marked for skipping 2022-01-31 22:32:29 +01:00
Michal Schorm 57f3ac3548 Fixes for GCC 12 2022-01-31 22:32:29 +01:00
Michal Schorm 3d712cca83 Introduce a new BuildRequires needed since MySQL 8.0.28 release 2022-01-31 22:32:29 +01:00
Lars Tangvald 8b3f2e193c Update to MySQL 8.0.28 2022-01-31 22:32:29 +01:00
Fedora Release Engineering ffcb3f7dc4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 23:40:06 +00:00
Mamoru TASAKA 4e38783ef0 rebuild for new protobuf 2021-11-07 12:34:34 +09:00
Michal Schorm bc64ffaa50 [2/2] 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"
2021-11-01 00:45:30 +01:00
Lars Tangvald dcf4f22b0d [1/2] Update to MySQL 8.0.27 2021-11-01 00:45:14 +01:00
Michal Schorm 81249e5690 [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
2021-10-31 15:16:58 +01:00
Michal Schorm ddc6b65cba [2/3] OpenSSL 3 patch rebase for MySQL 8.0.27
The source code structure for the Group replication has been changed by upstream.
2021-10-31 15:13:05 +01:00
Lars Tangvald 1eedf72fe3 [1/3] Update to MySQL 8.0.27 2021-10-31 15:12:57 +01:00
Michal Schorm 1a28a28678 Remove obsolete bits for F32 and older 2021-10-31 02:50:27 +02:00
Michal Schorm be17d1bfb0 Enhance the description for a skipped test
Related: #2018764
2021-10-31 02:38:06 +02:00
Michal Schorm 629d8e7cde 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
2021-10-31 02:38:06 +02:00
Michal Schorm 15f77491f1 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.
2021-10-31 02:37:55 +02:00
Honza Horak 9789251e30 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
2021-10-30 14:25:22 +02:00
Adrian Reber 30eb9b5b71
Rebuilt for protobuf 3.18.1 2021-10-25 18:32:01 +02:00
Sahana Prasad 6ef75e14df Rebuilt with OpenSSL 3.0.0 2021-09-14 18:59:45 +02:00
Michal Schorm 0fa92eaab8 Switch to run just the base testsuite
The extended testuite has been ran and examined
2021-08-11 23:27:22 +02:00
Michal Schorm c64e0f6720 Disable more tests failing since 8.0.26 release exclusively on s390x architecture 2021-08-11 17:45:26 +02:00
Michal Schorm 194cf067b3 Disable tests requiring TLS versions that were disabled by system-wide crypto-policies settings on F33+
https://fedoraproject.org/wiki/Changes/StrongCryptoSettings2
2021-08-11 17:30:06 +02:00
Michal Schorm e6208748d4 Disabling building of unittests to workaround #1989847 2021-08-11 12:51:35 +02:00
Lars Tangvald c5df05b683 Update to MySQL 8.0.26 2021-08-10 14:31:42 +02:00
Fedora Release Engineering fadf1be5e1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 19:52:50 +00:00
Fedora Release Engineering 2cbeb86aed - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 14:54:32 +00:00
Michal Schorm b94098fc8a 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
2021-06-02 12:32:26 +02:00
Michal Schorm eac67d9413 Rebase to 8.0.25 2021-06-01 21:37:21 +02:00
Pete Walter 793fdb073c Rebuild for ICU 69 2021-05-20 00:56:17 +01:00
Pete Walter 3820f2948f Rebuild for ICU 69 2021-05-19 16:57:21 +01:00
Michal Schorm 28e4abf31b 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.
2021-05-10 18:17:48 +02:00
Michal Schorm ba7e907567 Allow to run the test-suite in parallel when more versions are built 2021-05-03 01:53:31 +02:00
Michal Schorm 0ab576df54 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
2021-05-03 01:53:31 +02:00
Michal Schorm 475acdedac Update disabled tests list fo the latest release for F32..Rawhide
Disable "--mem" option, because the s390x builders ran out of resources
2021-05-02 13:36:46 +02:00
Lars Tangvald 54af9761e5 Update to MySQL 8.0.24 2021-04-22 07:49:05 +02:00
Michal Schorm e24a50c773 Merge branch 'rawhide' into f34 2021-04-22 07:44:53 +02:00