https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-apps/keyutils-1.6.3 calls commands that do not exist. Discovered on: amd64 (internal ref: ci)
Created attachment 678730 [details] build.log build log and emerge --info
Hi, I also reproduced this. The failure is due to upgrading bash from 4.4 to >= 5.0. The newer bash version issues a "/bin/sh: line 1: rpmspec: command not found" during each Makefile parsing phase in the ebuild build/install functions. portage _check_build_log function scans the build log and picks up that new command not found error and fails the build with a QA message. It is worth noting rpmspec never existed. The difference is that bash prior to 5.0 was silent and now is verbose. Any ideas how to fix?
Created attachment 761237 [details, diff] rpmspec fix
I have attached a patch which I proposed on the upstream mailing list to fix the issue.
(In reply to adi from comment #4) > I have attached a patch which I proposed on the upstream mailing list to fix > the issue. Sorry, I'd missed this.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58a5861e534bf5ae62c70b66989629365a3e39bb commit 58a5861e534bf5ae62c70b66989629365a3e39bb Author: Sam James <sam@gentoo.org> AuthorDate: 2022-04-29 04:19:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-04-29 04:19:09 +0000 sys-apps/keyutils: fix "command not found" error for rpmspec Closes: https://bugs.gentoo.org/760633 Thanks-to: Adrian Ratiu <adrian.ratiu@collabora.com> Signed-off-by: Sam James <sam@gentoo.org> .../files/keyutils-1.6.3-fix-rpmspec-check.patch | 38 ++++++++++++++++++++++ sys-apps/keyutils/keyutils-1.6.3.ebuild | 1 + 2 files changed, 39 insertions(+)