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.
I tried the latest release dev-libs/gom-0.5.1 and it at least compiles and installs with dev-lang/python-3.12.3-r1
Installing dev-libs/gom-0.5.1 in the place of 0.4.0 seems to work well enough. Compilation succeeds and the package installs successfully.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78d3d740db64e2eaf7633636a08ad424f7e20ee7 commit 78d3d740db64e2eaf7633636a08ad424f7e20ee7 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2024-06-16 10:51:31 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2024-06-16 10:57:09 +0000 dev-libs/gom: enable py3.12 Closes: https://bugs.gentoo.org/929410 Signed-off-by: Pacho Ramos <pacho@gentoo.org> dev-libs/gom/gom-0.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)