The build fails unless Git is installed on the host with USE=git. Reproducible: Always Steps to Reproduce: 1. emerge --rage-clean dev-vcs/git 2. USE=git emerge sys-devel/gettext # with a sysroot configuration so DEPEND doesn't install Git on the host again Actual Results: Making all in misc make[4]: Entering directory '/var/tmp/portage/sys-devel/gettext-0.20.1/work/gettext-0.20.1-abi_x86_32.x86/gettext-tools/misc' if test -f archive.dir.tar; then \ inputfile=archive.dir.tar; \ else \ inputfile='/var/tmp/portage/sys-devel/gettext-0.20.1/work/gettext-0.20.1/gettext-tools/misc'/archive.dir.tar; \ fi; \ ./convert-archive dir git "$inputfile" archive.git.tar.gz ./convert-archive: line 332: git: command not found ./convert-archive: line 333: git: command not found ./convert-archive: line 334: git: command not found ./convert-archive: line 336: git: command not found ./convert-archive: line 337: git: command not found ./convert-archive: line 339: git: command not found convert-archive: *** git init failed convert-archive: *** Stop. make[4]: *** [Makefile:2260: archive.git.tar.gz] Error 1 Expected Results: The package should build and install successfully. Without USE=git, it uses the XZ-compressed archive, not the CVS archive, so CVS does not seem to be needed in BDEPEND. The same failure happens with version 0.19, but I'm only reporting it against 0.20 since that has EAPI=7.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3737e253194415106035a6fee376e58ada369cbc commit 3737e253194415106035a6fee376e58ada369cbc Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-11-07 17:02:01 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-11-07 17:05:16 +0000 sys-devel/gettext: Added dev-vcs/git to BDEPEND Thanks-to: David Michael <fedora.dm0@gmail.com> Closes: https://bugs.gentoo.org/699540 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-devel/gettext/gettext-0.20.1.ebuild | 3 +++ 1 file changed, 3 insertions(+)