Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 938582

Summary: app-i18n/opencc-1.1.7-r1 fails to compile with dev-lang/python-exec[-native-symlinks]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: CJK Team <cjk>
Status: RESOLVED FIXED    
Severity: normal CC: blackteahamburger, dlan
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/40413
https://bugs.gentoo.org/show_bug.cgi?id=955417
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 762406    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-08-28 06:38:29 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-i18n/opencc-1.1.7-r1 fails to compile with dev-lang/python-exec[-native-symlinks].
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0035
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-28 06:38:30 UTC
CC'ing also the author of the commit (bd95d15e5a523b74cdc900b1ef66d1559b601fea)
Comment 2 Agostino Sarubbo gentoo-dev 2024-08-28 06:38:32 UTC
Created attachment 901402 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2024-08-28 06:38:34 UTC
Error(s) that match a know pattern:


  Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
Comment 4 Blacktea Hamburger 2024-08-28 10:17:04 UTC
This is caused by python-any-r1_pkg_setup not called with -python, however, it cannot be called because python-any-r1.eclass cannot be inherited along with python-single-r1.eclass (inherited by distutils-r1, which is required by python use flag), and conditional inherit is illegal.
Comment 5 Blacktea Hamburger 2024-09-16 11:30:10 UTC
We should have to allow inheriting python-any-r1.eclass and python-single-r1.eclass at the same time (at least with some settings) to fix this.
Comment 6 Blacktea Hamburger 2025-02-02 15:45:39 UTC
Maybe we can just assume it's always a python package.
Comment 7 Larry the Git Cow gentoo-dev 2025-02-08 01:15:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a06e43e7bdc2ffef551e5976b3484b325b5623ba

commit a06e43e7bdc2ffef551e5976b3484b325b5623ba
Author:     blackteahamburger <blackteahamburger@outlook.com>
AuthorDate: 2025-02-02 15:33:06 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2025-02-08 01:14:32 +0000

    app-i18n/opencc: call python-single-r1_pkg_setup regardless of python use flag
    
    Closes: https://bugs.gentoo.org/938582
    Signed-off-by: blackteahamburger <blackteahamburger@outlook.com>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 app-i18n/opencc/{opencc-1.1.7-r1.ebuild => opencc-1.1.7-r2.ebuild} | 4 ----
 1 file changed, 4 deletions(-)