I get this error while emerge-ing strace 6.12 on armv7: In file included from static_assert.h:11, from macros.h:16, from list.h:90, from defs.h:40, from io_uring.c:9: io_uring.c: In function ‘print_io_uring_clone_buffers’: macros.h:141:9: error: static assertion failed: "Unexpected size of arg.pad (6 * sizeof(uint32_t) expected). --enabled-bundled=yes configure option may be used to work around that." 141 | static_assert(sizeof(type_) == (sz_), \ | ^~~~~~~~~~~~~ Thank you. Reproducible: Always
Created attachment 919930 [details] build log
Created attachment 919931 [details] emerge info
I guess it's because strace-6.12 vs linux-headers-6.13?
True. I emerged v6.13 and it works. Shouln't there be a dependency on a specific linux-headers version in such cases?
I am seeing the same error message on multiple amd64 (AMD Ryzen) machines when emerging dev-debug/strace-6.12. All of them have sys-kernel/linux-headers-6.13 installed.
Created attachment 920112 [details] build.log
I think it may be a better idea for us to use bundled headers instead. I rather suspect that we'll have riots if we start doing >=${PV} on linux-headers in strace.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f84d4b38eebb2dfc7f3206cf2aadbad5de70ef commit f0f84d4b38eebb2dfc7f3206cf2aadbad5de70ef Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-19 01:17:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-19 01:17:04 +0000 dev-debug/strace: use bundled linux-headers We don't want to pin to linux-headers, that would be far too much hassle and mean we have to keep many strace versions in-tree. Closes: https://bugs.gentoo.org/950309 Signed-off-by: Sam James <sam@gentoo.org> dev-debug/strace/strace-6.12.ebuild | 7 +++++-- dev-debug/strace/strace-6.13.ebuild | 5 ++++- dev-debug/strace/strace-6.9.ebuild | 5 ++++- dev-debug/strace/strace-9999.ebuild | 7 +++++-- 4 files changed, 18 insertions(+), 6 deletions(-)
Thank you!