Bug 748362 - mod_perl requires mod_perl-devel erroneously
Summary: mod_perl requires mod_perl-devel erroneously
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mod_perl
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 771800 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-24 09:11 UTC by Petr Pisar
Modified: 2012-08-08 09:13 UTC (History)
4 users (show)

Fixed In Version: mod_perl-2.0.5-7.fc16
Clone Of:
Environment:
Last Closed: 2012-08-07 19:53:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Fix moving only some Apache::* modules to devel subpackage (2.51 KB, patch)
2011-10-24 11:02 UTC, Petr Pisar
no flags Details | Diff
Various packaging improvements (3.13 KB, patch)
2011-11-23 19:16 UTC, Ville Skyttä
no flags Details | Diff

Description Petr Pisar 2011-10-24 09:11:58 UTC
# LANG=en yum install mod_perl
[...]
Installing:
 mod_perl              x86_64     2.0.5-5.fc16        fedora              2.9 M
Installing for dependencies:
 apr-util-devel        x86_64     1.3.12-1.fc16       fedora               69 k
 httpd-devel           x86_64     2.2.21-1.fc16       fedora              145 k
 mod_perl-devel        x86_64     2.0.5-5.fc16        fedora              237 k
 openldap-devel        x86_64     2.4.26-5.fc16       updates-testing     983 k
 perl-BSD-Resource     x86_64     1.29.04-6.fc16      fedora               35 k

Why mod_perl requires devel packages?

This is because mod_perl requires `perl(Apache::SizeLimit::Core)' and perl(Apache::SizeLimit::Core) is provided by mod_perl-devel.

Why mod_perl-devel provides perl(Apache::SizeLimit::Core)?

I think this is because typo in mod_perl.spec:

devmods="ModPerl::Code ModPerl::BuildMM ModPerl::CScan \
          ModPerl::TestRun ModPerl::Config ModPerl::WrapXS \
          ModPerl::BuildOptions ModPerl::Manifest \
          ModPerl::MapUtil ModPerl::StructureMap \
          ModPerl::TypeMap ModPerl::FunctionMap \
          ModPerl::ParseSource ModPerl::MM \
          Apache2::Build Apache2::ParseSource Apache2::BuildConfig \
→         Apache Bundle::ApacheTest"
for m in $devmods; do
   test -f $RPM_BUILD_ROOT%{_mandir}/man3/${m}.3pm &&
     echo "%{_mandir}/man3/${m}.3pm*"
   fn=${m//::/\/}
   test -f $RPM_BUILD_ROOT%{perl_vendorarch}/${fn}.pm &&
        echo %{perl_vendorarch}/${fn}.pm
   test -d $RPM_BUILD_ROOT%{perl_vendorarch}/${fn} &&
        echo %{perl_vendorarch}/${fn}
   test -d $RPM_BUILD_ROOT%{perl_vendorarch}/auto/${fn} &&
        echo %{perl_vendorarch}/auto/${fn}
done | tee devel.files | sed 's/^/%%exclude /' > exclude.files
[...]
%files devel -f devel.files

I think `Apache Bundle::ApacheTest' should read `Apache::Bundle::ApacheTest'. The effect is all Perl modules under Apache, including Apache::SizeLimit::Core, go to devel subpackage now.

Comment 1 Petr Pisar 2011-10-24 09:30:30 UTC
This is not a typo. Just not all `Apache::*' modules should be in devel.

Comment 2 Petr Pisar 2011-10-24 11:02:31 UTC
Created attachment 529819 [details]
Fix moving only some Apache::* modules to devel subpackage

Comment 3 Ville Skyttä 2011-11-23 19:16:46 UTC
Created attachment 535595 [details]
Various packaging improvements

Incidentally, I fixed this too while fixing some other things without noticing this bug:

- Ship Apache::Reload and Apache::SizeLimit in main package (#748362).
- Move Apache::Test* man pages to -devel.
- Don't filter Module::Build dependency.

Joe, want me to push and build this for F-16+ ?

Comment 4 Joe Orton 2011-11-24 10:50:21 UTC
Looks good to me, please do, thanks a lot!

Comment 5 Jan Pazdziora (Red Hat) 2011-12-12 11:05:46 UTC
There is a dependency problem for the Apache(2)::SizeLimit package, see bug 766568. If you are respinning the mod_perl package and changing the .spec, you might want to fix that as well. Thank you, Jan

Comment 6 Fedora Update System 2012-01-05 19:06:03 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 7 Fedora Update System 2012-01-07 22:55:44 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 8 Fedora Update System 2012-01-11 06:02:41 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 9 Petr Pisar 2012-02-10 12:12:07 UTC
*** Bug 771800 has been marked as a duplicate of this bug. ***

Comment 10 Petr Pisar 2012-02-10 12:13:29 UTC
This problem presents in F15 (mod_perl-devel-2.0.5-1.fc15.x86_64) too. See duplicate #bug 771800.

Comment 11 Fedora End Of Life 2012-08-07 19:53:21 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 12 Jan Pazdziora (Red Hat) 2012-08-08 09:13:41 UTC
Flipping resolution to ERRATA as it was fixed in Fedora 16 and is fixed in Fedora 17.


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