Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912347 - dev-python/pypy3_10-exe-7.3.12_p2 - [platform:Error] .../platcheck_65.c: error: field s has incomplete type
Summary: dev-python/pypy3_10-exe-7.3.12_p2 - [platform:Error] .../platcheck_65.c: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
: 906831 (view as bug list)
Depends on:
Blocks: musl-1.2.4 musl-1.2.4-stable
  Show dependency tree
 
Reported: 2023-08-16 08:04 UTC by Toralf Förster
Modified: 2024-01-18 17:08 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.28 KB, text/plain)
2023-08-16 08:04 UTC, Toralf Förster
Details
dev-python:pypy3_10-exe-7.3.12_p2:20230816-023226.log (dev-python:pypy3_10-exe-7.3.12_p2:20230816-023226.log,16.88 KB, text/plain)
2023-08-16 08:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,124.96 KB, text/plain)
2023-08-16 08:04 UTC, Toralf Förster
Details
environment (environment,72.01 KB, text/plain)
2023-08-16 08:04 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,900 bytes, application/x-xz)
2023-08-16 08:04 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.20 KB, application/x-xz)
2023-08-16 08:04 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.57 KB, application/x-xz)
2023-08-16 08:04 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,83.66 KB, application/x-xz)
2023-08-16 08:04 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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
/usr/lib/llvm/16
16.0.6
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 <repomirrorci@gentoo.org>
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]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-16 08:04:33 UTC
Created attachment 867942 [details]
dev-python:pypy3_10-exe-7.3.12_p2:20230816-023226.log
Comment 3 Toralf Förster gentoo-dev 2023-08-16 08:04:34 UTC
Created attachment 867943 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-08-16 08:04:35 UTC
Created attachment 867944 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-08-16 08:04:36 UTC
Created attachment 867945 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-16 08:04:37 UTC
Created attachment 867946 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-16 08:04:38 UTC
Created attachment 867947 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-08-16 08:04:39 UTC
Created attachment 867948 [details]
temp.tar.xz
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 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.
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
> 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.
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.