Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699540 - sys-devel/gettext-0.20.1: missing conditional BDEPEND on git
Summary: sys-devel/gettext-0.20.1: missing conditional BDEPEND on git
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-07 16:17 UTC by David Michael
Modified: 2019-11-07 17:05 UTC (History)
0 users

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 David Michael 2019-11-07 16:17:06 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2019-11-07 17:05:31 UTC
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(+)