mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
a3827a78e7
```
* Checking whether python3_14 is suitable ...
* dev-lang/python:3.14 ... [ ok ]
* Using python3.14 to build (via PYTHON_COMPAT iteration)
[...]
meson.build:485: WARNING: Skipping integration test due to missing dependencies: No module named 'gi'
meson.build:485:2: ERROR: Fatal warnings enabled, aborting
```
By *default*, tests being skipped are merely a warning nobody notices,
resulting in 37 of 54 tests not being registered. This happened because:
- gen_any_dep takes a single arg, not many, that single arg is a
dependency block
- if we use gen_any_deps, we also need to check if we have them, so even
having them for PYTHON_COMPAT breaks if we *also* have python 3.14
installed
- python is only added as a dependency inside `test? ( ...)` so we
should never have unconditionally done pkg_setup?
The original bug report was likely caused by USE="-native-symlinks", so
the test lister script did not even execve() successfully, hence why
meson errored out at all. Usually it would successfully execve() so it
exiting with failure is handled by meson.build as automagic.
Fixes: 5ca8c25a6a
Bug: https://bugs.gentoo.org/932003
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>