Bug 657496

Summary: perl-Makefile-Parser source rpm rebuild failing
Product: Red Hat Enterprise Linux 6 Reporter: Sergio Rubio <rubiojr>
Component: perl-Makefile-ParserAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Adam Kolář <akolar>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: akolar, dgregor, lfarkas, ovasik, ppisar, psplicha
Target Milestone: rcKeywords: EasyFix
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: perl-Makefile-Parser-0.211-2.el6 Doc Type: Bug Fix
Doc Text:
Cause: Building perl-Makefile-Parser source RPM package without installed perl-Time-HiRes package. Consequence: Build process fails on executing Makefile.PL. Fix: Build-time dependencies on MDOM::Document::Gmake, MDOM::Util, and Time::HiRes Perl modules have been declared in the RPM package. Result: It's possible to rebuild perl-Makefile-Parser source package in minimal environment.
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-04 12:40:10 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:
Attachments:
Description Flags
mock build.log
none
Add missing BuildRequires none

Description Sergio Rubio 2010-11-26 09:35:39 UTC
Description of problem:
perl-Makefile-Parser source rpm rebuild failing. Missing buildreq CPAN?

Version-Release number of selected component (if applicable):
perl-Makefile-Parser-0.211-1.1

How reproducible:
Always


Additional info:
BuildRequire: perl(CPAN) solves this issue but introduces a new one. build.log attached.

Comment 1 Sergio Rubio 2010-11-26 09:36:36 UTC
Created attachment 463035 [details]
mock build.log

Comment 3 Marcela Mašláňová 2010-12-02 12:39:36 UTC
There is missing BuildRequires: perl(Time::HiRes). CPAN only tries to download Time::HiRes during the build time, which is not good.

Comment 4 Marcela Mašláňová 2010-12-14 11:11:21 UTC
*** Bug 661798 has been marked as a duplicate of this bug. ***

Comment 5 Suzanne Logcher 2011-02-15 21:45:41 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 8 Mathieu Bridon 2011-06-03 08:30:24 UTC
Created attachment 502756 [details]
Add missing BuildRequires

Here is a patch to fix the issue that applies on the latest RHEL6 SRPM, hoping that can help spee things up so it can be fixed for 6.2 :)

Comment 19 errata-xmlrpc 2013-06-04 12:40:10 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-0899.html