Bug 766568 - Apache::SizeLimit needs to require perl(Linux::Pid)
Summary: Apache::SizeLimit needs to require perl(Linux::Pid)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mod_perl
Version: 16
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-12 11:04 UTC by Jan Pazdziora
Modified: 2012-01-11 22:19 UTC (History)
3 users (show)

Fixed In Version: mod_perl-2.0.5-7.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-11 06:02:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora 2011-12-12 11:04:22 UTC
Description of problem:

When trying to run my mod_perl application with does

  PerlFixupHandler Apache2::SizeLimit

in the Apache setup, I get

Mon Dec 12 05:55:08 2011] [error] [client 127.0.0.1] failed to resolve handler `Apache2::SizeLimit': You must install Linux::Pid for Apache::SizeLimit to work on your platform. at /usr/lib/perl5/vendor_perl/Apache/SizeLimit/Core.pm line 128.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Apache/SizeLimit/Core.pm line 171.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/Apache2/SizeLimit.pm line 48.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Apache2/SizeLimit.pm line 48.\nCompilation failed in require at (eval 1522) line 2.\n
[Mon Dec 12 05:55:08 2011] [error] [client 127.0.0.1] failed to resolve handler `Apache2::SizeLimit': Attempt to reload Apache2/SizeLimit.pm aborted.\nCompilation failed in require at (eval 1524) line 2.\n

The rpm package should bring the dependency in.

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

# rpm -qf /usr/lib/perl5/vendor_perl/Apache/SizeLimit/Core.pm
mod_perl-devel-2.0.5-6.fc16.i686

How reproducible:

Deterministic.

Steps to Reproduce:
1. # perl -MApache2::SizeLimit -e 1
  
Actual results:

# perl -MApache2::SizeLimit -e 1
You must install Linux::Pid for Apache::SizeLimit to work on your platform. at /usr/lib/perl5/vendor_perl/Apache/SizeLimit/Core.pm line 128.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Apache/SizeLimit/Core.pm line 171.
Compilation failed in require at /usr/lib/perl5/vendor_perl/Apache2/SizeLimit.pm line 48.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/Apache2/SizeLimit.pm line 48.
Compilation failed in require.
BEGIN failed--compilation aborted.
#

Expected results:

# perl -MApache2::SizeLimit -e 1
Can't locate object method "is_threaded" via package "Apache2::MPM" at /usr/lib/perl5/vendor_perl/Apache2/SizeLimit.pm line 31.
Compilation failed in require.
BEGIN failed--compilation aborted.
#

Additional info:

Comment 1 Fedora Update System 2012-01-05 19:05:57 UTC
mod_perl-2.0.5-7.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mod_perl-2.0.5-7.fc16

Comment 2 Fedora Update System 2012-01-07 22:55:39 UTC
Package mod_perl-2.0.5-7.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing mod_perl-2.0.5-7.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0161/mod_perl-2.0.5-7.fc16
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2012-01-11 06:02:34 UTC
mod_perl-2.0.5-7.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Sergio Basto 2012-01-11 22:19:08 UTC
hi, I just saw mod_perl update 

and I have to have apache 1.3 with mod_perl 1, I just have one conflict file
which is precisely:  
/usr/lib64/perl5/vendor_perl/Apache/SizeLimit.pm

Transaction Check Error:
  file /usr/lib64/perl5/vendor_perl/Apache/SizeLimit.pm from install of mod_perl-2.0.5-7.fc16.x86_64 conflicts with file from package apache-1.3.42-3.fc16.x86_64


but reading /usr/lib64/perl5/vendor_perl/Apache/SizeLimit.pm
 This version is only for httpd 1.3.x and mod_perl 1.x series.

shouldn't be deleted from mod_perl-2 rpm ? 

If this question is pertinent I could open a new bug report


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