https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-util/rizin-0.2.0 fails to compile with dev-lang/python-exec[-native-symlinks]. Discovered on: amd64 (internal ref: ci) NOTE: Please take a look at the tracker bug for more info.
Created attachment 698766 [details] build.log build log and emerge --info
Build fails as: """ |Executing subproject sdb method meson | |Project name: sdb |Project version: undefined |C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 10.3.0 "x86_64-pc-linux-gnu-gcc (Gentoo 10.3.0 p1) 10.3.0") |C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.35.2 |Program python found: NO subprojects/sdb/meson.build:4:0: ERROR: python3 not found """
Our place of python3 use is probably a: subprojects/sdb/meson.build:py3_exe = import('python').find_installation('python3') On top of that there are a few more: librz/core/cmd_descs/cmd_descs_generate.py:#!/usr/bin/env python3 subprojects/lz4-1.9.3/contrib/meson/meson/GetLz4LibraryVersion.py:#!/usr/bin/env python3 subprojects/lz4-1.9.3/contrib/meson/meson/InstallSymlink.py:#!/usr/bin/env python3 subprojects/lz4-1.9.3/tests/Makefile:PYTHON ?= python3 subprojects/lz4-1.9.3/tests/test-lz4-list.py:#! /usr/bin/env python3 subprojects/lz4-1.9.3/tests/test-lz4-speed.py:#! /usr/bin/env python3 subprojects/lz4-1.9.3/tests/test-lz4-versions.py:#!/usr/bin/env python3 sys/clang-format.py:#!/usr/bin/env python3 test/db/cmd/cmd_pipe:#!pipe python3 scripts/get-funcs.py test/fuzz/scripts/fuzz_rz_asm.py:#!/usr/bin/env python3 test/scripts/gdbserver.py:#!/usr/bin/env python3
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e64c97da5d53b1205efeba729fc9bd10546f25e8 commit e64c97da5d53b1205efeba729fc9bd10546f25e8 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-04-09 09:44:30 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-04-09 09:52:45 +0000 dev-util/rizin: use ${EPYTHON} instead of python3 Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/781701 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-util/rizin/rizin-0.2.0-r1.ebuild | 84 ++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+)
Should be fixed in 0.2.1 version: - https://github.com/rizinorg/sdb/pull/28 - https://github.com/rizinorg/rizin/pull/1016 https://github.com/rizinorg/rizin/releases/tag/v0.2.1