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

Bug 912347

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 packagesAssignee: Gentoo musl team <musl>
Severity: normal CC: ago, python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 903611, 920477    
Attachments: emerge-info.txt

Description Toralf Förster gentoo-dev 2023-08-16 08:04:31 UTC
too long lines were shrinked:

[platform:WARNING] In file included from /var/tmp/portage/dev-python/pypy3_10-exe-7.3.12_p2/work/pypy3.10-v7.3.12-src/rpython/translator/c/src/thread.c:24:
[platform:WARNING] /var/tmp/portage/dev-python/pypy3_10-exe-7.3.12_p2/work/pypy3.10-v7.3.12-src/rpython/translator/c/src/thread_pthread.c: In function 'RPyThreadStartEx':
[platform:WARNING] /var/tmp/portage/dev-python/pypy3_10-exe-7.3.12_p2/work/pypy3.10-v7.3.12-src/rpython/translator/c/src/thread_pthread.c:134:34: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
[platform:WARNING]   134 |                 return (Signed) *(Signed *) &th;
[platform:WARNING]       |                                  ^~~~~~~~~~~~~~
[platform:Error] /var/tmp/portage/dev-python/pypy3_10-exe-7.3.12_p2/temp/usession-release-pypy3.10-v7.3.12-0/platcheck_65.c: In function 'dump_section_1':
[platform:Error] /var/tmp/portage/dev-python/pypy3_10-exe-7.3.12_p2/temp/usession-release-pypy3.10-v7.3.12-0/platcheck_65.c:164:25: error: field 's' has incomplete type
[platform:Error]   164 |             platcheck_t s;
[platform:Error]       |                         ^


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20230814-144751


gcc-config -l:
 [1] x86_64-gentoo-linux-musl-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit d081a36975e2e54e815ac7057a645f79d51d9b4b
Author: Repository mirror & CI <>
Date:   Wed Aug 16 01:31:41 2023 +0000

    2023-08-16 01:31:40 UTC

emerge -qpvO dev-python/pypy3_10-exe
[ebuild  N    ] dev-python/pypy3_10-exe-7.3.12_p2  USE="ncurses -jit -low-memory" CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2023-08-16 08:04:32 UTC
Created attachment 867941 [details]
Comment 2 Toralf Förster gentoo-dev 2023-08-16 08:04:33 UTC
Created attachment 867942 [details]
Comment 3 Toralf Förster gentoo-dev 2023-08-16 08:04:34 UTC
Created attachment 867943 [details]
Comment 4 Toralf Förster gentoo-dev 2023-08-16 08:04:35 UTC
Created attachment 867944 [details]
Comment 5 Toralf Förster gentoo-dev 2023-08-16 08:04:36 UTC
Created attachment 867945 [details]
Comment 6 Toralf Förster gentoo-dev 2023-08-16 08:04:37 UTC
Created attachment 867946 [details]
Comment 7 Toralf Förster gentoo-dev 2023-08-16 08:04:38 UTC
Created attachment 867947 [details]
Comment 8 Toralf Förster gentoo-dev 2023-08-16 08:04:39 UTC
Created attachment 867948 [details]
Comment 9 Petr Vaněk gentoo-dev 2023-12-13 22:12:05 UTC
This issue is related to musl-1.2.4, most probably because of the commit The reasonable solution might be to add

  append-cflags -D_LARGEFILE64_SOURCE

to configuration phase, see It works for me.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-14 00:30:39 UTC
(In reply to Petr Vaněk from comment #9)
> This issue is related to musl-1.2.4, most probably because of the commit
> ?id=25e6fee27f4a293728dd15b659170e7b9c7db9bc. The reasonable solution might
> be to add
>   append-cflags -D_LARGEFILE64_SOURCE
> to configuration phase, see
> %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.
Comment 11 Petr Vaněk gentoo-dev 2023-12-22 09:27:21 UTC
*** Bug 906831 has been marked as a duplicate of this bug. ***
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-18 17:08:19 UTC
Should be all done now.