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

Bug 933072

Summary: gnome-extra/gnome-browser-connector-42.1 fails to compile with dev-lang/python-exec[-native-symlinks]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: nE0sIghT <ykonotopov>
Status: RESOLVED FIXED    
Severity: normal CC: alessandro.rosetti, mgorny, proxy-maint, ykonotopov
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gitlab.gnome.org/GNOME/gnome-browser-connector/-/merge_requests/10
https://github.com/gentoo/gentoo/pull/36876
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 762406    
Attachments: build.log
1-meson-log.txt

Description Agostino Sarubbo gentoo-dev 2024-05-28 14:16:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: gnome-extra/gnome-browser-connector-42.1 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-05-28 14:16:06 UTC
CC'ing also the author of the commit (c66c261ce8f5e978c2293a4ced9117ede94fc838)
Comment 2 Agostino Sarubbo gentoo-dev 2024-05-28 14:16:07 UTC
Created attachment 894559 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2024-05-28 14:16:08 UTC
Created attachment 894560 [details]
1-meson-log.txt

1-meson-log.txt
Comment 4 Agostino Sarubbo gentoo-dev 2024-05-28 14:16:09 UTC
Error(s) that match a know pattern:


meson.build:47:0: ERROR: Could not execute command `/var/tmp/portage/gnome-extra/gnome-browser-connector-42.1/work/gnome-browser-connector-42.1/contrib/merge_json.py --output /var/tmp/portage/gnome-extra/gnome-browser-connector-42.1/work/gnome-browser-connector-42.1-build/org.gnome.chrome_gnome_shell.json /var/tmp/portage/gnome-extra/gnome-browser-connector-42.1/work/gnome-browser-connector-42.1-build/org.gnome.browser_connector.json /var/tmp/portage/gnome-extra/gnome-browser-connector-42.1/work/gnome-browser-connector-42.1/contrib/org.gnome.chrome_gnome_shell.json`.
Comment 5 nE0sIghT 2024-05-28 15:03:00 UTC
From https://bugs.gentoo.org/762406 it is:

> 2. If packages call 'python' or 'python3' at build time without using one of the Python eclasses.  In this case, the fix is to inherit an appropriate eclass (python-any-r1 most likely).
Comment 6 nE0sIghT 2024-05-28 15:03:48 UTC
My previous comment is wrong, just forgot to clear comment window
Comment 7 Larry the Git Cow gentoo-dev 2024-07-04 17:11:49 UTC
The bug has been closed via the following commit(s):

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

commit 04b192a7dbb81ef2709986c9c0ae4ff871577550
Author:     Yuri Konotopov <ykonotopov@gnome.org>
AuthorDate: 2024-05-28 15:44:43 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-07-04 17:11:23 +0000

    gnome-extra/gnome-browser-connector: use discovered python during build stage
    
    Closes: https://bugs.gentoo.org/933072
    Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../gnome-browser-connector-42.1-python-path.patch | 109 +++++++++++++++++++++
 .../gnome-browser-connector-42.1-r1.ebuild         |  51 ++++++++++
 2 files changed, 160 insertions(+)