Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762424 - gnome-base/gsettings-desktop-schemas-3.38.0 fails to compile with dev-lang/python-exec[-native-symlinks]
Summary: gnome-base/gsettings-desktop-schemas-3.38.0 fails to compile with dev-lang/py...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 762406
  Show dependency tree
 
Reported: 2020-12-29 12:22 UTC by Agostino Sarubbo
Modified: 2021-04-17 20:10 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,44.42 KB, text/plain)
2020-12-29 12:22 UTC, Agostino Sarubbo
Details
gnome-base-gsettings-desktop-schemas.patch (28d2321e0389f183cdab201caa6a2116c2b1554a.patch,1.59 KB, patch)
2021-04-17 10:17 UTC, Sergei Trofimovich (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-12-29 12:22:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: gnome-base/gsettings-desktop-schemas-3.38.0 fails to compile with dev-lang/python-exec[-native-symlinks].
Discovered on: amd64 (internal ref: tinderbox)
Comment 1 Agostino Sarubbo gentoo-dev 2020-12-29 12:22:36 UTC
Created attachment 680191 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-12-29 12:22:38 UTC
Possible context of error(s):

/usr/bin/env: ‘python3’: No such file or directory
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2021-04-17 10:02:27 UTC
raw python3 call comes from custom install script:

"""
Running custom install script '/tmp/portage/gnome-base/gsettings-desktop-schemas-40.0/work/gsettings-desktop-schemas-40.0/build-aux/meson/post-install.py /usr/share'
/usr/bin/env: ‘python3’: No such file or directory
FAILED: install script '/tmp/portage/gnome-base/gsettings-desktop-schemas-40.0/work/gsettings-desktop-schemas-40.0/build-aux/meson/post-install.py /usr/share' exit code 127, stopped
FAILED: meson-install
/usr/lib/python-exec/python3.9/meson install --no-rebuild
ninja: build stopped: subcommand failed.
"""

"""
$ cat /tmp/portage/gnome-base/gsettings-desktop-schemas-40.0/work/gsettings-esktop-schemas-40.0/build-aux/meson/post-install.py
#!/usr/bin/env python3

import os
import subprocess
import sys
...
"""
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2021-04-17 10:17:03 UTC
Created attachment 700371 [details, diff]
gnome-base-gsettings-desktop-schemas.patch
Comment 5 Larry the Git Cow gentoo-dev 2021-04-17 20:10:08 UTC
The bug has been closed via the following commit(s):

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

commit f8bdce4c2ac784689c0084a02f77e5a1b50386bf
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-04-17 10:11:56 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-04-17 20:10:05 +0000

    gnome-base/gsettings-desktop-schemas: use ${EPYTHON}, not python3
    
    Reported-by: Agostino Sarubbo
    Closes: https://bugs.gentoo.org/762424
    Closes: https://github.com/gentoo/gentoo/pull/20419
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 .../gsettings-desktop-schemas-40.0.ebuild                     | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)