Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 885591

Summary: dev-lang/python-3.11.1: Modules/_ctypes/_ctypes.c:118:10: fatal error: ffi.h: No such file or directory
Product: Gentoo Linux Reporter: HougeLangley <hougelangley1987>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: cross, mgorny, sam
Priority: Normal    
Version: unspecified   
Hardware: Loong   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build Log
emerge --info

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.