Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
We have a customer requiring perl-Date-Manip while having perl-5.32 stream.
Due to how the package is built, it's not possible to install the package, because it has a hard dependency on the following:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
perl(:MODULE_COMPAT_5.26.2)
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
I believe this is not required at all, forcibly installing the package shows it works fine with perl-5.32 stream:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
# rpm -q perl
perl-5.32.1-472.module+el8.8.0+17873+3d1ce0e6.x86_64
# rpm -ivh --nodeps ./perl-Date-Manip-6.60-2.el8.noarch.rpm
# cat > test_perl_manip.pl << EOF
#!/usr/bin/perl
use strict;
use warnings;
use Date::Manip::Date;
use Date::Manip::Delta;
use Date::Manip::Recur;
use Date::Manip::TZ;
use Date::Manip::Base;
EOF
# perl ./test_perl_manip.pl
--> OK
# grep -w require /usr/share/perl5/vendor_perl/Date/Manip/*.pm
--> nothing specific to 5.26 there
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Additionally the package is pure Perl code, not linked against any system library.
Version-Release number of selected component (if applicable):
perl-Date-Manip-6.60-2.el8.noarch
How reproducible:
Always
Steps to Reproduce:
1. Enable perl-5.32 stream and install perl
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
# dnf -y module enable perl:5.32
# dnf -y install perl
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
2. Try installing perl-Date-Manip
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
# dnf -y install perl-Date-Manip
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Actual results: conflicts
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Problem: package perl-Date-Manip-6.60-2.el8.noarch requires perl(:MODULE_COMPAT_5.26.2), but none of the providers can be installed
- conflicting requests
- package perl-libs-4:5.26.3-416.el8.x86_64 is filtered out by modular filtering
[...]
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
Expected results:
Can install fine
Additional info:
Same issue applies to perl-Parse-Yapp
Thank you for the report.
perl(:MODULE_COMPAT_XXX) was used to ensure that Perl packages have a
dependency on the particular version of Perl it was built against.
You are right that it is not necessary for all Perl packages. Only packages
with compiled code need to have a dependency on the particular version of
Perl it was built against.
perl-Date-Manip and perl-Parse-Yapp are not these packages.
I can try to replace perl(:MODULE_COMPAT_XXX) by non-versioned perl-libs
(which provide it).
Note: For future RHEL, it will be solved by replacing versioned MODULE_COMPAT
requires by correct dependency provided by Perl dependency generator.
The issue appeared because only some packages, which are using Perl, are built with module perl:5.32.
However, the most of the packages which are using Perl requires versioned MODULE_COMPAT.
> perl-Date-Manip and perl-Parse-Yapp are not these packages.
> I can try to replace perl(:MODULE_COMPAT_XXX) by non-versioned perl-libs
> (which provide it).
This change works. Is it acceptable for customer?
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 (perl-Date-Manip bug fix and enhancement update), 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/RHBA-2023:7167