-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-9.1.0
-
None
-
Important
-
rhel-sst-cs-stacks
-
ssg_core_services
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
x86_64
-
None
Description of problem:
rpmbuild fails to detect requires or provides from perl module.
The root cause seems to be the /usr/lib/rpm/rpmdeps
On RHEL8 this tool shows
$ /usr/lib/rpm/rpmdeps --define="_use_internal_dependency_generator 1" --requires Logger.pm
perl(Sys::Syslog)
perl(strict)
perl(warnings)
$ /usr/lib/rpm/rpmdeps --define="_use_internal_dependency_generator 1" --provides Logger.pm
perl(UVic::Logger)
While on RHEL9
$ /usr/lib/rpm/rpmdeps --define="_use_internal_dependency_generator 1" --requires Logger.pm
$ /usr/lib/rpm/rpmdeps --define="_use_internal_dependency_generator 1" --provides Logger.pm
Version-Release number of selected component (if applicable):
$ rpm -qf /usr/lib/rpm/rpmdeps
rpm-build-4.16.1.3-19.el9_1.x86_64
How reproducible:
Take any perl module and run the rpmdeps commands on it.
I have attached the Logger.pm module I used in the description of my problem.
Steps to Reproduce:
1. Save he Logger.pm
2. Run the rpmdeps commands
/usr/lib/rpm/rpmdeps --define="_use_internal_dependency_generator 1" --requires Logger.pm
/usr/lib/rpm/rpmdeps --define="_use_internal_dependency_generator 1" --provides Logger.pm
Actual results:
null list
Expected results:
the requires list of:
perl(Sys::Syslog)
perl(strict)
perl(warnings)
and the provides list of:
perl(UVic::Logger)
Additional info:
- external trackers