Commit Graph

329 Commits

Author SHA1 Message Date
Johnny Hughes
1a35656caf mysql package is retired on branch c10s for CS-2551 2024-10-02 15:35:16 +00:00
Michal Schorm
44bfbd029f ExcludeArch: %{ix86}
Both to:
1) Save infractsructure resources
As far as I know we don't ship %{ix86} variants of this package anywhere.

2) Workaround testsuite clashes
When two testsuites run concurrently at the same time on the same machine (builder),
the suites of both will crash, because of both using the same network resources.

I plan to research and implement a proper fix in Fedora, where we do ship %{ix86},
however since small problems on  %{ix86} are constanly taking bits of enginnering effort,
I want to kill two birds with one stone by this commit.

Related: RHEL-22455
2024-01-23 20:03:08 +01:00
Michal Schorm
24635d1bfb Update skipped tests list for MySQL 8.0.36
Related: RHEL-22455
2024-01-23 20:03:08 +01:00
Lars Tangvald
050e5fc1bc Update to MySQL 8.0.36
Resolves: RHEL-22455
2024-01-23 20:03:08 +01:00
Michal Schorm
d485aa4624 Update skipped tests lists for MySQL 8.0.35
Resolves: RHEL-22453
2024-01-23 20:03:08 +01:00
Florian Weimer
e38d49bb14 Fix int-conversion type error in memcached (#2255206)
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>

Related: RHEL-22453
2024-01-23 20:03:08 +01:00
Lars Tangvald
768cfb9f8c Update to MySQL 8.0.35
Resolves: RHEL-22453
2024-01-23 20:03:02 +01:00
Lars Tangvald
073353ef12 Update to MySQL 8.0.34
Resolves: RHEL-22456
2024-01-23 20:00:35 +01:00
Michal Schorm
6e9e3359c6 Fix RPM syntax: '%patchN' has been deprecated
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/VBFDPQHAHF3WG6WBZR2L5GSWMW6CVTJS/

Related: RHEL-22451
2024-01-23 20:00:16 +01:00
Michal Schorm
79dde6ed57 Update skipped tests lists for MySQL 8.0.33
Revision of the failing tests in the last releases has been done
Vast majority of the tests work well now

Related: RHEL-22451
2024-01-23 20:00:04 +01:00
Lars Tangvald
f53b2ef27a Update to MySQL 8.0.33
Resolves: RHEL-22454
Resolves: RHEL-22451
2024-01-23 19:58:51 +01:00
Michal Schorm
fd0c02dbdb Rebase to 8.0.32
--

Resolves: #2162318
2023-03-13 15:55:06 +01:00
Michal Schorm
88d285f545 Rebase to 8.0.31
--

Resolves: #2142970
2023-03-13 15:55:02 +01:00
Michal Schorm
4de312daf5 Release bump for rebuild
--

Related: #2073434
2022-09-13 10:50:06 +02:00
Michal Schorm
a4b2b6b9c9 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.

--

Resolves: #2073434
2022-09-13 10:50:01 +02:00
Michal Schorm
c5079bf6a2 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-26 15:39:14 +02:00
Michal Schorm
250cf87463 rpminspect - introduce a global ignore list
The XML ignore can be ommited as it is part of the newly introduced global ignore

--

Resolves: #2117219
2022-08-26 15:39:10 +02:00
Michal Schorm
67514bfeef [3/3] Update to MySQL 8.0.30 - testsuite fix - pass the AIO argument correctly
--

Related: #2117219
2022-08-26 15:38:39 +02:00
Michal Schorm
3f10f366fe [2/3] Update to MySQL 8.0.30 - update skipped-tests-list
--

Related: #2117219
2022-08-26 15:38:15 +02:00
Lars Tangvald
684314b493 [1/3] Update to MySQL 8.0.30
--

Resolves: #2115389
Related: #2117219
2022-08-26 15:37:53 +02:00
Terje Rosten
73eb40a2b0 [2/2] Update to MySQL 8.0.29 - fix of Boost on ppc64le
--

Related: #2117219
2022-08-26 15:37:44 +02:00
Lars Tangvald
d6b6c65604 [1/2] Update to MySQL 8.0.29
--

Cherry-picked Fedora commit: eb442a3ce0eaea78ef54beca8bf54d2040e36d82

--

Resolves: #2083232
Related: #2117219
2022-08-26 15:36:49 +02:00
Zuzana Miklankova
6ec4c43428
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:54:30 +01:00
Michal Schorm
6051e9c376 Update skipped tests lists for MySQL 8.0.28 release
Related: #2048378 #2048164
2022-02-07 09:08:29 +00:00
Michal Schorm
2b289caf83 The test "main.ssl_deprecated_tls_versions" no longer exists and it breaks the MTR when a non-existent test is marked for skipping
Related: #2048378 #2048164
2022-02-07 09:08:29 +00:00
Michal Schorm
8bbb02aae7 Introduce a new BuildRequires needed since MySQL 8.0.28
Related: #2048378 #2048164
2022-02-07 09:08:29 +00:00
Lars Tangvald
4e5e30e246 Update to MySQL 8.0.28
Related: #2048378 #2048164
2022-02-07 09:08:29 +00:00
Michal Schorm
1edb9a3308 RPMinspect - ignore malformed XML file
which is only used in the testsuite
2022-01-28 19:32:02 +01:00
Michal Schorm
dce44e53e8 Add gating.yaml 2022-01-27 21:01:32 +01:00
Michal Schorm
2e276d04da Update failing & unstable tests lists
There is an issue, which is only present on C9S & RHEL 9 (neither in Fedora nor RHEL 8) which requires the Linux Native AIO to be turned off for InnoDB

Related: #1969430
2022-01-27 15:35:30 +01:00
Michal Schorm
da682ec014 OpenSSL 3 patch rebase for MySQL 8.0.27
The source code structure for the Group replication has been changed by upstream.

Related: #1969430
2022-01-27 06:31:03 +01:00
Lars Tangvald
6703eda4c0 Update to MySQL 8.0.27
Related: #1969430
Resolves: #2018325
2022-01-27 06:31:00 +01:00
Michal Schorm
8faed80cb7 Remove obsolete bits for F32 and older
Related: #1969430
2022-01-27 06:31:00 +01:00
Michal Schorm
359f060bd6 Disabling building of unittests to workaround #1989847
Related: #1969430
2022-01-27 06:30:50 +01:00
Lars Tangvald
27642a32c4 Update to MySQL 8.0.26
Related: #1969430
Resolves: #1993353
2022-01-27 06:27:25 +01:00
Michal Schorm
91b42db5ef 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

Related: #1969430
2022-01-27 06:27:16 +01:00
Michal Schorm
3e416757d0 Rebase to 8.0.25
Related: #1969430
2022-01-27 06:27:08 +01:00
Michal Schorm
c9a1954897 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.

Related: #1969430
2022-01-27 06:27:00 +01:00
Michal Schorm
819f3b563f Allow to run the test-suite in parallel when more versions are built
Related: #1969430
2022-01-27 06:26:53 +01:00
Michal Schorm
211811ea05 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
Disable "--mem" option, because the s390x builders ran out of resources

Related: #1969430
2022-01-27 06:26:31 +01:00
Lars Tangvald
4a2640ade1 Rebase to 8.0.24
Upstreamed patch: mysql-main-cast.patch

Related: #1969430
2022-01-27 06:26:11 +01:00
Lars Tangvald
6fd09810c5 Rebase to 8.0.23
Created mysql-fix-includes-robin-hood.patch
and mysql-main-cast.patch

Related: #1969430
2022-01-27 06:25:42 +01:00
Mohan Boddu
be8aafb77a Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 22:25:44 +00:00
Mohan Boddu
4c4b809fab Rebuilt for RHEL 9 BETA for openssl 3.0
Related: rhbz#1971065
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-06-16 03:32:01 +00:00
Honza Horak
51e2abe584 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.

Resolves: #1952951
2021-05-20 15:29:28 +02:00
Mohan Boddu
ae97755dbc - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 02:19:34 +00:00
Honza Horak
5eeb1a73b3 Let the tests fail for now to see which are still failing 2021-02-03 22:46:52 +01:00
Honza Horak
b0873860de Update the list of failing tests fo 8.0.22 2021-02-03 22:45:42 +01:00
Honza Horak
02d18b94ba Use bundled rapidjson until it is available in the buildroot 2021-01-30 09:18:04 +01:00
Honza Horak
80ec70562f Rename from community-mysql to mysql 2021-01-29 16:29:55 +01:00