Bug 652833

Summary: perl-XML-Dumper missing dependencies
Product: Red Hat Enterprise Linux 6 Reporter: Eric Eisenhart <eric.eisenhart>
Component: perl-XML-DumperAssignee: Jitka Plesnikova <jplesnik>
Status: CLOSED ERRATA QA Contact: Jan Kepler <jkejda>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: jkejda, jplesnik, ovasik, ppisar, psabata, rvokal
Target Milestone: rcKeywords: EasyFix
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Using of the module perl(XML::Dumper) failed due to missing dependency. Consequence: perl(XML::Parser) is not listed in rpm dependencies Fix: Update spec file. Result: perl-XML-Dumper requires perl(XML::Parser). Using of perl(XML::Dumper) works properly.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-20 14:43:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eric Eisenhart 2010-11-12 21:55:52 UTC
Description of problem:
perl-XML-Dumper package is missing the perl() dependencies required for it to actually work.  In particular, perl(XML::Parser).

Version-Release number of selected component (if applicable):
perl-XML-Dumper-0.81-6.el6.noarch

How reproducible:
yum install perl-XML-Dumper
perl -MXML::Dumper -e 0
rpm -q --requires perl-XML-Dumper

Steps to Reproduce:
yum install perl-XML-Dumper
perl -MXML::Dumper -e 0
rpm -q --requires perl-XML-Dumper
  
Actual results:
# perl -MXML::Dumper -e 0
Can't locate XML/Parser.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/XML/Dumper.pm line 144.
BEGIN failed--compilation aborted at /usr/share/perl5/XML/Dumper.pm line 144.
Compilation failed in require.
BEGIN failed--compilation aborted.

# rpm -q --requires perl-XML-Dumper
perl(:MODULE_COMPAT_5.10.1)  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(VersionedDependencies) <= 3.0.3-1
rpmlib(PayloadIsXz) <= 5.2-1

Expected results:
# perl -MXML::Dumper -e 0
(should return nothing)

# rpm -q --requires perl-XML-Dumper
perl(:MODULE_COMPAT_5.10.1)  
perl(Exporter)  
perl(XML::Parser)  
perl(overload)  
perl(strict)  
perl(warnings)  

(all the other perl() dependencies are provided in the perl package, but perl(XML::Parser) is in perl-XML-Parser)

Comment 2 Marcela Mašláňová 2010-11-15 07:48:32 UTC
The perl-XML-Parser is included in RHEL-6, it's missing only in spec file. This should be easy fix, thanks for report.

Comment 3 Suzanne Logcher 2011-02-15 21:45:13 UTC
This issue was proposed for RHEL 6.1 FasTrack but did not get resolved in time.
It has been moved to RHEL 6.2 FasTrack.

Comment 14 errata-xmlrpc 2013-05-20 14:43:00 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, and where to find the updated
files, follow the link below.

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

http://rhn.redhat.com/errata/RHBA-2013-0838.html