Hi! Both nghttp2 and nghttp3 can be built with autotools rather than CMake because CMake itself depends on those. Now that net-misc/curl defaults to +http2 +http3, this shows up as a circular dependency more often: (net-misc/curl-8.11.1-r2:0/0::gentoo, ebuild scheduled for merge) depends on (net-libs/nghttp3-1.7.0:0/0::gentoo, ebuild scheduled for merge) (buildtime) (dev-build/cmake-3.31.5:0/0::gentoo, ebuild scheduled for merge) (buildtime) (net-misc/curl-8.11.1-r2:0/0::gentoo, ebuild scheduled for merge) (buildtime) voyageur has already ACKed me switching nghttp2 back to autotools, just filing this for completeness.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7716d6ed1fbff2e7c27618aa2f7d24bc748f7d1 commit a7716d6ed1fbff2e7c27618aa2f7d24bc748f7d1 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-17 23:56:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-18 00:27:39 +0000 net-libs/nghttp2: switch back to autotools, rather than cmake Naive first pass based on the live ebuild from 3a38f9b245e674722d5d58dfbb6baafca2b26975 (live ebuild was done in subsequent commit). We need to use autotools rather than CMake here because of a circular dependency (ditto nghttp2): ``` (net-misc/curl-8.11.1-r2:0/0::gentoo, ebuild scheduled for merge) depends on (net-libs/nghttp3-1.7.0:0/0::gentoo, ebuild scheduled for merge) (buildtime) (dev-build/cmake-3.31.5:0/0::gentoo, ebuild scheduled for merge) (buildtime) (net-misc/curl-8.11.1-r2:0/0::gentoo, ebuild scheduled for merge) (buildtime) ``` I've taken the opportunity to add a live ebuild template to allow easier syncing. I'm going to make some followup changes to deps to clean them up a bit (I think, needs checking) but I want to do that separately as I want to stabilise this version quickly. Bug: https://bugs.gentoo.org/899568 Closes: https://bugs.gentoo.org/951525 Signed-off-by: Sam James <sam@gentoo.org> net-libs/nghttp2/nghttp2-1.65.0-r1.ebuild | 68 +++++++++++++++++++++++++++++ net-libs/nghttp2/nghttp2-9999.ebuild | 71 +++++++++++++++++-------------- 2 files changed, 108 insertions(+), 31 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=365690cfb496e95ed743c7569f53120ba52132aa commit 365690cfb496e95ed743c7569f53120ba52132aa Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-18 00:30:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-18 00:30:21 +0000 net-libs/nghttp2: add comment wrt circular dep Bug: https://bugs.gentoo.org/951525 Signed-off-by: Sam James <sam@gentoo.org> net-libs/nghttp2/nghttp2-1.65.0-r1.ebuild | 2 ++ net-libs/nghttp2/nghttp2-9999.ebuild | 2 ++ 2 files changed, 4 insertions(+)