Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933072 - gnome-extra/gnome-browser-connector-42.1 fails to compile with dev-lang/python-exec[-native-symlinks]
Summary: gnome-extra/gnome-browser-connector-42.1 fails to compile with dev-lang/pytho...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: nE0sIghT
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 762406
  Show dependency tree
 
Reported: 2024-05-28 14:16 UTC by Agostino Sarubbo
Modified: 2024-07-04 17:11 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,126.97 KB, text/plain)
2024-05-28 14:16 UTC, Agostino Sarubbo
Details
1-meson-log.txt (1-meson-log.txt,2.79 KB, text/plain)
2024-05-28 14:16 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 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(+)