Bug 453504 - RA perl scripts won't compile on Fedora 9
RA perl scripts won't compile on Fedora 9
Status: CLOSED ERRATA
Product: Dogtag Certificate System
Classification: Community
Component: RA (Show other bugs)
1.0
All Linux
high Severity high
: ---
: ---
Assigned To: Matthew Harmsen
Chandrasekar Kannan
:
Depends On:
Blocks: 450345 443788
  Show dependency treegraph
 
Reported: 2008-07-01 00:09 EDT by Andrew Bartlett
Modified: 2015-01-05 20:18 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-07-22 19:29:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to fix the problem, per advise of #perl on irc.freenode.net (286 bytes, patch)
2008-07-01 00:09 EDT, Andrew Bartlett
no flags Details | Diff
Fix for empty namespace issue in Perl on Fedora 9 (2.63 KB, text/plain)
2008-07-01 20:38 EDT, Matthew Harmsen
no flags Details
Fix for empty namespace issue in Perl on Fedora 9 (2.67 KB, text/plain)
2008-11-22 22:17 EST, Matthew Harmsen
no flags Details

  None (edit)
Description Andrew Bartlett 2008-07-01 00:09:27 EDT
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Every time

Steps to Reproduce:
1. Start RA on Fedora 9
2. eg service pki-ra start
3.
  
Actual results:
Failure to start

Expected results:
Start successfully

Additional info:
Due to changes in perl, documented in 2nd para of:

http://perldoc.perl.org/functions/package.html
Comment 1 Andrew Bartlett 2008-07-01 00:09:28 EDT
Created attachment 310638 [details]
Patch to fix the problem, per advise of #perl on irc.freenode.net
Comment 2 Andrew Bartlett 2008-07-01 00:23:08 EDT
Naturally, this occurs in all of the instances of Modutil.pm
Comment 3 Matthew Harmsen 2008-07-01 20:38:57 EDT
Created attachment 310741 [details]
Fix for empty namespace issue in Perl on Fedora 9
Comment 4 Matthew Harmsen 2008-11-22 22:17:33 EST
Created attachment 324422 [details]
Fix for empty namespace issue in Perl on Fedora 9
Comment 5 Jack Magne 2008-11-22 22:21:15 EST
Attachment (id=324422) +jmagne.
Comment 6 Matthew Harmsen 2008-11-22 22:23:11 EST
svn status

M      linux/ra/pki-ra.spec
M      linux/tps/pki-tps.spec
M      base/ra/lib/perl/PKI/RA/Modutil.pm
M      base/tps/lib/perl/PKI/TPS/Modutil.pm

svn commit

Sending        base/ra/lib/perl/PKI/RA/Modutil.pm
Sending        base/tps/lib/perl/PKI/TPS/Modutil.pm
Sending        linux/ra/pki-ra.spec
Sending        linux/tps/pki-tps.spec
Transmitting file data ....
Committed revision 143.
Comment 7 Kashyap Chamarthy 2009-06-10 12:41:14 EDT
Verified. RA starts/restarts fine, and no perl-script compile errors are thrown.

Note You need to log in before you can comment on or make changes to this bug.