https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-util/perf-5.9.9 fails to compile with dev-lang/python-exec[-native-symlinks]. Discovered on: amd64 (internal ref: tinderbox) NOTE: Please take a look at the tracker bug for more info.
Created attachment 682831 [details] build.log build log and emerge --info
Possible context of error(s): /usr/bin/env: ‘python3’: No such file or directory
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fc204c353e4abe8bb90aa5d59790e3af4586bbf commit 1fc204c353e4abe8bb90aa5d59790e3af4586bbf Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-04-24 08:06:17 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-04-24 08:07:42 +0000 dev-util/perf: unconditionally require build-time python libbpf generates it's API headers using python script. As ebuild enabled libbpf inconditionally we need python at build time unconditionally as well. Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/765397 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-util/perf/perf-5.11.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0449b9f5493299e97f4a7556e21767a16a79abf3 commit 0449b9f5493299e97f4a7556e21767a16a79abf3 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-05-01 08:06:36 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-05-01 08:06:36 +0000 dev-util/perf: unconditionally apply PYTHON_REQUIRED_USE Bug #765397 declared unconditional use of python at build time. REQUIRED_USE needs to enforce that. Otherwise users could provide incompatible python_* USEs and get late build failures. Reported-by: Daniel M. Weeks Bug: https://bugs.gentoo.org/765397 Closes: https://bugs.gentoo.org/787242 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-util/perf/perf-5.11.ebuild | 2 +- dev-util/perf/perf-5.12.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)