diff --git a/download b/download index a0a1e05f6f7d7b4696a8db9a6c98016af053e848..b9336dbb630acad2dc8469af9f394f9c693424a4 100644 --- a/download +++ b/download @@ -1 +1 @@ -90d1ef287590f8bc25ef2a544d267641 mariadb-10.5.16-downstream_modified.tar.gz +8ccc69492d62eabcca9d3ccea3131348 mariadb-10.5.22-downstream_modified.tar.gz diff --git a/mariadb.spec b/mariadb.spec index 63fc4f2b7c98fb6c88689bd04be4a070e36442bf..b6ac66fe22194902a9ea663dce8be57364492408 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -1,7 +1,7 @@ # This is a fix for the https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds # So the beaviour will be the same also in F31 nad F32 %undefine __cmake_in_source_build -%define anolis_release .0.2 +%define anolis_release .0.1 # Prefix that is used for patches %global pkg_name %{name} @@ -16,7 +16,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 10.5.16 +%global last_tested_version 10.5.22 # Set to 1 to force run the testsuite even if it was already tested in current version %global force_run_testsuite 0 @@ -110,7 +110,7 @@ %bcond_without unbundled_pcre %else %bcond_with unbundled_pcre -%global pcre_bundled_version 10.40 +%global pcre_bundled_version 10.42 %endif # Use main python interpretter version @@ -148,8 +148,8 @@ %global sameevr %{epoch}:%{version}-%{release} Name: mariadb -Version: 10.5.16 -Release: 2%{?with_debug:.debug}%{anolis_release}%{?dist} +Version: 10.5.22 +Release: 1%{?with_debug:.debug}%{anolis_release}%{?dist} Epoch: 3 Summary: A very fast and robust SQL database server @@ -743,7 +743,12 @@ rm -r storage/rocksdb/ %patch4 -p1 %patch7 -p1 %patch9 -p1 -%patch10 -p1 +# The test in Patch 10 has been recently updated by upstream +# and the test was disabled in the testuite run +# main.ssl_cipher [ disabled ] MDEV-17184 - Failures with OpenSSL 1.1.1 +# Keeping the patch commented out, need to revisit +# once the test is re-enabled by upstream in some future release +#%%patch10 -p1 %patch16 -p1 %patch17 -R -p1 @@ -780,7 +785,7 @@ sed 's/mariadb-server-galera/%{name}-server-galera/' %{SOURCE72} > selinux/%{nam # Get version of PCRE, that upstream use -pcre_version=`grep -e "https://github.com/PhilipHazel/pcre2/releases/download" cmake/pcre.cmake | sed -r "s;.*pcre2-([[:digit:]]+\.[[:digit:]]+).*;\1;" ` +pcre_version=`grep -e "https://github.com/PCRE2Project/pcre2/releases/download" cmake/pcre.cmake | sed -r "s;.*pcre2-([[:digit:]]+\.[[:digit:]]+).*;\1;" ` # Check if the PCRE version in macro 'pcre_bundled_version', used in Provides: bundled(...), is the same version as upstream actually bundles %if %{without unbundled_pcre} @@ -885,10 +890,10 @@ CFLAGS="$CFLAGS -fPIC" %if %{with debug} # Override all optimization flags when making a debug build # -D_FORTIFY_SOURCE requires optimizations enabled. Disable the fortify. -CFLAGS=`echo "$CFLAGS" | sed -r 's/-D_FORTIFY_SOURCE=[012]/-D_FORTIFY_SOURCE=0/'` +%undefine _fortify_level CFLAGS=`echo "$CFLAGS" | sed -r 's/-O[0123]//'` -CFLAGS="$CFLAGS -O0 -g -D_FORTIFY_SOURCE=0" +CFLAGS="$CFLAGS -O0 -g" # Fixes for Fedora 32 & Rawhide (GCC 10.0): %if 0%{?fedora} >= 32 @@ -1244,9 +1249,11 @@ export MTR_BUILD_THREAD=$(( $(date +%s) % 1100 )) --skip-test-list=unstable-tests %endif # Second run for the SPIDER suites that fail with SCA (ssl self signed certificate) - perl ./mysql-test-run.pl $common_testsuite_arguments --skip-ssl --big-test --mem --suite=spider,spider/bg,spider/bugfix,spider/handler --skip-test-list=unstable-tests \ + perl ./mysql-test-run.pl $common_testsuite_arguments --skip-ssl --big-test --suite=spider,spider/bg,spider/bugfix,spider/handler --skip-test-list=unstable-tests \ %if %{ignore_testsuite_result} --max-test-fail=999 || : + %else + --skip-test-list=unstable-tests %endif # blank line fi @@ -1641,11 +1648,25 @@ fi %endif %changelog -* Sat Nov 5 2022 Liwei Ge - 3:10.5.16-2.0.2 -- make libmariadb support loongarch64 - -* Fri Aug 05 2022 Joseph Qi - 3:10.5.16-2.0.1 +* Fri Oct 13 2023 Joseph Qi - 3:10.5.22-1.0.1 - Add xfs atomic write support +- make libmariadb support loongarch64 (geliwei@openanolis.org) + +* Mon Sep 04 2023 Michal Schorm - 3:10.5.22-1 +- Rebase to 10.5.22 + +* Wed Jul 26 2023 Michal Schorm - 3:10.5.21-1 +- Rebase to version 10.5.21 + +* Wed May 31 2023 Siddhesh Poyarekar - 3:10.5.20-2 +- Use _fortify_level to disable fortification in debug builds + +* Tue May 30 2023 Lukas Javorsky - 3:10.5.20-1 +- Rebase to version 10.5.20 + +* Wed Nov 16 2022 Michal Schorm - 3:10.5.18-1 +- Rebase to 10.5.18 +- OpenSSL 3 patch upstreamed * Mon Jun 13 2022 Michal Schorm - 3:10.5.16-2 - Release bump for rebuild diff --git a/rh-skipped-tests-base.list b/rh-skipped-tests-base.list index 30c80970d5a6f8984a2eaf7833143f8cdee6a461..8ab112cf7c2ce507eeaef38a68bef37b529b7666 100644 --- a/rh-skipped-tests-base.list +++ b/rh-skipped-tests-base.list @@ -62,3 +62,30 @@ rpl.rpl_innodb_mixed_dml : # Since 10.5.10 sys_vars.tcp_nodelay : innodb.restart : + +# Fails on all architectures since 10.5.18 +main.information_schema : +main.loadxml : +main.lock_kill : + +# Fails since 10.5.20 +innodb.innodb_bug51920 : +innodb.row_size_error_log_warnings_3 : +binlog_encryption.rpl_cant_read_event_incident : +bg.spider_fixes : +bugfix.mdev_29904 : "[Warning] mariadbd: Can't get hardware address with error 0" +sys_vars.completion_type_func : +rpl.rpl_report_port : +rpl.rpl_reset_slave_fail : +rpl.rpl_xa_survive_disconnect_lsu_off : +rpl.rpl_heartbeat_basic : +rpl.rpl_xa_survive_disconnect : +rpl.rpl_err_ignoredtable : +rpl.rpl_row_img_sequence_full : +rpl.rpl_row_img_sequence_min : +rpl.rpl_row_img_sequence_noblob : +rpl.rpl_xa_empty_transaction : +rpl.rpl_slave_shutdown_mdev20821 : + +# Fails since 10.5.22 +mariabackup.aria_log_dir_path : diff --git a/rh-skipped-tests-ppc.list b/rh-skipped-tests-ppc.list index f51ee0503637ebb012dfdc440a0a0adc6a5a0b05..347f3aceb63bc328442ab5716c6b9c6f7bd52467 100644 --- a/rh-skipped-tests-ppc.list +++ b/rh-skipped-tests-ppc.list @@ -9,3 +9,14 @@ innodb.innodb_defrag_concurrent : rpl.rpl_parallel_xa_same_xid : parts.part_supported_sql_func_innodb : parts.partition_alter2_1_1_innodb : + +# Fails since 10.5.20 +innodb.innodb_defrag_concurrent : +parts.partition_alter4_innodb : +rpl.rpl_parallel_optimistic_xa_lsu_off : + +# Fails since 10.5.22 +parts.partition_alter2_1_2_innodb : +innodb_gis.kill_server : +parts.partition_alter2_2_1_innodb : +parts.partition_alter2_2_2_innodb :