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.
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(+)