Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 781701 - dev-util/rizin-0.2.0 fails to compile with dev-lang/python-exec[-native-symlinks]
Summary: dev-util/rizin-0.2.0 fails to compile with dev-lang/python-exec[-native-symli...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: John Helmert III
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 762406
  Show dependency tree
 
Reported: 2021-04-09 06:46 UTC by Agostino Sarubbo
Modified: 2021-04-22 07:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,10.92 KB, text/plain)
2021-04-09 06:46 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-04-09 06:46:30 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-09 06:46:33 UTC
Created attachment 698766 [details]
build.log

build log and emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2021-04-09 08:31:52 UTC
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
"""
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2021-04-09 08:34:16 UTC
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
Comment 4 Larry the Git Cow gentoo-dev 2021-04-09 09:52:48 UTC
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(+)