Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765397 - dev-util/perf-5.9.9 fails to compile with dev-lang/python-exec[-native-symlinks]
Summary: dev-util/perf-5.9.9 fails to compile with dev-lang/python-exec[-native-symlinks]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Naohiro Aota
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 762406
  Show dependency tree
 
Reported: 2021-01-14 09:42 UTC by Agostino Sarubbo
Modified: 2021-05-01 08:07 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,41.52 KB, text/plain)
2021-01-14 09:42 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-01-14 09:42:36 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2021-01-14 09:42:39 UTC
Created attachment 682831 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-01-14 09:42:42 UTC
Possible context of error(s):

/usr/bin/env: ‘python3’: No such file or directory
Comment 3 Larry the Git Cow gentoo-dev 2021-04-24 08:07:47 UTC
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(-)
Comment 4 Larry the Git Cow gentoo-dev 2021-05-01 08:07:18 UTC
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(-)