Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880445 - app-metrics/collectd-5.12.0-r7[python_single_target_python3_11] - fatal error: longintrepr.h: No such file or directory
Summary: app-metrics/collectd-5.12.0-r7[python_single_target_python3_11] - fatal error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2022-11-08 19:35 UTC by Chris Mayo
Modified: 2022-11-10 23:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2022-11-08 19:35:50 UTC
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
Comment 1 Larry the Git Cow gentoo-dev 2022-11-10 23:04:09 UTC
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(-)