[MDEV-29219] Missing dependency on perl subpackages for RHEL 9 Created: 2022-07-31  Updated: 2022-08-03  Resolved: 2022-08-03

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Affects Version/s: 10.5, 10.6
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Elena Stepanova
Resolution: Not a Bug Votes: 0
Labels: None


 Description   

"Clean" RHEL comes without a perl installation these days (it was also true for RHEL 8, and still is for RHEL 9).
When MariaDB RPMs are installed, they pull a bunch of perl-xxx packages as a dependency. It includes perl-interpreter which contains perl binary, but doesn't include perl metapackage as such.

In RHEL-8, it seems to be enough.
In RHEL-9, lib.pm has been moved from perl-interpreter into a separate package perl-lib (not to be confused with perl-libs, which contains a lot of stuff).
perl-lib can be installed by itself or as a dependency of the perl metapackage. However, perl-interpreter and other perl-xxx packages which are installed along with MariaDB do not pull it.

It is needed for MTR at least. So, I suppose either perl-lib or perl need to be made a dependency.

Also, a bunch of packages like perl-File-Find, perl-Time etc. are not installed while also needed for MTR (and maybe not only for MTR). All in all, it seems simpler to add a dependency on perl metapackage rather than all subpackages individually.

I only checked 10.6, but I don't expect there is a difference for other versions.



 Comments   
Comment by Elena Stepanova [ 2022-07-31 ]

Feel free to demote if you think the dependency can be added later.

Comment by Sergei Golubchik [ 2022-08-02 ]

I don't seem to be able to repeat it

Comment by Elena Stepanova [ 2022-08-03 ]

It turns out that the build machine where the packages were built was missing perl-generators package, which is responsible for facilitating dependencies.

Sorry for the false alarm.

Generated at Thu Feb 08 10:06:49 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.