The installation of sys-libs/libcap-2.60 is failing for me during Gentoo Prefix bootstrap (tested on ppc64le and aarch64) because diff is used by the Makefile, but not declared as a build dependency: diff -u capshdoc.c capshdoc.c.cf || (rm capshdoc.c.cf ; exit 1) /bin/sh: diff: command not found make[1]: *** [Makefile:50: capshdoc.c.cf] Error 1 make[1]: Leaving directory '/cvmfs/pilot.eessi-hpc.org/2021.12/compat/linux/ppc64le/var/tmp/portage/sys-libs/libcap-2.60-r1/work/libcap-2.60-.ppc64/progs' make: *** [Makefile:14: all] Error 2 * ERROR: sys-libs/libcap-2.60-r1::gentoo failed (compile phase): * emake failed Reproducible: Always
Thank you!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5180661038ebf872dc5d4bd5ab9714f305e6102 commit b5180661038ebf872dc5d4bd5ab9714f305e6102 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-11-20 23:29:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-20 23:30:32 +0000 sys-libs/libcap: add diffutils BDEPEND While patch is required by PMS, diff(utils) is not, so let's BDEPEND on it explicitly. Closes: https://bugs.gentoo.org/825374 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/libcap/libcap-2.60-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)