This package does not support Python 3.12. Please test it with Python 3.12 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg99104.html. Please check the information provided in the tracker. Ask in #gentoo-python on IRC if need any help.
Ebuild has `REQUIRED_USE="${PYTHON_REQUIRED_USE}"` but also `IUSE=+python`. If possible it would be nice to change this to `REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"` and not enable the python flag by default so the lack of python3_12 compat is less of a nuisance in this package.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bad1b4a5c6f7c49eadfa82a6f091ae6e20f506a commit 1bad1b4a5c6f7c49eadfa82a6f091ae6e20f506a Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2024-06-01 18:48:29 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2024-06-01 18:50:57 +0000 sys-libs/libapparmor: various python fixes - respect python_targets in configure - fix configure with -native-symlinks (Bug 764779) - enable python3_12 (Bug 929853) - make REQUIRED_USE conditional to python flag Closes: https://bugs.gentoo.org/929853 Closes: https://bugs.gentoo.org/764779 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> sys-libs/libapparmor/libapparmor-3.1.4-r2.ebuild | 135 +++++++++++++++++++++++ 1 file changed, 135 insertions(+)