USE=threads should always be enabled for git. Per https://git.github.io/rev_news/2021/06/27/edition-76/, the USE=-threads (no-pthreads) path is taken only for e.g. NonStop systems and is not well tested on Linux. It should be safe to unconditionally enable.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b1b3f9754a40861862473b9f1a689b9ecf86a75 commit 0b1b3f9754a40861862473b9f1a689b9ecf86a75 Author: Holger Hoffstätte <holger@applied-asynchrony.com> AuthorDate: 2022-09-11 16:00:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-16 23:25:27 +0000 dev-vcs/git: remove USE=threads and always-enable support Upstream enables pthreads by default, so enable it unconditionally. Closes: https://bugs.gentoo.org/868339 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/27210 Signed-off-by: Sam James <sam@gentoo.org> dev-vcs/git/git-2.37.3.ebuild | 3 +-- dev-vcs/git/git-9999-r1.ebuild | 3 +-- dev-vcs/git/git-9999-r2.ebuild | 3 +-- dev-vcs/git/git-9999-r3.ebuild | 3 +-- dev-vcs/git/git-9999.ebuild | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b53bc9e194fec2e825006be14a113c5b28452ad1 commit b53bc9e194fec2e825006be14a113c5b28452ad1 Author: Yuan Liao <liaoyuan@gmail.com> AuthorDate: 2022-12-05 18:16:27 +0000 Commit: Yuan Liao <liaoyuan@gmail.com> CommitDate: 2022-12-05 18:16:27 +0000 www-apps/gogs: Fix dev-vcs/git[threads] dependency resolution USE="threads" has been removed since dev-vcs/git-2.37.3 because it has effectively become always-enabled. Bug: https://bugs.gentoo.org/868339 Signed-off-by: Yuan Liao <liaoyuan@gmail.com> www-apps/gogs/gogs-0.12.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)