strace rebuild fails with current glibc versions (glibc-2.39-86.el10, glibc-2.39-91.el10, ...), this way:
In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/x86_64-redhat-linux/14/include/stdint.h:9, from tests.h:27, from group_req.c:11: In function ‘inet_pton’, inlined from ‘main’ at group_req.c:48:2: /usr/include/bits/inet-fortified.h:49:10: error: call to ‘__inet_pton_chk_warn’ declared with attribute warning: inet_pton called with a destination buffer size too small [-Werror=attribute-warning] 49 | return __glibc_fortify (inet_pton, __sz, sizeof (char), | ^~~~~~~~~~~~~~~ In function ‘inet_pton’, inlined from ‘main’ at group_req.c:51:2: /usr/include/bits/inet-fortified.h:49:10: error: call to ‘__inet_pton_chk_warn’ declared with attribute warning: inet_pton called with a destination buffer size too small [-Werror=attribute-warning] 49 | return __glibc_fortify (inet_pton, __sz, sizeof (char), | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors
This seems to be caused by incorrect call of inet_pton() function from a strace test.