Summary: | www-servers/apache-2.4.33 : * http2 does not work with prefork MPM. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Apache Team - Bugzilla Reports <apache-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | hydrapolic |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
die.env emerge-history.txt etc.portage.tbz2 logs.tbz2 www-servers:apache-2.4.33:20180325-122523.log |
Description
Toralf Förster
![]() Created attachment 525398 [details]
emerge-info.txt
Created attachment 525400 [details]
die.env
Created attachment 525402 [details]
emerge-history.txt
Created attachment 525404 [details]
etc.portage.tbz2
Created attachment 525406 [details]
logs.tbz2
Created attachment 525408 [details]
www-servers:apache-2.4.33:20180325-122523.log
/me wonders if this could be catched by emerge by appropriate USE flags ? This was introduced in Apache 2.4.27 (http://www.apache.org/dist/httpd/CHANGES_2.4): *) COMPATIBILITY: mod_http2: Disable and give warning when using Prefork. The server will continue to run, but HTTP/2 will no longer be negotiated. [Stefan Eissing] any progress on this one? (In reply to Oleg from comment #9) > any progress on this one? Please read comment #8. It's an upstream issue. that's correct. known upstream issue, however it is allowed to set APACHE2_MODULES="http2" APACHE_MPMS="prefork" and emerge apache just fine. It dies then, because its set to die due to this combination. It's very awkward and against user's experience. User shouldn't be allowed to configure their ebuilds to die. That's very simple logic. setting ?? ( apache2_modules_http2 apache2_mpms_prefork ) in REQUIRED_USE can be sufficient for users to see those two USE's are not possible to enable simultaneously at the moment. https://github.com/gentoo/gentoo/blob/master/eclass/apache-2.eclass#L124 if [[ "$(ver_cut 1-2)" != 2.2 ]] ; then REQUIRED_USE+=" apache2_mpms_prefork? ( !apache2_modules_http2 )" fi After setting: APACHE2_MODULES="... http2" APACHE2_MPMS="prefork" This error is printed: # emerge apache !!! Problem resolving dependencies for www-servers/apache ... done! ... The following REQUIRED_USE flag constraints are unsatisfied: apache2_mpms_prefork? ( !apache2_modules_http2 ) ... However, if you don't set APACHE2_MPMS, then nothing is printed. |