Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885591 - dev-lang/python-3.11.1: Modules/_ctypes/_ctypes.c:118:10: fatal error: ffi.h: No such file or directory
Summary: dev-lang/python-3.11.1: Modules/_ctypes/_ctypes.c:118:10: fatal error: ffi.h:...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Loong Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-12 13:48 UTC by HougeLangley
Modified: 2023-02-10 22:28 UTC (History)
3 users (show)

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


Attachments
Build Log (crossdev-python-full-build-log.log,434.78 KB, text/x-log)
2022-12-12 13:48 UTC, HougeLangley
Details
emerge --info (emerge-info.log,3.20 KB, text/plain)
2022-12-12 13:48 UTC, HougeLangley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HougeLangley 2022-12-12 13:48:36 UTC
Created attachment 842013 [details]
Build Log

[01m[K/usr/loongarch64-unknown-linux-gnu/tmp/portage/dev-lang/python-3.11.1/work/Python-3.11.1/Modules/_ctypes/_ctypes.c:118:10:[m[K [01;31m[Kfatal error: [m[Kffi.h: No such file or directory
  118 | #include [01;31m[K<ffi.h>[m[K
      |          [01;31m[K^~~~~~~[m[K
compilation terminated.
Comment 1 HougeLangley 2022-12-12 13:48:56 UTC
Created attachment 842015 [details]
emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-12-12 19:58:12 UTC
That's cross-compiler, right?
Comment 3 HougeLangley 2022-12-13 14:46:10 UTC
(In reply to Michał Górny from comment #2)
> That's cross-compiler, right?

Yes ;)
Comment 4 James Le Cuirot gentoo-dev 2022-12-17 22:47:59 UTC
Maybe bug #794181 didn't go far enough? I can't reproduce because I'm having trouble even getting this far with 3.11. Something about the encodings module. 3.10 works though.
Comment 5 James Le Cuirot gentoo-dev 2023-02-10 22:28:19 UTC
I'm not sure which issue this was, but 3.11 works for me now. Please retest.