Bug 2030601 - mod_perl in EPEL9
Summary: mod_perl in EPEL9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: mod_perl
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andrew Bauer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2049744 (view as bug list)
Depends On:
Blocks: 2031751 2031812
TreeView+ depends on / blocked
 
Reported: 2021-12-09 09:15 UTC by jakub.jedelsky
Modified: 2022-03-03 17:04 UTC (History)
5 users (show)

Fixed In Version: mod_perl-2.0.12-3.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-03 17:04:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description jakub.jedelsky 2021-12-09 09:15:10 UTC
Hello, I'd like to ask for a build of mod_perl in EPEL9 as our application is depending on it and we'd like to move to Centos 9 rather sooner than later.

There were some issues with EPEL8 already, but fixed in the end, so i hope it'll work in epel9 as well.

Thank you!

Comment 1 Petr Pisar 2021-12-16 14:06:28 UTC
I don't feel confident in supporting mod_perl in EPEL9. If you need that package there, I can give you permissions and you can maintain it there yourself. What's your FAS username?

Comment 2 Petr Pisar 2022-01-07 08:23:49 UTC
As I wrote, I'm not going to maintain mod_perl in EPEL 9. If there is anybody will to do that, I can give him the permission, or better transfer ownership of the whole package, including Fedora. The new maintainer should know that self test do not pass with a threaded implementation of httpd worker model which is the default one in Fedora and EPEL 9 (and 8?).

Comment 3 Emmanuel Seyman 2022-02-02 18:11:35 UTC
*** Bug 2049744 has been marked as a duplicate of this bug. ***

Comment 4 Andrew Bauer 2022-02-02 20:29:42 UTC
I'll take the entire project. My FAS account is kni.

It looks like the failed test occurs only on EPEL 9 x86_64 architecture:
https://copr.fedorainfracloud.org/coprs/kni/mod_perl-for-epel/build/3291634/

EPEL 8 is fine.

2.0.11 builds fine in EPEL 9. As a stop gap, I may build 2.0.11 then deal with the 2.0.12 build failure later.
https://copr.fedorainfracloud.org/coprs/kni/mod_perl-for-epel/build/3291663/



Do you have any comment on the status of the 6 open bugs, dating back to 2017? Have any been fixed? Are those worth looking into?

Comment 5 Petr Pisar 2022-02-03 08:14:54 UTC
(In reply to Andrew Bauer from comment #4)
> I'll take the entire project. My FAS account is kni.
> 
Great to hear there is somebody willing to maintain mod_perl. Do you want only EPEL, or also Fedora?

> It looks like the failed test occurs only on EPEL 9 x86_64 architecture:
> https://copr.fedorainfracloud.org/coprs/kni/mod_perl-for-epel/build/3291634/
> 
The failures are not specific to architecture. They are simply random. I believe that are triggered a race between spawing threaded by httpd and forks (?) in tests of mod_perl. I have no clue whether it's a bug in tests, in mod_perl code, or an inherent issue in forking from a multithreaded process (pthread_atfork(3)).

> EPEL 8 is fine.
> 
It isn't. It suffers from the same problem. Fedora too.

> 2.0.11 builds fine in EPEL 9. As a stop gap, I may build 2.0.11 then deal
> with the 2.0.12 build failure later.
> https://copr.fedorainfracloud.org/coprs/kni/mod_perl-for-epel/build/3291663/
> 
There is (almost) no difference in code between 2.0.11 and 2.0.12. 2.0.12 only incorporated patches which Fedora's 2.0.11 had already used before.

> Do you have any comment on the status of the 6 open bugs, dating back to
> 2017? Have any been fixed? Are those worth looking into?

Those are yet another random crashes without any reproducer. Very difficult to locate and fix.

Comment 6 Petr Pisar 2022-02-04 12:11:39 UTC
Now I can see you wrote "the entire project". I gave you this package in Fedora and in EPEL. I whish you good luck with this package.

Comment 7 Andrew Bauer 2022-02-04 13:36:27 UTC
Yes, yes I did. I may regret it.

I spent the day yesterday reading mod_perl bug reports, which grew to searching bug reports from other popular distros. Poaching patches and other relevant info from other distros has worked for me in the past.

Essentially same_interp_req_body() returns nothing sometimes, which lead me right to your bug on CPAN...from 2 years ago. Ugh.

If I can get the package to build just once, I may just run with it until new information arrives, in the form of a response from the author or additional bug reports from others.

Not building it will just block other packages important to me and others. I want to avoid that.

Comment 8 Petr Pisar 2022-02-04 14:29:33 UTC
My approach for building mod_perl was keep the tests in %check phase of a spec file enabled, and simply resubmit failed builds in Koji until they pass. 0--4 resubmits usually are enough. The spec file also removes few tests which especially often fail. Based on this experience I started deprecation of mod_perl in Fedora and rejecting addition to new EPELs.

I think that the future is fixing httpd to set PATH_INFO variable correctly (bug #1651746). Then PSGI applications would work with Apache httpd + mod_fcgid (or mod_psgi) out of the box. The other ones can resort to good old CGI.

Comment 9 Fedora Update System 2022-02-23 14:11:42 UTC
FEDORA-EPEL-2022-7128d5a274 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-7128d5a274

Comment 10 Fedora Update System 2022-02-23 16:49:48 UTC
FEDORA-EPEL-2022-7128d5a274 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-7128d5a274

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2022-03-03 17:04:05 UTC
FEDORA-EPEL-2022-7128d5a274 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.


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