Currently available apparmor 3.1.4 has issues with aa-genprof with python 3.12 at least. There's also 3.1.7 maintenance release available (that might be preferred to 4.0 in the short term due to breaking changes introduced with 4.0).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=250018c715529602240c364509a260f74b97e931 commit 250018c715529602240c364509a260f74b97e931 Author: Martin Mokry <martin-kokos@protonmail.com> AuthorDate: 2025-03-29 17:21:59 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-24 15:32:18 +0000 sys-apps/apparmor: add 4.0.3 Bump to 4.* to include python3.13 compatibility fixes Closes: https://bugs.gentoo.org/951169 Signed-off-by: Martin Mokry <martin-kokos@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41373 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/apparmor/Manifest | 1 + sys-apps/apparmor/apparmor-4.0.3.ebuild | 98 +++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+)