Summary: | dev-python/pypy3_10-exe-7.3.12_p2 - [platform:Error] .../platcheck_65.c: error: field s has incomplete type | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ago, python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://foss.heptapod.net/pypy/pypy/-/issues/4048 https://bugs.gentoo.org/show_bug.cgi?id=907606 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 903611, 920477 | ||
Attachments: |
emerge-info.txt
dev-python:pypy3_10-exe-7.3.12_p2:20230816-023226.log emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz temp.tar.xz |
Description
Toralf Förster
2023-08-16 08:04:31 UTC
Created attachment 867941 [details]
emerge-info.txt
Created attachment 867942 [details]
dev-python:pypy3_10-exe-7.3.12_p2:20230816-023226.log
Created attachment 867943 [details]
emerge-history.txt
Created attachment 867944 [details]
environment
Created attachment 867945 [details]
etc.clang.tar.xz
Created attachment 867946 [details]
etc.portage.tar.xz
Created attachment 867947 [details]
logs.tar.xz
Created attachment 867948 [details]
temp.tar.xz
This issue is related to musl-1.2.4, most probably because of the commit https://git.musl-libc.org/cgit/musl/commit/?id=25e6fee27f4a293728dd15b659170e7b9c7db9bc. The reasonable solution might be to add append-cflags -D_LARGEFILE64_SOURCE to configuration phase, see https://wiki.musl-libc.org/faq#Q:-Do-I-need-to-define-%3Ccode%3E_LARGEFILE64_SOURCE%3C/code%3E-to-get-64bit-%3Ccode%3Eoff_t%3C/code%3E?. It works for me. (In reply to Petr Vaněk from comment #9) > This issue is related to musl-1.2.4, most probably because of the commit > https://git.musl-libc.org/cgit/musl/commit/ > ?id=25e6fee27f4a293728dd15b659170e7b9c7db9bc. The reasonable solution might > be to add > > append-cflags -D_LARGEFILE64_SOURCE > > to configuration phase, see > https://wiki.musl-libc.org/faq#Q:-Do-I-need-to-define- > %3Ccode%3E_LARGEFILE64_SOURCE%3C/code%3E-to-get-64bit-%3Ccode%3Eoff_t%3C/ > code%3E?. It works for me. That's a temporary workaround which isn't going to work for very long. See the discussion on bug 903611. *** Bug 906831 has been marked as a duplicate of this bug. *** Following two patches are needed if we want to fix this before next release: https://foss.heptapod.net/pypy/pypy/-/commit/91149c94ba6bbf917227207abc0720a3116d4f8d https://foss.heptapod.net/pypy/pypy/-/commit/fe70a784a40736676ad99114ef16e2169a30304d Should be all done now. |