User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0 Build Identifier: Version 1.4.1 of spacewalk-monitoring is missing a dependency on perl-List-MoreUtils. Attempting to start the daemons gives: Can't locate List/MoreUtils.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/vendor_perl/5.8.8/Config/IniFiles.pm line 14. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Config/IniFiles.pm line 14. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/Object.pm line 22. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/NOCpulse/Object.pm line 22. Compilation failed in require at /usr/sbin/Monitoring line 6. BEGIN failed--compilation aborted at /usr/sbin/Monitoring line 6. Adding the perl-List-MoreUtils package to the system stops the problem. Reproducible: Always
Could you show me output of: rpm -q spacewalk-monitoring perl-List-MoreUtils rpm -q --whatrequires 'perl(List::MoreUtils)'
[root@server ~]# rpm -q spacewalk-monitoring perl-List-MoreUtils spacewalk-monitoring-1.4.1-1.el5 perl-List-MoreUtils-0.22-2.el5 [root@server ~]# rpm -q --whatrequires 'perl(List::MoreUtils)' no package requires perl(List::MoreUtils)
Careful reading of the error shows that the List::MoreUtils is not loaded by any spacewalk-monitoring code directly, but by Config::IniFiles: # perl -MConfig::IniFiles -e 1 Can't locate List/MoreUtils.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/vendor_perl/5.8.8/Config/IniFiles.pm line 14. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/Config/IniFiles.pm line 14. Compilation failed in require. BEGIN failed--compilation aborted. # rpm -qf /usr/lib/perl5/vendor_perl/5.8.8/Config/IniFiles.pm perl-Config-IniFiles-2.72-1.el5 Flipping to EPEL 5 perl-Config-IniFiles component.
This breaks downstream users of Config::IniFiles like us at PacketFence. As you can see here[1] Config::IniFiles 2.72 does use List::MoreUtils so it should be under Requires and not only in BuildRequires. [1] https://metacpan.org/source/SHLOMIF/Config-IniFiles-2.72/lib/Config/IniFiles.pm#L14
Oh, I just realized that the require list is dynamically generated... RHEL6 seems fine: package: perl-Config-IniFiles.noarch 2.72-2.el6 ... dependency: perl(List::MoreUtils) provider: perl-List-MoreUtils.x86_64 0.33-1.of.el6 provider: perl-List-MoreUtils.x86_64 0.30-1.of.el6 provider: perl-List-MoreUtils.x86_64 0.22-10.el6 I'll need to dig up for RHEL5. Sorry for the noise.
perl-Config-IniFiles-2.72-2.el5.1 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/perl-Config-IniFiles-2.72-2.el5.1
Package perl-Config-IniFiles-2.72-2.el5.1: * should fix your issue, * was pushed to the Fedora EPEL 5 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing perl-Config-IniFiles-2.72-2.el5.1' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-6248/perl-Config-IniFiles-2.72-2.el5.1 then log in and leave karma (feedback).
As you can see in this bug: https://bugzilla.redhat.com/show_bug.cgi?id=828251, I think you should add a minor version of perl-List-MoreUtils, as the Parameter() function seems to work only since version 0.33 With this, you will close both bugs.
New package has dependency as expected now: --Snipped Yum output-- Updated: perl-Config-IniFiles.noarch 0:2.72-2.el5.1 Complete! [root@server ~]# rpm -q --whatrequires 'perl(List::MoreUtils)' perl-Config-IniFiles-2.72-2.el5.1
It looks like https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-6537/perl-Config-IniFiles-2.72-2.el5.2,perl-List-MoreUtils-0.33-5.el5 released fixed perl-Config-IniFiles. Could we close this bugzilla?