Summary: | dev-lang/python-3.11.0_beta3 fails to build on N32-based mips (stage1), ffi.h not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andreas K. Hüttel <dilfridge> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mips, releng |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/python/cpython/issues/94656 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log from a chroot
emerge --info config.log (compressed) |
Description
Andreas K. Hüttel
2022-06-06 23:13:00 UTC
Created attachment 783293 [details]
build log from a chroot
Created attachment 783296 [details]
emerge --info
Could you: 1. get config.log and share it 2. run pkg-config libffi --cflags-only-I 3. run pkg-config libffi --cflags-only-I 2>/dev/null | sed -e 's/^-I//;s/ *$//' (In reply to Sam James from comment #3) > 2. run pkg-config libffi --cflags-only-I dilfridge-mips64-multilib ~ # pkg-config libffi --cflags-only-I -I/usr/lib32/libffi/include > 3. run pkg-config libffi --cflags-only-I 2>/dev/null | sed -e 's/^-I//;s/ > *$//' dilfridge-mips64-multilib ~ # pkg-config libffi --cflags-only-I 2>/dev/null | sed -e 's/^-I//;s/ *$//' /usr/lib32/libffi/include dilfridge-mips64-multilib ~ # ls -l /usr/lib32/libffi/include total 24 -rw-r--r-- 1 root root 14253 Apr 18 14:51 ffi.h -rw-r--r-- 1 root root 6578 Apr 18 14:51 ffitarget.h Created attachment 783500 [details]
config.log (compressed)
From a quick glance, maybe python gets the main abi wrong?
@python: could someone of you please report this upstream and link to the report here? The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f90c33b4082f6bb908d2ae1b9ce4cf66a0b7428 commit 3f90c33b4082f6bb908d2ae1b9ce4cf66a0b7428 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2022-06-27 23:44:19 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2022-06-27 23:45:30 +0000 profiles: mask python:3.11 on mips n32 profiles Bug: https://bugs.gentoo.org/850151 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> profiles/arch/mips/mips64/n32/package.mask | 5 +++++ profiles/arch/mips/mips64/n32/use.mask | 5 ++++- profiles/arch/mips/mipsel/mips64el/n32/package.mask | 5 +++++ profiles/arch/mips/mipsel/mips64el/n32/use.mask | 5 ++++- 4 files changed, 18 insertions(+), 2 deletions(-) Submitted upstream As I mentioned on the upstream issue, I think this patch got dropped for our Python 3.11 ebuilds, maybe by accident? https://github.com/gentoo/cpython/commit/69fccd4a801cb0e2f303f765e1bee8d7589d803f The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3a07918714b4e45902be8f43cb3d5bd649bf8a8 commit a3a07918714b4e45902be8f43cb3d5bd649bf8a8 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2022-07-08 13:09:59 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2022-07-08 13:10:19 +0000 dev-lang/python: add 3.11.0_beta3_p2 Closes: https://bugs.gentoo.org/850151 Signed-off-by: Mike Gilbert <floppym@gentoo.org> dev-lang/python/Manifest | 1 + dev-lang/python/python-3.11.0_beta3_p2.ebuild | 472 ++++++++++++++++++++++++++ 2 files changed, 473 insertions(+) |