Code: Select all
[26/1170] /usr/lib/python-exec/python3.13/meson --internal exe --capture profile_conf.h -- /store/tmp/portage/gui-libs/gtk-4.18.6-r1/work/gtk-4.18.6/build-aux/meson/gen-profile-conf.py /store/tmp/portage/gui-libs/gtk-4.18.6-r1/work/gtk-4.18.6 default
FAILED: [code=1] profile_conf.h
/usr/lib/python-exec/python3.13/meson --internal exe --capture profile_conf.h -- /store/tmp/portage/gui-libs/gtk-4.18.6-r1/work/gtk-4.18.6/build-aux/meson/gen-profile-conf.py /store/tmp/portage/gui-libs/gtk-4.18.6-r1/work/gtk-4.18.6 default
--- stderr ---
Traceback (most recent call last):
File "/store/tmp/portage/gui-libs/gtk-4.18.6-r1/work/gtk-4.18.6/build-aux/meson/gen-profile-conf.py", line 19, in <module>
with subprocess.Popen(cmd, stdout=subprocess.PIPE) as p:
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 1039, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 1972, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: 'git'
ninja: build stopped: subcommand failed.
* ERROR: gui-libs/gtk-4.18.6-r1::gentoo failed (compile phase):
Resolved: turns out I had an old package dependency of old software that added a path that was security guarded (games) and now incompatible with how meson makes assumptions on what's installed or not. Removing the old software fixed the issue, which of course isn't exactly the "right" solution but it works around the problem. Giving user 'portage' rights to run games would have been the other workaround but that package really should have been depcleaned along with software that depended on it... IMHO having meson NOT fail with an even stupider obscure error message would have been the correct solution, but that's probably an upstream issue.



