In file included from src/python.c:36: src/cpython.h:29:10: fatal error: longintrepr.h: No such file or directory 29 | #include <longintrepr.h> | ^~~~~~~~~~~~~~~ In file included from src/pyconfig.c:34: src/cpython.h:29:10: fatal error: longintrepr.h: No such file or directory 29 | #include <longintrepr.h> | ^~~~~~~~~~~~~~~ compilation terminated. compilation terminated. make[1]: *** [Makefile:8462: src/python_la-python.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... Upstream commit applies and fixes the problem: https://github.com/collectd/collectd/commit/623e95394e0e62e7f9ced2104b786d21e9c0bf53
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5b4e4f0eaa2057de7dda8b3e2af437fca7016c9 commit d5b4e4f0eaa2057de7dda8b3e2af437fca7016c9 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2022-11-10 23:00:10 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2022-11-10 23:03:42 +0000 app-metrics/collectd: fix compilation with python3_11 Closes: https://bugs.gentoo.org/880445 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> app-metrics/collectd/collectd-5.12.0-r7.ebuild | 5 +++- .../files/collectd-5.12.0-python3_11.patch | 33 ++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-)