Created attachment 782600 [details] emerge --info Building for the python3_11 target fails with the following: /usr/include/python3.11/pyport.h:47:24: error: invalid ‘static_cast’ from type ‘int’ to type ‘_object*’ 47 | return static_cast<type>(const_cast<expr_type &>(expr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: command '/usr/bin/x86_64-pc-linux-gnu-gcc' failed with exit code 1 Candidate patch available here: https://github.com/nucleic/kiwi/commit/f14059f532d6b5c6b505d9803b36a77b75546b18 https://github.com/nucleic/kiwi/pull/142
Created attachment 782603 [details] build.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4beea7769ceee4da95127da60dfbae27a127617 commit a4beea7769ceee4da95127da60dfbae27a127617 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-03 21:29:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-03 21:29:36 +0000 dev-python/kiwisolver: add Python 3.11 patch Closes: https://bugs.gentoo.org/849563 Signed-off-by: Sam James <sam@gentoo.org> .../files/kiwisolver-1.4.2-python311.patch | 31 ++++++++++++++++++++++ dev-python/kiwisolver/kiwisolver-1.4.2.ebuild | 4 +++ 2 files changed, 35 insertions(+)