Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687384 - >=www-servers/apache-2.4 missing dependency for APACHE2_MODULES=proxy_http2
Summary: >=www-servers/apache-2.4 missing dependency for APACHE2_MODULES=proxy_http2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-04 18:57 UTC by Vincent Huisman
Modified: 2019-08-13 15:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Huisman 2019-06-04 18:57:11 UTC
This is with APACHE2_MODULES="-http2 proxy_http2" for =www-servers/apache-2.4.39:

...
checking whether to enable mod_http2... no
checking whether to enable mod_proxy_http2... checking dependencies
checking for nghttp2... checking for user-provided nghttp2 base directory... none
checking for pkg-config along /usr/lib64/pkgconfig... checking for nghttp2 version >= 1.2.1... FAILED
configure: WARNING: nghttp2 version is too old
no
checking whether to enable mod_proxy_http2... configure: error: mod_proxy_http2 has been requested but can not be built due to prerequisite failures

The ebuild only has this dependency:
  apache2_modules_http2? ( >=net-libs/nghttp2-1.2.1 )
but nothing for apache2_modules_proxy_http2. I'm not sure if proxy_http2 even makes sense without http2, but there is no check for that. When I add http2 to my APACHE2_MODULES, emerge complains about prefork being enabled, so that leads me to believe that the same might apply to proxy_http2 which means that that check is missing as well.

In any case, I decided I don't really need proxy_http2, so I disabled it.
Comment 1 Larry the Git Cow gentoo-dev 2019-08-13 15:14:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46c8b0654487e90b1334805c8b75d5d75ee6ef8e

commit 46c8b0654487e90b1334805c8b75d5d75ee6ef8e
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-08-13 14:27:36 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-08-13 15:14:24 +0000

    www-servers/apache: fix dependencies for mod_proxy_http2
    
    Closes: https://bugs.gentoo.org/687384
    Package-Manager: Portage-2.3.71, Repoman-2.3.17
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-servers/apache/apache-2.4.41.ebuild | 2 ++
 1 file changed, 2 insertions(+)