Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 926996

Summary: Can't locate Carp.pm in @INC
Product: [Fedora] Fedora Reporter: Antonio T. (sagitter) <anto.trande>
Component: help2manAssignee: Ralf Corsepius <rc040203>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 19CC: anto.trande, ovasik, rc040203
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-25 16:03:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 924938    
Bug Blocks:    

Description Antonio T. (sagitter) 2013-03-24 17:18:29 UTC
Description of problem:
This error appears by executing help2man command. 

Version-Release number of selected component (if applicable):
help2man-1.41.1-2.fc19.noarch

  
Actual results:
...
+ help2man --version-string=5.0.3 -n 'Partitions a graph into a specified number of parts.' -N --output=gpmetis.1 --no-discard-stderr --help-option=-help /builddir/build/BUILDROOT/metis-5.0.3-8.fc20.i386/usr/bin/gpmetis
Can't locate Carp.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/share/perl5/Tie/Hash.pm line 188.
BEGIN failed--compilation aborted at /usr/share/perl5/Tie/Hash.pm line 188.
Compilation failed in require at /usr/lib/perl5/POSIX.pm line 419.
Compilation failed in require at /usr/bin/help2man line 27.
BEGIN failed--compilation aborted at /usr/bin/help2man line 27.
RPM build errors:


Additional info:
http://koji.fedoraproject.org/koji/getfile?taskID=5166285&name=build.log

Comment 1 Antonio T. (sagitter) 2013-03-24 20:02:19 UTC
It seems me that is a missing BuildRequires package: perl-Carp

Comment 2 Ralf Corsepius 2013-03-25 02:45:24 UTC
(In reply to comment #1)
> It seems me that is a missing BuildRequires package: perl-Carp
No. /usr/bin/help2man does not require perl(Carp).

/usr/bin/help2man requires perl(Tie::Hash), which then requires perl(Carp).

Cf. your log above:
..
Can't locate Carp.pm in @INC ...
at /usr/share/perl5/Tie/Hash.pm line 188.
..

Apparently, there currently is a bug somewhere in underneath of rpm which generates incorrect deps.

Comment 3 Ralf Corsepius 2013-03-25 16:03:08 UTC
A work-around has been introduced to the rawhide perl package, which should remedy this issue.

Please verify if this issue persists.

Comment 4 Antonio T. (sagitter) 2013-03-25 17:43:04 UTC
(In reply to comment #3)
> Please verify if this issue persists.

It's okay now.
http://kojipkgs.fedoraproject.org//work/tasks/357/5170357/build.log