Compare commits
59 commits
private-te
...
rawhide
| Author | SHA1 | Date | |
|---|---|---|---|
| fe20b38976 | |||
| 9d88aad69f | |||
| 66facf6b2d | |||
| 42b4b7282e | |||
|
|
854c93083b | ||
|
|
7f57d257ad | ||
| 85f9177077 | |||
|
|
bbb4a8ea12 | ||
|
|
44fec87a56 | ||
|
|
53e0c251d1 | ||
|
|
d99794503e | ||
| c38f6e85b2 | |||
|
|
756024ea7f | ||
|
|
a828b5122f | ||
| aae2ff3d0d | |||
|
|
a53f16ad7d | ||
|
|
fa22f6d900 | ||
| ca2e543450 | |||
| b0482a3e35 | |||
| 4e228547e5 | |||
|
|
e3dcb9ae5c | ||
|
|
546ef48c75 | ||
| 3556d5e193 | |||
| b469a775b7 | |||
| f4c4f16f42 | |||
| 84d52c8de1 | |||
| 077f543954 | |||
| b8fddb8e63 | |||
| 94e89575f7 | |||
|
|
9be779d303 | ||
|
|
3aa9298875 | ||
|
|
3fd7d70e8e | ||
|
|
5c86644a92 | ||
| c6e2436d8e | |||
| cb8330a026 | |||
| 8e3f51b45e | |||
|
|
c23932859f | ||
| 6d119b7259 | |||
| 040415bc0a | |||
| e8a0d90f0d | |||
| a292636c7c | |||
| adc4c185e1 | |||
| 4f655987d2 | |||
| 8cec706852 | |||
| 86b98a4de5 | |||
| 5f8aa3c33c | |||
| 7831572b3f | |||
| 011988191e | |||
| f9c8a7626a | |||
| 15b46299cf | |||
| ff51e1d0f5 | |||
| 5860b59256 | |||
|
|
6cd7eae323 | ||
| 430b276312 | |||
|
|
164e60d4fa | ||
| c3fa8c48c1 | |||
| 06fc78c1d7 | |||
| cc8a02280b | |||
|
|
af786c40e2 |
16 changed files with 424 additions and 281 deletions
|
|
@ -1,7 +1,7 @@
|
|||
Index: boost/pool/pool.hpp
|
||||
===================================================================
|
||||
--- boost/pool/pool.hpp (revision 78317)
|
||||
+++ boost/pool/pool.hpp (revision 78326)
|
||||
--- a/boost/pool/pool.hpp (revision 78317)
|
||||
+++ b/boost/pool/pool.hpp (revision 78326)
|
||||
@@ -27,4 +27,6 @@
|
||||
#include <boost/pool/poolfwd.hpp>
|
||||
|
||||
|
|
@ -88,8 +88,8 @@ Index: boost/pool/pool.hpp
|
|||
// insert it into the list,
|
||||
Index: libs/pool/test/test_bug_6701.cpp
|
||||
===================================================================
|
||||
--- libs/pool/test/test_bug_6701.cpp (revision 78326)
|
||||
+++ libs/pool/test/test_bug_6701.cpp (revision 78326)
|
||||
--- a/libs/pool/test/test_bug_6701.cpp (revision 78326)
|
||||
+++ b/libs/pool/test/test_bug_6701.cpp (revision 78326)
|
||||
@@ -0,0 +1,27 @@
|
||||
+/* Copyright (C) 2012 Étienne Dupuis
|
||||
+*
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ Subject: [PATCH] Update gcc Intel intrinsic usage config. Fixes
|
|||
|
||||
diff --git a/include/boost/multiprecision/cpp_int/intel_intrinsics.hpp b/include/boost/multiprecision/cpp_int/intel_intrinsics.hpp
|
||||
index eb4624bb4..37717cd51 100644
|
||||
--- a/include/boost/multiprecision/cpp_int/intel_intrinsics.hpp
|
||||
+++ b/include/boost/multiprecision/cpp_int/intel_intrinsics.hpp
|
||||
--- a/boost/multiprecision/cpp_int/intel_intrinsics.hpp
|
||||
+++ b/boost/multiprecision/cpp_int/intel_intrinsics.hpp
|
||||
@@ -19,7 +19,11 @@
|
||||
// If this is GCC/clang, then check that the actual intrinsic exists:
|
||||
//
|
||||
|
|
|
|||
6
gating.yaml
Normal file
6
gating.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
diff --git a/mysql-test/include/mtr_warnings.sql b/mysql-test/include/mtr_warnings.sql
|
||||
index 78b09285..b7153445 100644
|
||||
--- a/mysql-test/include/mtr_warnings.sql
|
||||
+++ b/mysql-test/include/mtr_warnings.sql
|
||||
@@ -376,6 +376,11 @@ INSERT INTO global_suppressions VALUES
|
||||
|
||||
("'mysql_native_password' is deprecated and will be removed in a future release."),
|
||||
|
||||
+ /*
|
||||
+ ARM32 don't support timers and get this warning in every test.
|
||||
+ */
|
||||
+ ("The CYCLE timer is not available. WAIT events in the performance_schema will not be timed."),
|
||||
+
|
||||
("THE_LAST_SUPPRESSION");
|
||||
|
||||
|
||||
|
|
@ -1,17 +1,36 @@
|
|||
diff -up mysql-8.0.35/support-files/mysql-log-rotate.in.origf mysql-8.0.35/support-files/mysql-log-rotate.in
|
||||
--- mysql-8.0.35/support-files/mysql-log-rotate.in.origf 2024-01-29 23:00:32.043257515 +0100
|
||||
+++ mysql-8.0.35/support-files/mysql-log-rotate.in 2024-01-29 23:02:26.520440388 +0100
|
||||
@@ -49,11 +49,7 @@
|
||||
missingok
|
||||
compress
|
||||
postrotate
|
||||
- # just if mysqld is really running
|
||||
- if test -x @bindir@/mysqladmin && \
|
||||
- @bindir@/mysqladmin ping &>/dev/null
|
||||
- then
|
||||
- @bindir@/mysqladmin flush-logs
|
||||
- fi
|
||||
+ # SIGUSR1 makes the daemon to flush the logs, no need to connect
|
||||
+ @bindir@/kill -USR1 $(systemctl show --property MainPID --value mysqld)
|
||||
endscript
|
||||
}
|
||||
diff -Naur mysql-8.0.42/packaging/rpm-common/mysql.logrotate.in mysql-8.0.42_patched/packaging/rpm-common/mysql.logrotate.in
|
||||
--- mysql-8.0.42/packaging/rpm-common/mysql.logrotate.in 2025-07-10 16:20:26.000000000 +0200
|
||||
+++ mysql-8.0.42_patched/packaging/rpm-common/mysql.logrotate.in 2025-07-29 10:16:39.509884723 +0200
|
||||
@@ -5,18 +5,6 @@
|
||||
# [mysqld]
|
||||
# log-error=@LOGFILE_RPM@
|
||||
#
|
||||
-# For the mysqladmin commands below to work, root account
|
||||
-# password is required. Use mysql_config_editor(1) to store
|
||||
-# authentication credentials in the encrypted login path file
|
||||
-# ~/.mylogin.cnf
|
||||
-#
|
||||
-# Example usage:
|
||||
-#
|
||||
-# mysql_config_editor set --login-path=client --user=root --host=localhost --password
|
||||
-#
|
||||
-# When these actions has been done, un-comment the following to
|
||||
-# enable rotation of mysqld's log error.
|
||||
-#
|
||||
|
||||
#@LOGFILE_RPM@ {
|
||||
# create 640 mysql mysql
|
||||
@@ -26,11 +14,7 @@
|
||||
# missingok
|
||||
# compress
|
||||
# postrotate
|
||||
-# # just if mysqld is really running
|
||||
-# if test -x @bindir@/mysqladmin && \
|
||||
-# @bindir@/mysqladmin ping &>/dev/null
|
||||
-# then
|
||||
-# @bindir@/mysqladmin flush-logs
|
||||
-# fi
|
||||
+# # SIGUSR1 makes the daemon to flush the logs, no need to connect through mysqladmin
|
||||
+# @bindir@/systemctl kill --signal=USR1 --kill-whom=main mysqld.service 2>/dev/null || true
|
||||
# endscript
|
||||
#}
|
||||
|
|
|
|||
33
mysql-gcc-15.patch
Normal file
33
mysql-gcc-15.patch
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
Fix compilation with GCC 15
|
||||
|
||||
| In file included from /builddir/build/BUILD/mysql8.0-8.0.40-build/mysql-8.0.40/plugin/x/tests/driver/connector/warning.cc:26:
|
||||
| /builddir/build/BUILD/mysql8.0-8.0.40-build/mysql-8.0.40/plugin/x/tests/driver/connector/warning.h:37:42: error: ‘uint32_t’ does not name a type
|
||||
| 37 | Warning(const std::string &text, const uint32_t code, const bool is_note)
|
||||
| | ^~~~~~~~
|
||||
| /builddir/build/BUILD/mysql8.0-8.0.40-build/mysql-8.0.40/plugin/x/tests/driver/connector/warning.h:34:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
|
||||
| 33 | #include <vector>
|
||||
| +++ |+#include <cstdint>
|
||||
| 34 |
|
||||
| /builddir/build/BUILD/mysql8.0-8.0.40-build/mysql-8.0.40/plugin/x/tests/driver/connector/warning.h:41:3: error: ‘uint32_t’ does not name a type
|
||||
| 41 | uint32_t m_code;
|
||||
| | ^~~~~~~~
|
||||
| /builddir/build/BUILD/mysql8.0-8.0.40-build/mysql-8.0.40/plugin/x/tests/driver/connector/warning.h:41:3: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
|
||||
| /builddir/build/BUILD/mysql8.0-8.0.40-build/mysql-8.0.40/plugin/x/tests/driver/connector/warning.h: In constructor ‘Warning::Warning(const std::string&, int, bool)’:
|
||||
| /builddir/build/BUILD/mysql8.0-8.0.40-build/mysql-8.0.40/plugin/x/tests/driver/connector/warning.h:38:23: error: class ‘Warning’ does not have any field named ‘m_code’
|
||||
| 38 | : m_text(text), m_code(code), m_is_note(is_note) {}
|
||||
| | ^~~~~~
|
||||
| /builddir/build/BUILD/mysql8.0-8.0.40-build/mysql-8.0.40/plugin/x/tests/driver/connector/warning.cc: In function ‘std::ostream& operator<<(std::ostream&, const Warning&)’:
|
||||
| /builddir/build/BUILD/mysql8.0-8.0.40-build/mysql-8.0.40/plugin/x/tests/driver/connector/warning.cc:33:58: error: ‘const class Warning’ has no member named ‘m_code’
|
||||
| 33 | os << (w.m_is_note ? "NOTE" : "WARNING") << " | " << w.m_code << " | "
|
||||
| | ^~~~~~
|
||||
|
||||
--- mysql-8.0.40/plugin/x/tests/driver/connector/warning.h 2024-09-18 12:08:24.000000000 +0200
|
||||
+++ mysql-8.0.40/plugin/x/tests/driver/connector/warning.h_patched 2025-01-24 01:41:57.879753104 +0100
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
+#include <cstdint>
|
||||
|
||||
class Warning {
|
||||
public:
|
||||
|
|
@ -82,9 +82,9 @@ I'm not sure whether the output is synchronous, but even if it wasn'tit still lo
|
|||
|
||||
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
|
||||
index 26e6c92c..9d85c6d6 100755
|
||||
--- a/mysql-test/mysql-test-run.pl
|
||||
+++ b/mysql-test/mysql-test-run.pl
|
||||
@@ -3533,17 +3533,6 @@ sub setup_vardir() {
|
||||
--- mysql-8.0.39/mysql-test/mysql-test-run.pl 2024-08-11 01:20:12.207260860 +0200
|
||||
+++ mysql-8.0.39/mysql-test/mysql-test-run.pl_patched 2024-08-11 20:44:42.230145160 +0200
|
||||
@@ -3560,17 +3560,6 @@ sub setup_vardir() {
|
||||
mkpath("$opt_vardir/tmp");
|
||||
mkpath($opt_tmpdir) if ($opt_tmpdir ne "$opt_vardir/tmp");
|
||||
|
||||
|
|
@ -92,7 +92,7 @@ index 26e6c92c..9d85c6d6 100755
|
|||
- # UNIX domain socket's path far below PATH_MAX. Don't allow that
|
||||
- # to happen.
|
||||
- my $res =
|
||||
- check_socket_path_length("$opt_tmpdir/mysqld.NN.sock", $opt_parallel);
|
||||
- check_socket_path_length("$opt_tmpdir/mysqld.NN.sock", $opt_parallel, $tmpdir_path_updated);
|
||||
- if ($res) {
|
||||
- mtr_error("Socket path '$opt_tmpdir' too long, it would be ",
|
||||
- "truncated and thus not possible to use for connection to ",
|
||||
|
|
|
|||
14
mysql-openssl-engine.patch
Normal file
14
mysql-openssl-engine.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
--- mysql-8.0.42/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/network/xcom_network_provider_ssl_native_lib.cc 2025-03-31 10:19:27.000000000 +0200
|
||||
+++ mysql-8.0.42-patched/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/network/xcom_network_provider_ssl_native_lib.cc 2025-04-24 15:27:29.155287397 +0200
|
||||
@@ -50,9 +50,9 @@
|
||||
#include "my_compiler.h"
|
||||
#endif
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
+#if !defined(OPENSSL_NO_ENGINE)
|
||||
#include <openssl/engine.h>
|
||||
-#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */
|
||||
+#endif
|
||||
|
||||
#include "xcom/retry.h"
|
||||
#include "xcom/task_debug.h"
|
||||
|
|
@ -3,11 +3,10 @@ Software Collections. Removing these hard-coded paths should fix it.
|
|||
|
||||
Upstream report: https://mariadb.atlassian.net/browse/MDEV-6485
|
||||
|
||||
diff --git a/cmake/install_layout.cmake b/cmake/install_layout.cmake
|
||||
index 9f7945d8..6734cdfd 100644
|
||||
--- a/cmake/install_layout.cmake
|
||||
+++ b/cmake/install_layout.cmake
|
||||
@@ -105,7 +105,7 @@ IF(UNIX)
|
||||
diff -Naur mysql-8.0.43/cmake/install_layout.cmake mysql-8.0.43_patched/cmake/install_layout.cmake
|
||||
--- mysql-8.0.43/cmake/install_layout.cmake 2025-07-09 10:45:01.000000000 +0200
|
||||
+++ mysql-8.0.43_patched/cmake/install_layout.cmake 2025-08-05 09:22:54.506782584 +0200
|
||||
@@ -106,7 +106,7 @@
|
||||
" Choose between ${VALID_INSTALL_LAYOUTS}" )
|
||||
ENDIF()
|
||||
|
||||
|
|
@ -16,19 +15,18 @@ index 9f7945d8..6734cdfd 100644
|
|||
CACHE PATH "config directory (for my.cnf)")
|
||||
MARK_AS_ADVANCED(SYSCONFDIR)
|
||||
ENDIF()
|
||||
@@ -189,6 +189,7 @@ SET(INSTALL_SECURE_FILE_PRIVDIR_TARGZ ${secure_file_priv_path})
|
||||
#
|
||||
SET(INSTALL_BINDIR_RPM "bin")
|
||||
SET(INSTALL_SBINDIR_RPM "sbin")
|
||||
@@ -202,6 +202,7 @@
|
||||
ELSE()
|
||||
SET(INSTALL_SBINDIR_RPM "sbin")
|
||||
ENDIF()
|
||||
+SET(INSTALL_SYSCONFDIR_RPM "/etc")
|
||||
#
|
||||
IF(CMAKE_SYSTEM_PROCESSOR IN_LIST KNOWN_64BIT_ARCHITECTURES)
|
||||
SET(INSTALL_LIBDIR_RPM "lib64/mysql")
|
||||
diff --git a/mysys/my_default.cc b/mysys/my_default.cc
|
||||
index 290f1666..8403425f 100644
|
||||
--- a/mysys/my_default.cc
|
||||
+++ b/mysys/my_default.cc
|
||||
@@ -1570,12 +1570,12 @@ static const char **init_default_directories(MEM_ROOT *alloc) {
|
||||
diff -Naur mysql-8.0.43/mysys/my_default.cc mysql-8.0.43_patched/mysys/my_default.cc
|
||||
--- mysql-8.0.43/mysys/my_default.cc 2025-07-09 10:45:01.000000000 +0200
|
||||
+++ mysql-8.0.43_patched/mysys/my_default.cc 2025-08-05 09:24:59.510804797 +0200
|
||||
@@ -1652,12 +1652,12 @@
|
||||
|
||||
#else
|
||||
|
||||
|
|
@ -44,11 +42,10 @@ index 290f1666..8403425f 100644
|
|||
#endif /* DEFAULT_SYSCONFDIR */
|
||||
|
||||
#endif
|
||||
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
|
||||
index 4149a764..b091d5e2 100644
|
||||
--- a/scripts/CMakeLists.txt
|
||||
+++ b/scripts/CMakeLists.txt
|
||||
@@ -288,9 +288,9 @@ IF(UNIX)
|
||||
diff -Naur mysql-8.0.43/scripts/CMakeLists.txt mysql-8.0.43_patched/scripts/CMakeLists.txt
|
||||
--- mysql-8.0.43/scripts/CMakeLists.txt 2025-07-09 10:45:01.000000000 +0200
|
||||
+++ mysql-8.0.43_patched/scripts/CMakeLists.txt 2025-08-05 09:25:55.019369630 +0200
|
||||
@@ -271,9 +271,9 @@
|
||||
ENDIF(UNIX)
|
||||
|
||||
SET(prefix "${CMAKE_INSTALL_PREFIX}")
|
||||
|
|
@ -60,11 +57,10 @@ index 4149a764..b091d5e2 100644
|
|||
SET(datadir ${prefix}/${INSTALL_MYSQLSHAREDIR})
|
||||
SET(libsubdir ${INSTALL_LIBDIR})
|
||||
SET(pkgincludedir ${prefix}/${INSTALL_INCLUDEDIR})
|
||||
diff --git a/scripts/mysqld_multi.pl.in b/scripts/mysqld_multi.pl.in
|
||||
index 84dd4d7c..50397ddd 100644
|
||||
--- a/scripts/mysqld_multi.pl.in
|
||||
+++ b/scripts/mysqld_multi.pl.in
|
||||
@@ -586,9 +586,7 @@ sub list_defaults_files
|
||||
diff -Naur mysql-8.0.43/scripts/mysqld_multi.pl.in mysql-8.0.43_patched/scripts/mysqld_multi.pl.in
|
||||
--- mysql-8.0.43/scripts/mysqld_multi.pl.in 2025-07-09 10:45:01.000000000 +0200
|
||||
+++ mysql-8.0.43_patched/scripts/mysqld_multi.pl.in 2025-08-05 09:26:57.252077640 +0200
|
||||
@@ -587,9 +587,7 @@
|
||||
|
||||
my %seen; # Don't list the same file more than once
|
||||
return grep { defined $_ and not $seen{$_}++ and -f $_ and -r $_ }
|
||||
|
|
|
|||
|
|
@ -1 +1,8 @@
|
|||
d @PID_FILE_DIR@ 0755 mysql mysql -
|
||||
|
||||
# Rules for ephemeral file systems (ImageMode)
|
||||
d /var/lib/mysql 0755 mysql mysql -
|
||||
d /var/log/mysql 0750 mysql mysql -
|
||||
f /var/log/mysql/mysql.log 0640 mysql mysql -
|
||||
d /var/lib/mysql-files 0750 mysql mysql -
|
||||
d /var/lib/mysql-keyring 0700 mysql mysql -
|
||||
|
|
|
|||
289
mysql8.0.spec
289
mysql8.0.spec
|
|
@ -1,12 +1,12 @@
|
|||
# Name of the package without any prefixes
|
||||
%global majorname mysql
|
||||
%global package_version 8.0.36
|
||||
%global package_version 8.0.44
|
||||
%define majorversion %(echo %{package_version} | cut -d'.' -f1-2 )
|
||||
%global pkgnamepatch mysql
|
||||
|
||||
|
||||
# Set if this package will be the default one in distribution
|
||||
%{!?mysql_default:%global mysql_default 1}
|
||||
%{!?mysql_default:%global mysql_default 0}
|
||||
|
||||
# Regression tests may take a long time (many cores recommended), skip them by
|
||||
# passing --nocheck to rpmbuild or by setting runselftest to 0 if defining
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
# The last version on which the full testsuite has been run
|
||||
# In case of further rebuilds of that version, don't require full testsuite to be run
|
||||
# run only "main" suite
|
||||
%global last_tested_version 8.0.35
|
||||
%global last_tested_version 8.0.44
|
||||
# Set to 1 to force run the testsuite even if it was already tested in current version
|
||||
%global force_run_testsuite 0
|
||||
|
||||
|
|
@ -45,6 +45,24 @@
|
|||
# those files may create issues
|
||||
%bcond config 0
|
||||
|
||||
# Various plugins
|
||||
# TO-DO:
|
||||
# Need to check and fix the ON/OFF matrix of those plugins.
|
||||
# It seems the current implementation is buggy, e.g.:
|
||||
# - ldap needs krb5-devel too
|
||||
# - when kr5-devel is part of the buildroot, kerberos plugin is compiled no matter the WITH_AUTHENTICATION_KERBEROS value
|
||||
# - when fido is disabled but ldap enabled, authentication_oci_client.so is still built
|
||||
# To avoid issues, leave either all ON or all OFF.
|
||||
%if 0%{?fedora}
|
||||
%bcond fido 1
|
||||
%bcond kerberos 1
|
||||
%bcond ldap 1
|
||||
%else
|
||||
%bcond fido 0
|
||||
%bcond kerberos 0
|
||||
%bcond ldap 0
|
||||
%endif
|
||||
|
||||
# For deep debugging we need to build binaries with extra debug info
|
||||
%bcond debug 0
|
||||
|
||||
|
|
@ -72,9 +90,9 @@
|
|||
# Provide explicitly the 'community-mysql' names
|
||||
# 'community-mysql' names are deprecated and to be removed in future Fedora
|
||||
# but we're leaving them here for compatibility reasons
|
||||
%bcond provides_community_mysql 1
|
||||
%bcond provides_community_mysql %{?mysql_default}
|
||||
# Obsolete the package 'community-mysql' and all its sub-packages
|
||||
%bcond obsoletes_community_mysql 1
|
||||
%bcond obsoletes_community_mysql %{?mysql_default}
|
||||
# This is the last version of the 'community-mysql' package production release
|
||||
%global obsolete_community_mysql_version 8.0.35-10
|
||||
%global community_mysql_version 8.0.36-1
|
||||
|
|
@ -84,13 +102,13 @@
|
|||
|
||||
Name: %{majorname}%{majorversion}
|
||||
Version: %{package_version}
|
||||
Release: 3%{?with_debug:.debug}%{?dist}
|
||||
Release: 4%{?with_debug:.debug}%{?dist}
|
||||
Summary: MySQL client programs and shared libraries
|
||||
URL: http://www.mysql.com
|
||||
|
||||
# Exceptions allow client libraries to be linked with most open source SW,
|
||||
# not only GPL code. See README.mysql-license
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-only AND BSL-1.0 AND GPL-1.0-or-later OR Artistic-1.0-Perl AND BSD-2-Clause
|
||||
License: GPL-2.0-or-later AND LGPL-2.1-only AND BSL-1.0 AND BSD-2-Clause
|
||||
|
||||
Source0: https://cdn.mysql.com/Downloads/MySQL-8.0/mysql-boost-%{version}.tar.gz
|
||||
Source2: mysql_config_multilib.sh
|
||||
|
|
@ -125,9 +143,10 @@ Patch5: %{pkgnamepatch}-paths.patch
|
|||
Patch51: %{pkgnamepatch}-sharedir.patch
|
||||
Patch52: %{pkgnamepatch}-rpath.patch
|
||||
Patch53: %{pkgnamepatch}-mtr.patch
|
||||
Patch54: %{pkgnamepatch}-arm32-timer.patch
|
||||
Patch55: %{pkgnamepatch}-c99.patch
|
||||
Patch54: %{pkgnamepatch}-gcc-15.patch
|
||||
Patch55: %{pkgnamepatch}-c99.patch
|
||||
Patch56: %{pkgnamepatch}-flush-logrotate.patch
|
||||
Patch57: %{pkgnamepatch}-openssl-engine.patch
|
||||
|
||||
# Patches taken from boost 1.59
|
||||
Patch111: boost-1.58.0-pool.patch
|
||||
|
|
@ -151,24 +170,26 @@ BuildRequires: libaio-devel
|
|||
BuildRequires: libedit-devel
|
||||
BuildRequires: libevent-devel
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: lz4
|
||||
BuildRequires: lz4-devel
|
||||
BuildRequires: mecab-devel
|
||||
BuildRequires: bison
|
||||
BuildRequires: libzstd-devel
|
||||
BuildRequires: libcurl-devel
|
||||
%ifnarch aarch64 %{arm} s390 s390x
|
||||
%ifnarch aarch64 s390x
|
||||
BuildRequires: numactl-devel
|
||||
%endif
|
||||
BuildRequires: openssl
|
||||
BuildRequires: openssl-devel
|
||||
%if 0%{?fedora} >= 41
|
||||
# Complement of mysql-openssl-engine.patch
|
||||
BuildRequires: openssl-devel-engine
|
||||
%endif
|
||||
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: rpcgen
|
||||
BuildRequires: libtirpc-devel
|
||||
BuildRequires: protobuf-lite-devel
|
||||
BuildRequires: rapidjson-devel
|
||||
BuildRequires: zlib
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: multilib-rpm-config
|
||||
# Tests requires time and ps and some perl modules
|
||||
|
|
@ -213,19 +234,34 @@ BuildRequires: perl(Time::HiRes)
|
|||
BuildRequires: perl(Time::localtime)
|
||||
BuildRequires: perl(warnings)
|
||||
BuildRequires: systemd
|
||||
BuildRequires: make
|
||||
|
||||
# Since MySQL 8.0.28
|
||||
BuildRequires: libfido2-devel
|
||||
%{?with_fido:BuildRequires: libfido2-devel}
|
||||
|
||||
%{?with_kerberos:BuildRequires: krb5-devel}
|
||||
%{?with_ldap:BuildRequires: openldap-devel cyrus-sasl-devel cyrus-sasl-scram}
|
||||
|
||||
|
||||
Requires: bash coreutils grep
|
||||
Requires: %{pkgname}-common = %{sameevr}
|
||||
|
||||
# 'boost' header files must be bundled
|
||||
# See https://bugzilla.redhat.com/show_bug.cgi?id=2260138#c7 for details
|
||||
Provides: bundled(boost) = %{boost_bundled_version}
|
||||
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb}
|
||||
# 'rapidjson' library must be bundled
|
||||
# The rapidjson upstream made the last release in 2016, even though it has an active development till today (2024, ~750 commits since)
|
||||
# The MySQL upstream forked the project from a specific commit and added custom patches. See "extra/RAPIDJSON-README" for details.
|
||||
# In the MySQL 8.0.34, the MySQL upsstream made the 'rapidjson' library to be bundled by default.
|
||||
Provides: bundled(rapidjson)
|
||||
|
||||
# Not available in Fedora
|
||||
# https://github.com/martinus/unordered_dense
|
||||
Provides: bundled(unordered_dense)
|
||||
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-any}
|
||||
# Explicitly disallow installation of mysql + mariadb-server
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-server}
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-server-any}
|
||||
%{?with_provides_community_mysql:Provides: community-mysql = %community_mysql_version}
|
||||
%{?with_provides_community_mysql:Provides: community-mysql%{?_isa} = %community_mysql_version}
|
||||
%{?with_obsoletes_community_mysql:Obsoletes: community-mysql <= %obsolete_community_mysql_version}
|
||||
|
|
@ -237,20 +273,32 @@ Conflicts: %{majorname}%{?1:-%{1}}-any\
|
|||
|
||||
# Provide also mysqlX.X if default
|
||||
%if %?mysql_default
|
||||
%define mysqlX_if_default() %{expand:\
|
||||
%define mysqlX_if_default_arched() %{expand:\
|
||||
Obsoletes: mysql%{?1:-%{1}} < %{sameevr}\
|
||||
Obsoletes: mysql%{majorversion}%{?1:-%{1}} < %{sameevr}\
|
||||
Provides: mysql%{majorversion}%{?1:-%{1}} = %{sameevr}\
|
||||
Provides: mysql%{majorversion}%{?1:-%{1}}%{?_isa} = %{sameevr}\
|
||||
}
|
||||
%define mysqlX_if_default_noarch() %{expand:\
|
||||
Obsoletes: mysql%{?1:-%{1}} < %{sameevr}\
|
||||
Obsoletes: mysql%{majorversion}%{?1:-%{1}} < %{sameevr}\
|
||||
Provides: mysql%{majorversion}%{?1:-%{1}} = %{sameevr}\
|
||||
}
|
||||
%else
|
||||
%define mysqlX_if_default() %{nil}
|
||||
%define mysqlX_if_default_arched() %{nil}
|
||||
%define mysqlX_if_default_noarch() %{nil}
|
||||
%endif
|
||||
|
||||
%define add_metadata() %{expand:\
|
||||
%define add_metadata_arched() %{expand:\
|
||||
%conflict_with_other_streams %{**}\
|
||||
%mysqlX_if_default %{**}\
|
||||
%mysqlX_if_default_arched %{**}\
|
||||
}
|
||||
%define add_metadata_noarch() %{expand:\
|
||||
%conflict_with_other_streams %{**}\
|
||||
%mysqlX_if_default_noarch %{**}\
|
||||
}
|
||||
|
||||
%add_metadata
|
||||
%add_metadata_arched
|
||||
|
||||
%description
|
||||
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
|
||||
|
|
@ -258,11 +306,13 @@ client/server implementation consisting of a server daemon (mysqld)
|
|||
and many different client programs and libraries. The base package
|
||||
contains the standard MySQL client programs and generic MySQL files.
|
||||
|
||||
%if %?mysql_default
|
||||
%description -n %{pkgname}
|
||||
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
|
||||
client/server implementation consisting of a server daemon (mysqld)
|
||||
and many different client programs and libraries. The base package
|
||||
contains the standard MySQL client programs and generic MySQL files.
|
||||
%endif
|
||||
|
||||
%if %{with clibrary}
|
||||
%package -n %{pkgname}-libs
|
||||
|
|
@ -272,7 +322,7 @@ Requires: %{pkgname}-common = %{sameevr}
|
|||
%{?with_provides_community_mysql:Provides: community-mysql-libs%{?_isa}= %community_mysql_version}
|
||||
%{?with_obsoletes_community_mysql:Obsoletes: community-mysql-libs <= %obsolete_community_mysql_version}
|
||||
|
||||
%add_metadata libs
|
||||
%add_metadata_arched libs
|
||||
|
||||
%description -n %{pkgname}-libs
|
||||
The mysql-libs package provides the essential shared libraries for any
|
||||
|
|
@ -289,7 +339,7 @@ Summary: The config files required by server and client
|
|||
%{?with_provides_community_mysql:Provides: community-mysql-config%{?_isa} = %community_mysql_version}
|
||||
%{?with_obsoletes_community_mysql:Obsoletes: community-mysql-config <= %obsolete_community_mysql_version}
|
||||
|
||||
%add_metadata config
|
||||
%add_metadata_arched config
|
||||
|
||||
%description -n %{pkgname}-config
|
||||
The package provides the config file my.cnf and my.cnf.d directory used by any
|
||||
|
|
@ -303,12 +353,16 @@ package itself.
|
|||
%package -n %{pkgname}-common
|
||||
Summary: The shared files required for MySQL server and client
|
||||
BuildArch: noarch
|
||||
%if 0%{?flatpak}
|
||||
Requires: mariadb-connector-c-config
|
||||
%else
|
||||
Requires: %{_sysconfdir}/my.cnf
|
||||
%endif
|
||||
%{?with_provides_community_mysql:Provides: community-mysql-common = %community_mysql_version}
|
||||
%{?with_obsoletes_community_mysql:Obsoletes: community-mysql-common <= %obsolete_community_mysql_version}
|
||||
|
||||
# As this package is noarch, it can't use the %%{?_isa} RPM macro
|
||||
%conflict_with_other_streams common
|
||||
%add_metadata_noarch common
|
||||
|
||||
%description -n %{pkgname}-common
|
||||
The mysql-common package provides the essential shared files for any
|
||||
|
|
@ -326,7 +380,7 @@ Requires: %{pkgname}-common = %{sameevr}
|
|||
%{?with_obsoletes_community_mysql:Obsoletes: community-mysql-errmsg <= %obsolete_community_mysql_version}
|
||||
|
||||
# As this package is noarch, it can't use the %%{?_isa} RPM macro
|
||||
%conflict_with_other_streams errmsg
|
||||
%add_metadata_noarch errmsg
|
||||
|
||||
%description -n %{pkgname}-errmsg
|
||||
The package provides error messages files for the MySQL daemon
|
||||
|
|
@ -339,13 +393,17 @@ Summary: The MySQL server and related files
|
|||
Requires: %{pkgname}%{?_isa} = %{sameevr}
|
||||
|
||||
Requires: %{pkgname}-common = %{sameevr}
|
||||
%if 0%{?flatpak}
|
||||
Requires: mariadb-connector-c-config
|
||||
%else
|
||||
Requires: %{_sysconfdir}/my.cnf
|
||||
Requires: %{_sysconfdir}/my.cnf.d
|
||||
%endif
|
||||
Requires: %{pkgname}-errmsg = %{sameevr}
|
||||
%{?mecab:Requires: mecab-ipadic}
|
||||
Requires: coreutils
|
||||
Requires(pre): /usr/sbin/useradd
|
||||
# We require this to be present for %%{_tmpfilesdir}
|
||||
# `systemd` is also required for logrotate, as it uses `systemctl kill`
|
||||
Requires: systemd
|
||||
# Make sure it's there when scriptlets run, too
|
||||
%{?systemd_requires: %systemd_requires}
|
||||
|
|
@ -360,16 +418,16 @@ Requires(post): policycoreutils-python-utils
|
|||
Requires: (mysql-selinux if selinux-policy-targeted)
|
||||
%endif
|
||||
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-server}
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-server-utils}
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-server-galera}
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-server-any}
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-server-utils-any}
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-server-galera-any}
|
||||
# Explicitly disallow installation of mysql + mariadb-server
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb}
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-any}
|
||||
%{?with_provides_community_mysql:Provides: community-mysql-server = %community_mysql_version}
|
||||
%{?with_provides_community_mysql:Provides: community-mysql-server%{?_isa} = %community_mysql_version}
|
||||
%{?with_obsoletes_community_mysql:Obsoletes: community-mysql-server <= %obsolete_community_mysql_version}
|
||||
|
||||
%add_metadata server
|
||||
%add_metadata_arched server
|
||||
|
||||
%description -n %{pkgname}-server
|
||||
MySQL is a multi-user, multi-threaded SQL database server. MySQL is a
|
||||
|
|
@ -385,13 +443,13 @@ Summary: Files for development of MySQL applications
|
|||
Requires: openssl-devel
|
||||
Requires: zlib-devel
|
||||
Requires: libzstd-devel
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-devel}
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-devel-any}
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-connector-c-devel}
|
||||
%{?with_provides_community_mysql:Provides: community-mysql-devel = %community_mysql_version}
|
||||
%{?with_provides_community_mysql:Provides: community-mysql-devel%{?_isa} = %community_mysql_version}
|
||||
%{?with_obsoletes_community_mysql:Obsoletes: community-mysql-devel <= %obsolete_community_mysql_version}
|
||||
|
||||
%add_metadata devel
|
||||
%add_metadata_arched devel
|
||||
|
||||
%description -n %{pkgname}-devel
|
||||
MySQL is a multi-user, multi-threaded SQL database server. This
|
||||
|
|
@ -426,12 +484,12 @@ Requires: perl(Sys::Hostname)
|
|||
Requires: perl(Test::More)
|
||||
Requires: perl(Time::HiRes)
|
||||
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-test}
|
||||
%{?with_conflicts_mariadb:Conflicts: mariadb-test-any}
|
||||
%{?with_provides_community_mysql:Provides: community-mysql-test = %community_mysql_version}
|
||||
%{?with_provides_community_mysql:Provides: community-mysql-test%{?_isa} = %community_mysql_version}
|
||||
%{?with_obsoletes_community_mysql:Obsoletes: community-mysql-test <= %obsolete_community_mysql_version}
|
||||
|
||||
%add_metadata test
|
||||
%add_metadata_arched test
|
||||
|
||||
%description -n %{pkgname}-test
|
||||
MySQL is a multi-user, multi-threaded SQL database server. This
|
||||
|
|
@ -441,39 +499,46 @@ the MySQL sources.
|
|||
|
||||
|
||||
%prep
|
||||
%setup -q -n mysql-%{version}
|
||||
%patch -P1 -p1
|
||||
%patch -P3 -p1
|
||||
%patch -P4 -p1
|
||||
%patch -P5 -p1
|
||||
%patch -P51 -p1
|
||||
%patch -P52 -p1
|
||||
%patch -P53 -p1
|
||||
%patch -P54 -p1
|
||||
%patch -P55 -p1
|
||||
%patch -P56 -p1
|
||||
%autosetup -N -n mysql-%{version}
|
||||
%autopatch -M 100 -p1
|
||||
|
||||
# Patch Boost
|
||||
pushd boost/boost_$(echo %{boost_bundled_version}| tr . _)
|
||||
%patch -P111 -p0
|
||||
%patch -P112 -p1
|
||||
%patch -P113 -p2
|
||||
%autopatch -m 100 -p1
|
||||
popd
|
||||
|
||||
# Remove bundled code that is unused (all cases in which we use the system version of the library instead)
|
||||
# as required by https://docs.fedoraproject.org/en-US/packaging-guidelines/#bundling
|
||||
rm -r extra/curl
|
||||
rm -r extra/icu
|
||||
rm -r extra/libcbor
|
||||
rm -r extra/libedit
|
||||
rm -r extra/libevent
|
||||
rm -r extra/libfido2
|
||||
rm -r extra/protobuf
|
||||
rm -r extra/tirpc
|
||||
rm -r extra/zlib
|
||||
rm -r extra/zstd
|
||||
# Three files from the lz4 bundle tree are still needed.
|
||||
# They are the 'xxhash' library with custom extension to it.
|
||||
find extra/lz4 -type f ! \( -name 'xxhash.c' -o -name 'xxhash.h' -o -name 'my_xxhash.h' \) -delete
|
||||
# Needed for unit tests (different from MTR tests), which we doesn't run, as they doesn't work on some architectures: #1989847
|
||||
rm -r extra/googletest
|
||||
rm -r extra/abseil
|
||||
|
||||
# generate a list of tests that fail, but are not disabled by upstream
|
||||
cat %{SOURCE50} | tee -a mysql-test/%{skiplist}
|
||||
|
||||
# disable some tests failing on different architectures
|
||||
%ifarch %{arm} aarch64
|
||||
%ifarch aarch64
|
||||
cat %{SOURCE51} | tee -a mysql-test/%{skiplist}
|
||||
%endif
|
||||
|
||||
%ifarch s390 s390x
|
||||
%ifarch s390x
|
||||
cat %{SOURCE52} | tee -a mysql-test/%{skiplist}
|
||||
%endif
|
||||
|
||||
%ifarch ppc ppc64 ppc64p7 ppc64le
|
||||
%ifarch ppc64le
|
||||
cat %{SOURCE53} | tee -a mysql-test/%{skiplist}
|
||||
%endif
|
||||
|
||||
|
|
@ -483,11 +548,6 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \
|
|||
%{SOURCE14} %{SOURCE15} %{SOURCE17} %{SOURCE18} %{SOURCE31} scripts
|
||||
|
||||
%build
|
||||
# arm build ends with out of memory error for LTO enabled build
|
||||
%ifarch %arm32
|
||||
%define _lto_cflags %{nil}
|
||||
%endif
|
||||
|
||||
# fail quickly and obviously if user tries to build as root
|
||||
%if %runselftest
|
||||
if [ x"$(id -u)" = "x0" ]; then
|
||||
|
|
@ -502,7 +562,6 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \
|
|||
# so we can't use %%{_datadir} and so forth here.
|
||||
%cmake \
|
||||
-DBUILD_CONFIG=mysql_release \
|
||||
-DFEATURE_SET="community" \
|
||||
-DINSTALL_LAYOUT=RPM \
|
||||
-DDAEMON_NAME="%{daemon_name}" \
|
||||
-DDAEMON_NO_PREFIX="%{daemon_no_prefix}" \
|
||||
|
|
@ -532,33 +591,36 @@ cp %{SOURCE2} %{SOURCE3} %{SOURCE10} %{SOURCE11} %{SOURCE12} \
|
|||
-DSYSTEMD_SERVICE_NAME="%{daemon_name}" \
|
||||
-DSYSTEMD_PID_DIR="%{pidfiledir}" \
|
||||
-DWITH_INNODB_MEMCACHED=ON \
|
||||
%ifnarch aarch64 %{arm} s390 s390x
|
||||
%ifnarch aarch64 s390x
|
||||
-DWITH_NUMA=ON \
|
||||
%endif
|
||||
%ifarch s390 s390x armv7hl
|
||||
%ifarch s390x
|
||||
-DUSE_LD_GOLD=OFF \
|
||||
%endif
|
||||
-DWITH_ROUTER=OFF \
|
||||
-DWITH_SYSTEM_LIBS=ON \
|
||||
-DWITH_ZLIB=system \
|
||||
-DWITH_RAPIDJSON=bundled \
|
||||
-DWITH_MECAB=system \
|
||||
-DWITH_FIDO=system \
|
||||
-DWITH_FIDO=%{?with_fido:system}%{!?with_fido:none} \
|
||||
-DWITH_AUTHENTICATION_FIDO=%{?with_fido:ON}%{!?with_fido:OFF} \
|
||||
-DWITH_AUTHENTICATION_KERBEROS=%{?with_kerberos:ON}%{!?with_kerberos:OFF} \
|
||||
-DWITH_AUTHENTICATION_LDAP=%{?with_ldap:ON}%{!?with_ldap:OFF} \
|
||||
-DWITH_BOOST=boost \
|
||||
-DREPRODUCIBLE_BUILD=OFF \
|
||||
-DCMAKE_C_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \
|
||||
-DCMAKE_CXX_FLAGS="%{optflags}%{?with_debug: -fno-strict-overflow -Wno-unused-result -Wno-unused-function -Wno-unused-but-set-variable}" \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="-pie %{build_ldflags}" \
|
||||
-DWITH_LTO=ON \
|
||||
%{?with_debug: -DWITH_DEBUG=1} \
|
||||
%{?with_debug: -DMYSQL_MAINTAINER_MODE=0} \
|
||||
-DTMPDIR=/var/tmp \
|
||||
-DWITH_MYSQLD_LDFLAGS="%{build_ldflags}" \
|
||||
-DCMAKE_C_LINK_FLAGS="%{build_ldflags}" \
|
||||
-DCMAKE_CXX_LINK_FLAGS="%{build_ldflags}" \
|
||||
-DCMAKE_SKIP_INSTALL_RPATH=YES \
|
||||
-DWITH_UNIT_TESTS=0
|
||||
|
||||
|
||||
# Note: linking with GOLD disabled on Armv7hl because of https://bugs.mysql.com/bug.php?id=96698
|
||||
|
||||
# Note: disabling building of unittests to workaround #1989847
|
||||
|
||||
# Print all Cmake options values; "-LAH" means "List Advanced Help"
|
||||
|
|
@ -598,6 +660,13 @@ install -D -p -m 644 %{_vpath_builddir}/scripts/mysql@.service %{buildroot}%{_un
|
|||
install -D -p -m 0644 %{_vpath_builddir}/scripts/mysql.tmpfiles.d %{buildroot}%{_tmpfilesdir}/%{daemon_name}.conf
|
||||
rm -r %{buildroot}%{_tmpfilesdir}/mysql.conf
|
||||
|
||||
# Create a sysusers.d config file
|
||||
# We no longer enforce the hardcoded UID/GID 27
|
||||
mkdir -p %{buildroot}%{_sysusersdir}
|
||||
cat > %{buildroot}%{_sysusersdir}/%{name}.conf << EOF
|
||||
u mysql 27 'MariaDB and MySQL Server' %{dbdatadir} -
|
||||
EOF
|
||||
|
||||
# helper scripts for service starting
|
||||
install -D -p -m 755 %{_vpath_builddir}/scripts/mysql-prepare-db-dir %{buildroot}%{_libexecdir}/mysql-prepare-db-dir
|
||||
install -p -m 755 %{_vpath_builddir}/scripts/mysql-wait-stop %{buildroot}%{_libexecdir}/mysql-wait-stop
|
||||
|
|
@ -701,7 +770,7 @@ export MTR_BUILD_THREAD=$(( $(date +%s) % 2200 ))
|
|||
set -ex
|
||||
cd %{buildroot}%{_datadir}/mysql-test
|
||||
|
||||
export common_testsuite_arguments=" %{?with_debug:--debug-server} --parallel=auto --force --retry=2 --suite-timeout=900 --testcase-timeout=30 --skip-combinations --max-test-fail=5 --report-unstable-tests --clean-vardir "
|
||||
export common_testsuite_arguments=" %{?with_debug:--debug-server} --parallel=auto --force --retry=2 --suite-timeout=900 --testcase-timeout=30 --skip-combinations --max-test-fail=5 --report-unstable-tests --clean-vardir --nocheck-testcases "
|
||||
|
||||
# If full testsuite has already been run on this version and we don't explicitly want the full testsuite to be run
|
||||
if [[ "%{last_tested_version}" == "%{version}" ]] && [[ %{force_run_testsuite} -eq 0 ]]
|
||||
|
|
@ -735,16 +804,8 @@ popd
|
|||
|
||||
|
||||
|
||||
%pre -n %{pkgname}-server
|
||||
/usr/sbin/groupadd -g 27 -o -r mysql >/dev/null 2>&1 || :
|
||||
/usr/sbin/useradd -M -N -g mysql -o -r -d %{dbdatadir} -s /sbin/nologin \
|
||||
-c "MySQL Server" -u 27 mysql >/dev/null 2>&1 || :
|
||||
|
||||
%post -n %{pkgname}-server
|
||||
%systemd_post %{daemon_name}.service
|
||||
if [ ! -e "%{logfile}" -a ! -h "%{logfile}" ] ; then
|
||||
install /dev/null -m0640 -omysql -gmysql "%{logfile}"
|
||||
fi
|
||||
|
||||
%preun -n %{pkgname}-server
|
||||
%systemd_preun %{daemon_name}.service
|
||||
|
|
@ -866,6 +927,10 @@ fi
|
|||
%dir %{_libdir}/mysql/plugin
|
||||
%{_libdir}/mysql/plugin/adt_null.so
|
||||
%{_libdir}/mysql/plugin/auth_socket.so
|
||||
%{?with_fido:%{_libdir}/mysql/plugin/authentication_fido_client.so}
|
||||
%{?with_fido:%{_libdir}/mysql/plugin/authentication_oci_client.so}
|
||||
%{?with_kerberos:%{_libdir}/mysql/plugin/authentication_kerberos_client.so}
|
||||
%{?with_ldap:%{_libdir}/mysql/plugin/authentication_ldap_sasl_client.so}
|
||||
%{_libdir}/mysql/plugin/component_audit_api_message_emit.so
|
||||
%{_libdir}/mysql/plugin/component_keyring_file.so
|
||||
%{_libdir}/mysql/plugin/component_log_filter_dragnet.so
|
||||
|
|
@ -927,12 +992,15 @@ fi
|
|||
%{_libexecdir}/mysql-scripts-common
|
||||
|
||||
%{_tmpfilesdir}/%{daemon_name}.conf
|
||||
%{_sysusersdir}/%{name}.conf
|
||||
|
||||
# Remember to also update the mysql.tmpfiles.d.in file when updating these permissions
|
||||
%attr(0755,mysql,mysql) %dir %{dbdatadir}
|
||||
%attr(0750,mysql,mysql) %dir %{_localstatedir}/lib/mysql-files
|
||||
%attr(0700,mysql,mysql) %dir %{_localstatedir}/lib/mysql-keyring
|
||||
%attr(0755,mysql,mysql) %dir %{pidfiledir}
|
||||
%attr(0750,mysql,mysql) %dir %{logfiledir}
|
||||
%attr(0640,mysql,mysql) %config %ghost %verify(not md5 size mtime) %{logfile}
|
||||
|
||||
%config(noreplace) %{logrotateddir}/%{daemon_name}
|
||||
|
||||
%if %{with devel}
|
||||
|
|
@ -1052,6 +1120,77 @@ fi
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Nov 25 2025 Michal Schorm <mschorm@redhat.com> - 8.0.44-4
|
||||
- Bump release for tmpfiles.d fixup
|
||||
|
||||
* Thu Nov 20 2025 Michal Schorm <mschorm@redhat.com> - 8.0.44-3
|
||||
- Bump release for tmpfiles.d fixup
|
||||
|
||||
* Mon Nov 3 2025 Nikola Davidova <ndavidov@redhat.com> - 8.0.44-2
|
||||
- Bump release for tmpfiles.d change
|
||||
|
||||
* Thu Oct 30 2025 Pavol Sloboda <psloboda@redhat.com> - 8.0.44-1
|
||||
- Rebase to MySQL 8.0.44
|
||||
|
||||
* Mon Oct 27 2025 Lukas Javorsky <ljavorsk@redhat.com> - 8.0.43-2
|
||||
- Revert to soft static allocation of MariaDB and MySQL sysusers.d files
|
||||
|
||||
* Wed Aug 06 2025 Pavol Sloboda <psloboda@redhat.com> - 8.0.43-1
|
||||
- Rebase to MySQL 8.0.43
|
||||
|
||||
* Wed Aug 06 2025 František Zatloukal <fzatlouk@redhat.com> - 8.0.42-102
|
||||
- Rebuilt for icu 77.1
|
||||
|
||||
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.42-101
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Jul 15 2025 Michal Schorm <mschorm@redhat.com> - 8.0.42-100
|
||||
- Disable the 'distribution default' in MySQL 8.0 in this package
|
||||
- Enable the 'distribution default' in MySQL 8.4 (package 'mysql8.4')
|
||||
|
||||
* Thu Apr 24 2025 Pavol Sloboda <psloboda@redhat.com> - 8.0.42-1
|
||||
- Rebase to MySQL 8.0.42
|
||||
|
||||
* Sun Apr 06 2025 Michal Schorm <mschorm@redhat.com> - 8.0.41-2
|
||||
- Switch from the RPM scriptlet to the sysusers.d configuration
|
||||
for 'mysql' user / group creation
|
||||
- We no longer enforce the fixed UID/GID 27 !!!
|
||||
|
||||
* Fri Feb 28 2025 Michal Schorm <mschorm@redhat.com> - 8.0.41-1
|
||||
- Rebase to MySQL 8.0.41
|
||||
|
||||
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.40-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sun Dec 08 2024 Pete Walter <pwalter@fedoraproject.org> - 8.0.40-2
|
||||
- Rebuild for ICU 76
|
||||
|
||||
* Mon Oct 21 2024 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.40-1
|
||||
- Update to MySQL 8.0.40
|
||||
- Use auto* macros to simplify patch mgt
|
||||
|
||||
* Sat Aug 10 2024 Michal Schorm <mschorm@redhat.com> - 8.0.39-1
|
||||
- Rebase to MySQL 8.0.39
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.37-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Wed Jun 12 2024 Michal Schorm <mschorm@redhat.com> - 8.0.37-3
|
||||
- Bump release for package rebuild
|
||||
|
||||
* Sun Jun 09 2024 Michal Schorm <mschorm@redhat.com> - 8.0.37-2
|
||||
- Bump release for package rebuild
|
||||
|
||||
* Thu Apr 18 2024 Lars Tangvald <lars.tangvald@oracle.com> - 8.0.37-1
|
||||
- Update to MySQL 8.0.37
|
||||
- Remove some legacy cmake options
|
||||
|
||||
* Tue Apr 16 2024 Michal Schorm <mschorm@redhat.com> - 8.0.36-5
|
||||
- Fix my.cnf dependency for Flatpak builds
|
||||
|
||||
* Mon Feb 19 2024 Honza Horak <hhorak@redhat.com> - 8.0.36-4
|
||||
- Do not provide community-mysql* symbols if alternative
|
||||
|
||||
* Mon Feb 05 2024 Lukas Javorsky <ljavorsk@redhat.com> - 8.0.36-3
|
||||
- Apply demodularization
|
||||
- the default stream builds mysql.rpm
|
||||
|
|
|
|||
|
|
@ -1,26 +0,0 @@
|
|||
gis.st_latitude : BUG#0 fails on F32+
|
||||
gis.st_longitude : BUG#0 fails on F32+
|
||||
|
||||
perfschema.func_file_io : BUG#0 missing hw on 32-bit arm
|
||||
perfschema.global_read_lock : BUG#0 missing hw on 32-bit arm
|
||||
perfschema.relaylog : BUG#0 missing hw on 32-bit arm
|
||||
perfschema.setup_objects : BUG#0 missing hw on 32-bit arm
|
||||
|
||||
clone.remote_error_basic : BUG#0 fails since 8.0.19 on F32+, max_allowed_packet is 0
|
||||
|
||||
# Fails consistently
|
||||
innodb.innodb_bug-13628249 : BUG#0
|
||||
|
||||
# Failing since MySQL 8.0.28
|
||||
main.func_unixtime_64bits : BUG#0
|
||||
|
||||
# Fails since 8.0.30
|
||||
federated.federated_server : BUG#0
|
||||
rpl_gtid.rpl_mixed_temp_table_stored_function : BUG#0
|
||||
rpl_gtid.rpl_multi_source_mtr_includes : BUG#0
|
||||
clone.local_dml_auto_tune : BUG#0
|
||||
clone.remote_dml_auto_tune : BUG#0
|
||||
|
||||
# Fails since 8.0.31
|
||||
main.mysql_client_test : BUG#0
|
||||
main.mysqlslap : BUG#0
|
||||
|
|
@ -14,53 +14,37 @@ x.connection_tls_version : BUG#0 Expected to fail on F33+
|
|||
# Cmake option: -DENABLED_LOCAL_INFILE=ON
|
||||
main.mysql_load_data_local_dir : BUG#0 Intentional divergence from the upstream compiled-in default
|
||||
|
||||
# Unstable
|
||||
innodb.innodb_force_recovery : BUG#0 unstable since 8.0.24 on F32+
|
||||
|
||||
# Failing on 32-bit arches: armv7hl i686 s390x; since MySQL 8.0.25
|
||||
x.connection_unixsocket : BUG#0
|
||||
x.connection_unixsocket_invalid : BUG#0
|
||||
x.connection_unixsocket_lock : BUG#0
|
||||
innodb.innodb_bug-13628249 : BUG#0
|
||||
|
||||
# OpenSSL 3 - 100% failing tests on Fedora 36 - MySQL 8.0.26
|
||||
auth_sec.admin_channel_tls : BUG#0
|
||||
auth_sec.openssl_cert_generation : BUG#0
|
||||
auth_sec.ssl_mode : BUG#0
|
||||
auth_sec.tls : BUG#0
|
||||
binlog.binlog_grant_alter_user : BUG#0
|
||||
main.grant_alter_user_qa : BUG#0
|
||||
main.grant_user_lock_qa : BUG#0
|
||||
main.openssl_1 : BUG#0
|
||||
main.ssl_cipher : BUG#0
|
||||
main.ssl_dynamic : BUG#0
|
||||
x.connection_openssl : BUG#0
|
||||
x.connection_openssl_unixsocket : BUG#0
|
||||
# OpenSSL 3 - unstable tests - MySQL 8.0.26
|
||||
innodb.innodb_read_only-2 : BUG#0
|
||||
# OpenSSL 3 - 100% failing tests on Fedora 36 - MySQL 8.0.27
|
||||
auth_sec.openssl_without_fips : BUG#0
|
||||
|
||||
# Failing since MySQL 8.0.28
|
||||
innodb.trigger_function_lock_compare : BUG#0
|
||||
main.func_math : BUG#0
|
||||
main.index_merge_myisam : BUG#0
|
||||
main.merge_myisam : BUG#0
|
||||
main.parser_precedence : BUG#0
|
||||
rpl.rpl_auto_increment_myisam : BUG#0
|
||||
|
||||
# Failing since MySQL 8.0.29
|
||||
main.mysqlpump_bugs : BUG#0
|
||||
main.slow_log : BUG#0
|
||||
|
||||
# Failing on x86_64, i686 since MySQL 8.0.30
|
||||
innodb.check_sector_size : BUG#0
|
||||
|
||||
# Failing on all architectures since MySQL 8.0.31
|
||||
auth_sec.fips : BUG#0
|
||||
|
||||
# Unstable test on MySQL 8.0.33
|
||||
main.join_cache_bka_nobnl : BUG#0
|
||||
|
||||
# Failing since 8.0.34
|
||||
binlog.binlog_mysqlbinlog_linux : BUG#0
|
||||
|
||||
# Failing since 8.0.37
|
||||
auth_sec.wl15800_ciphers_tlsv13 : BUG#0
|
||||
binlog.binlog_mysqlbinlog_linux : BUG#0
|
||||
|
||||
main.archive : BUG#0
|
||||
main.mysqlpump_basic_lz4 : BUG#0
|
||||
|
||||
clone.local_dml_auto_tune : BUG#0
|
||||
clone.remote_dml_auto_tune : BUG#0
|
||||
|
||||
innodb.check_ibd_filesize_16k : BUG#0
|
||||
|
||||
rpl_gtid.mysqldump_bug33630199 : BUG#0
|
||||
rpl.rpl_eventlog_psi_memory : BUG#0
|
||||
rpl.rpl_tlsv13 : BUG#0
|
||||
|
||||
# ELN specific
|
||||
# Failing since 8.0.37, on x86-64-v3 only
|
||||
main.subquery_sj_mat_bka_nobnl : BUG#0 https://bugzilla.redhat.com/show_bug.cgi?id=2317132
|
||||
main.subquery_sj_all_bka_nobnl : BUG#0 https://bugzilla.redhat.com/show_bug.cgi?id=2317132
|
||||
|
||||
# Failing since 2025
|
||||
main.time_zone : BUG#0
|
||||
main.basedir : BUG#0
|
||||
|
||||
# Failing since 8.0.44
|
||||
main.lock_backup : BUG#0
|
||||
main.sdi_tablespace : BUG#0
|
||||
|
|
|
|||
|
|
@ -1,29 +1,57 @@
|
|||
# ppc64le
|
||||
sys_vars.innodb_buffer_pool_size_basic : BUG#0 fails only on ppc64le on f32+
|
||||
|
||||
# Fails since 8.0.30
|
||||
federated.federated_server : BUG#0
|
||||
rpl_gtid.rpl_mixed_temp_table_stored_function : BUG#0
|
||||
rpl_gtid.rpl_multi_source_mtr_includes : BUG#0
|
||||
rpl.rpl_innodb_bug28430 : BUG#0
|
||||
clone.local_dml_auto_tune : BUG#0
|
||||
clone.remote_dml_auto_tune : BUG#0
|
||||
|
||||
# Fails since 8.0.31
|
||||
main.multi_update : BUG#0
|
||||
main.mysqlslap : BUG#0
|
||||
main.lock_multi_bug38691 : BUG#0
|
||||
main.mysql_client_test : BUG#0
|
||||
|
||||
main.check : BUG#0
|
||||
main.count_distinct2 : BUG#0
|
||||
main.foreign_key : BUG#0
|
||||
main.lock_multi_bug38499 : BUG#0
|
||||
main.subquery_all : BUG#0
|
||||
main.type_temporal_fractional : BUG#0
|
||||
|
||||
# Fails since 8.0.34
|
||||
federated.federated : BUG#0
|
||||
rpl_gtid.mysqldump_bug33630199 : BUG#0
|
||||
rpl_gtid.rpl_gtid_row_event_max_size : BUG#0
|
||||
rpl.rpl_channel_creation_under_replica_load : BUG#0
|
||||
|
||||
# Fails since 8.0.37
|
||||
clone.local_dml : BUG#0
|
||||
clone.remote_dml_no_binlog : BUG#0
|
||||
clone.remote_dml_replace : BUG#0
|
||||
|
||||
innodb.create_index_with_disable_sort_file_cache : BUG#0
|
||||
innodb_fts.bug_34846823 : BUG#0
|
||||
innodb_gis.rtree_search : BUG#0
|
||||
innodb.innodb_autoextend_import_export : BUG#0
|
||||
innodb.instant_ddl_upgrade_rollback : BUG#0
|
||||
innodb.lob_recovery : BUG#0
|
||||
innodb.multi_value_basic : BUG#0
|
||||
innodb_undo.undo_settings : BUG#0
|
||||
|
||||
main.mysql_client_test : BUG#0
|
||||
main.mysqlslap : BUG#0
|
||||
|
||||
parts.partition_reverse_scan_icp : BUG#0
|
||||
|
||||
rpl_gtid.rpl_perfschema_applier_status_by_worker_gtid_skipped_transaction_mts : BUG#0
|
||||
rpl_nogtid.rpl_loaddatalocal : BUG#0
|
||||
rpl_nogtid.rpl_row_event_max_size : BUG#0
|
||||
rpl_nogtid.rpl_typeconv : BUG#0
|
||||
rpl.rpl_mysql_upgrade : BUG#0
|
||||
rpl.rpl_parallel : BUG#0
|
||||
rpl.rpl_priv_checks_user_start_info : BUG#0
|
||||
|
||||
sys_vars.myisam_data_pointer_size_func : BUG#0
|
||||
x.upgrade : BUG#0
|
||||
|
||||
# Unstable in 8.0.37
|
||||
main.component-upgrade : BUG#0
|
||||
main.count_distinct2 : BUG#0
|
||||
main.dd_upgrade_non_debug : BUG#0
|
||||
main.dd_upgrade_partition : BUG#0
|
||||
main.disabled_storage_engines : BUG#0
|
||||
main.partition : BUG#0
|
||||
main.multi_update : BUG#0
|
||||
|
||||
# Fails since 8.0.42
|
||||
innodb_fts.optimize_big : BUG#0
|
||||
|
||||
# Fails since 8.0.44
|
||||
main.join_cache_bnl : BUG#0
|
||||
main.mysql : BUG#0
|
||||
main.join_cache_nojb : BUG#0
|
||||
|
|
|
|||
|
|
@ -1,51 +1,10 @@
|
|||
# Fails since 8.0.21
|
||||
x.resource_groups : BUG#0
|
||||
|
||||
# Fails since 8.0.22
|
||||
main.subquery_bugs : BUG#0
|
||||
main.subquery_sj_dupsweed : BUG#0
|
||||
main.subquery_sj_dupsweed_bka : BUG#0
|
||||
main.subquery_sj_dupsweed_bka_nobnl : BUG#0
|
||||
main.subquery_sj_firstmatch : BUG#0
|
||||
main.subquery_sj_firstmatch_bka : BUG#0
|
||||
main.subquery_sj_firstmatch_bka_nobnl : BUG#0
|
||||
|
||||
# Fails since F32 Mass Rebuild
|
||||
gis.geometry_class_attri_prop : BUG#0
|
||||
gis.geometry_property_function_issimple : BUG#0
|
||||
gis.gis_bugs_crashes : BUG#0
|
||||
gis.spatial_analysis_functions_buffer : BUG#0
|
||||
gis.spatial_analysis_functions_centroid : BUG#0
|
||||
gis.spatial_analysis_functions_distance : BUG#0
|
||||
gis.spatial_op_testingfunc_mix : BUG#0
|
||||
gis.spatial_utility_function_distance_sphere : BUG#0
|
||||
gis.spatial_utility_function_simplify : BUG#0
|
||||
|
||||
# Fails since 8.0.26
|
||||
main.window_std_var : BUG#0
|
||||
main.window_std_var_optimized : BUG#0
|
||||
|
||||
# Failing since 8.0.27
|
||||
gis.st_symdifference : BUG#0
|
||||
|
||||
# Since 8.0.28 fails only on s390x
|
||||
main.subquery_sj_mat_bka_nobnl : BUG#0 failing since 8.0.24 on F32+
|
||||
main.derived_limit : BUG#0 failing since 8.0.24 on F32+
|
||||
main.explain_tree : BUG#0 failing since 8.0.24 on F32+
|
||||
|
||||
# Fails since 8.0.30
|
||||
rpl_gtid.rpl_mixed_temp_table_stored_function : BUG#0
|
||||
rpl_gtid.rpl_multi_source_mtr_includes : BUG#0
|
||||
clone.local_dml_auto_tune : BUG#0
|
||||
clone.remote_dml_auto_tune : BUG#0
|
||||
|
||||
# Fails since 8.0.32
|
||||
main.join_cache_bnl : BUG#0
|
||||
|
||||
# Fails since 8.0.33
|
||||
main.subquery_sj_all_bka_nobnl : BUG#0
|
||||
|
||||
# Fails since 8.0.34
|
||||
rpl.rpl_channel_creation_under_replica_load : BUG#0
|
||||
rpl_gtid.rpl_perfschema_applier_status_by_worker_gtid_skipped_transaction_mts : BUG#0
|
||||
rpl_gtid.rpl_gtid_row_event_max_size : BUG#0
|
||||
|
||||
# Fails since 8.0.37
|
||||
innodb.lob_recovery : BUG#0
|
||||
sys_vars.myisam_data_pointer_size_func : BUG#0
|
||||
|
||||
# Fails since 8.0.42
|
||||
x.connection_not_alive : BUG#0
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (mysql-boost-8.0.36.tar.gz) = a6c1c009a322b7e7aa2aa607573060414c847c77d48f44a24058ffb89673621f2ebbcc1a4448fa841a87ff721159cc8eaf44a57721c7dc233c130691c16a9d4a
|
||||
SHA512 (mysql-boost-8.0.44.tar.gz) = f6881d6f88a4060796e1eac47c1ffe3ea005c27f1b0509fd97774ba5b1e7bf86d0f8c4e13126750f0cc3dd86af92c26459ae8fecf9e8f0f058dab43e93bb3b42
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue