Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1903659

Summary: RFE: add collection for MariaDB 10.5
Product: Red Hat Software Collections Reporter: Honza Horak <hhorak>
Component: mariadbAssignee: Michal Schorm <mschorm>
Status: CLOSED ERRATA QA Contact: Jakub Heger <jheger>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rh-mariadb105CC: anders.blomdell, databases-maint, jheger, jorton, mmuzila
Target Milestone: alphaKeywords: FutureFeature, Triaged
Target Release: 3.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Release Note
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-03 11:15:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1908376, 1941431    

Description Honza Horak 2020-12-02 15:23:41 UTC
Description:
Tracker bug for addition of collection for MariaDB 10.5.

Proposed Collection name: rh-mariadb105

Comment 3 Joe Orton 2020-12-16 15:56:16 UTC
*** Bug 1908392 has been marked as a duplicate of this bug. ***

Comment 5 Honza Horak 2020-12-23 13:01:31 UTC
Comparing to Fedora packages, RPM from RHEL-7 does not allow to use globing in the %files section.

For example this change:

diff --git a/mariadb.spec b/mariadb.spec
index 7ae5576..3ff42e0 100644
--- a/mariadb.spec
+++ b/mariadb.spec
@@ -1928,10 +1928,7 @@ fi
 %{_bindir}/mariadb-test
 %{_bindir}/my_safe_process
 %attr(-,mysql,mysql) %{_datadir}/mysql-test
-%{_mandir}/man1/mysql_client_test.1*
-%{_mandir}/man1/mysqltest.1*
-%{_mandir}/man1/mariadb-client-test.1*
-%{_mandir}/man1/mariadb-test.1*
+%{_mandir}/man1/{mysql_client_test,mysqltest,mariadb-client-test,mariadb-test}.1*
 %{_mandir}/man1/my_safe_process.1*
 %{_mandir}/man1/mysql-stress-test.pl.1*
 %{_mandir}/man1/mysql-test-run.pl.1*

Results in this failure:

Processing files: rh-mariadb103-mariadb-test-10.5.8-1.el7.x86_64
error: File not found by glob: /builddir/build/BUILDROOT/rh-mariadb103-mariadb-10.5.8-1.el7.x86_64/opt/rh/rh-mariadb103/root/usr/share/man/man1/{mysql_client_test,mysqltest,mariadb-client-test,mariadb-test}.1*

That's why the spec mentioned above uses no-globing longer variant.

Comment 9 Anders Blomdell 2021-01-14 12:02:51 UTC
Looks like it has broken the fedora33.modularity.updates repo:

+10459+dd2e904c.x86_64', it cannot be installed on the system
No available modular metadata for modular package 'mariadb-backup-3:10.5.5-1.module_f33+10459+dd2e904c.x86_64', it cannot be installed on the system
...

10.5 section is indeed missing from:

6aec192f3e4ecc61edfa5d46864794b0afab4ca4049e1051e6461b4dff9b8c50-modules.yaml.gz    2021-01-07 01:33   44K

Comment 12 errata-xmlrpc 2021-06-03 11:15:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: rh-mariadb105), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:2217