--- Begin Message ---
Source: inetutils
Version: 2:2.7-3
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.43
Dear maintainer(s),
inetutils fails to build from source with glibc 2.43, currently in
experimental. From the build log:
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o
libgnu_a-c32tolower.o `test -f 'c32tolower.c' || echo './'`c32tolower.c
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdlib.h:26,
| from ./stdlib.h:51,
| from argp-fmtstream.c:26:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o libgnu_a-c32width.o
`test -f 'c32width.c' || echo './'`c32width.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o
libgnu_a-chdir-long.o `test -f 'chdir-long.c' || echo './'`chdir-long.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o libgnu_a-cloexec.o
`test -f 'cloexec.c' || echo './'`cloexec.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o
libgnu_a-cycle-check.o `test -f 'cycle-check.c' || echo './'`cycle-check.c
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdlib.h:26,
| from ./stdlib.h:51,
| from argp-parse.c:25:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o
libgnu_a-dirname-lgpl.o `test -f 'dirname-lgpl.c' || echo './'`dirname-lgpl.c
| In file included from /usr/include/features.h:539,
| from /usr/include/errno.h:25,
| from argp-help.c:28:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o
libgnu_a-stripslash.o `test -f 'stripslash.c' || echo './'`stripslash.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o libgnu_a-exitfail.o
`test -f 'exitfail.c' || echo './'`exitfail.c
| In file included from /usr/include/features.h:539,
| from /usr/include/errno.h:25,
| from openat-priv.h:23,
| from openat-proc.c:22:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o libgnu_a-fcntl.o
`test -f 'fcntl.c' || echo './'`fcntl.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o
libgnu_a-creat-safer.o `test -f 'creat-safer.c' || echo './'`creat-safer.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o
libgnu_a-open-safer.o `test -f 'open-safer.c' || echo './'`open-safer.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o libgnu_a-fd-hook.o
`test -f 'fd-hook.c' || echo './'`fd-hook.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o libgnu_a-filemode.o
`test -f 'filemode.c' || echo './'`filemode.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o
libgnu_a-filenamecat-lgpl.o `test -f 'filenamecat-lgpl.c' || echo
'./'`filenamecat-lgpl.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o libgnu_a-fseterr.o
`test -f 'fseterr.c' || echo './'`fseterr.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o libgnu_a-fts.o `test
-f 'fts.c' || echo './'`fts.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o libgnu_a-getopt.o
`test -f 'getopt.c' || echo './'`getopt.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o libgnu_a-getopt1.o
`test -f 'getopt1.c' || echo './'`getopt1.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o
libgnu_a-getprogname.o `test -f 'getprogname.c' || echo './'`getprogname.c
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from btoc32.c:23:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o libgnu_a-gettime.o
`test -f 'gettime.c' || echo './'`gettime.c
| In file included from /usr/include/features.h:539,
| from ./wchar.h:69,
| from btowc.c:21:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o
libgnu_a-getugroups.o `test -f 'getugroups.c' || echo './'`getugroups.c
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32_get_type_test.c:23:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32isalnum.c:21:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o
libgnu_a-hard-locale.o `test -f 'hard-locale.c' || echo './'`hard-locale.c
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32_apply_type_test.c:23:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o libgnu_a-hash.o
`test -f 'hash.c' || echo './'`hash.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o
libgnu_a-hashcode-string1.o `test -f 'hashcode-string1.c' || echo
'./'`hashcode-string1.c
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o libgnu_a-i-ring.o
`test -f 'i-ring.c' || echo './'`i-ring.c
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32isalpha.c:21:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32isblank.c:21:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2
-Wno-cast-qual -Wno-conversion -Wno-float-equal -Wno-sign-compare -Wno-undef
-Wno-unused-function -Wno-unused-parameter -Wno-float-conversion
-Wimplicit-fallthrough -Wno-pedantic -Wno-sign-conversion -Wno-type-limits
-Wno-unused-const-variable -Wno-unsuffixed-float-constants -Wno-error -Wall -g
-O2 -Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/inetutils-2.7=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -c -o libgnu_a-ialloc.o
`test -f 'ialloc.c' || echo './'`ialloc.c
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32isdigit.c:21:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| make[5]: *** [Makefile:4499: libgnu_a-c32_get_type_test.o] Error 1
| make[5]: *** Waiting for unfinished jobs....
| make[5]: *** [Makefile:4513: libgnu_a-c32isalnum.o] Error 1
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32iscntrl.c:21:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32islower.c:21:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32isgraph.c:21:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| make[5]: *** [Makefile:4485: libgnu_a-c32_apply_type_test.o] Error 1
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdlib.h:26,
| from ./stdlib.h:51,
| from dirname.h:28,
| from stripslash.c:21:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32isprint.c:21:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| make[5]: *** [Makefile:4443: libgnu_a-btoc32.o] Error 1
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32ispunct.c:21:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| make[5]: *** [Makefile:4261: libgnu_a-argp-fmtstream.o] Error 1
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32isxdigit.c:21:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32isspace.c:21:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| make[5]: *** [Makefile:4527: libgnu_a-c32isalpha.o] Error 1
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdlib.h:26,
| from ./stdlib.h:51,
| from fd-hook.c:23:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdlib.h:26,
| from ./stdlib.h:51,
| from exitfail.c:22:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| make[5]: *** [Makefile:4541: libgnu_a-c32isblank.o] Error 1
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdlib.h:26,
| from ./stdlib.h:51,
| from dirname.h:28,
| from dirname-lgpl.c:21:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32width.c:23:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32tolower.c:21:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| In file included from /usr/include/features.h:539,
| from /usr/include/aarch64-linux-gnu/sys/types.h:25,
| from ./sys/types.h:46,
| from ./fcntl.h:63,
| from fcntl.c:23:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| make[5]: *** [Makefile:4569: libgnu_a-c32isdigit.o] Error 1
| make[5]: *** [Makefile:4597: libgnu_a-c32islower.o] Error 1
| make[5]: *** [Makefile:4555: libgnu_a-c32iscntrl.o] Error 1
| make[5]: *** [Makefile:4457: libgnu_a-btowc.o] Error 1
| make[5]: *** [Makefile:4807: libgnu_a-stripslash.o] Error 1
| make[5]: *** [Makefile:4933: libgnu_a-fd-hook.o] Error 1
| In file included from /usr/include/features.h:539,
| from /usr/include/uchar.h:26,
| from ./uchar.h:45,
| from c32isupper.c:21:
| ./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
| 856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc,
size_t __n)
| | ^~~~~~~
| make[5]: *** [Makefile:4583: libgnu_a-c32isgraph.o] Error 1
| make[5]: *** [Makefile:4863: libgnu_a-exitfail.o] Error 1
| make[5]: *** [Makefile:4611: libgnu_a-c32isprint.o] Error 1
| argp-help.c: In function 'argp_doc':
| argp-help.c:1604:18: warning: initialization discards 'const' qualifier from
pointer target type [-Wdiscarded-qualifiers]
| 1604 | char *vt = strchr (doc, '\v');
| | ^~~~~~
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdlib.h:26,
| from ./stdlib.h:51,
| from filenamecat.h:26,
| from filenamecat-lgpl.c:23:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdlib.h:26,
| from ./stdlib.h:51,
| from getprogname.c:20:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| make[5]: *** [Makefile:4625: libgnu_a-c32ispunct.o] Error 1
| make[5]: *** [Makefile:4303: libgnu_a-argp-parse.o] Error 1
| make[5]: *** [Makefile:4667: libgnu_a-c32isxdigit.o] Error 1
| make[5]: *** [Makefile:4695: libgnu_a-c32width.o] Error 1
| make[5]: *** [Makefile:4401: libgnu_a-openat-proc.o] Error 1
| make[5]: *** [Makefile:4639: libgnu_a-c32isspace.o] Error 1
| In file included from /usr/include/features.h:539,
| from /usr/include/getopt.h:24,
| from ./getopt.h:38,
| from getopt.c:24:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdint.h:26,
| from /usr/lib/gcc/aarch64-linux-gnu/15/include/stdint.h:11,
| from cycle-check.h:23,
| from cycle-check.c:22:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| In file included from /usr/include/features.h:539,
| from /usr/include/unistd.h:25,
| from ./unistd.h:40,
| from chdir-long.h:19,
| from chdir-long.c:21:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| make[5]: *** [Makefile:4681: libgnu_a-c32tolower.o] Error 1
| make[5]: *** [Makefile:5353: libgnu_a-getprogname.o] Error 1
| make[5]: *** [Makefile:4793: libgnu_a-dirname-lgpl.o] Error 1
| In file included from /usr/include/features.h:539,
| from /usr/include/locale.h:25,
| from ./locale.h:41,
| from hard-locale.c:23:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| make[5]: *** [Makefile:4653: libgnu_a-c32isupper.o] Error 1
| make[5]: *** [Makefile:4891: libgnu_a-fcntl.o] Error 1
| make[5]: *** [Makefile:4765: libgnu_a-cycle-check.o] Error 1
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdlib.h:26,
| from ./stdlib.h:51,
| from i-ring.c:22:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| make[5]: *** [Makefile:4975: libgnu_a-filenamecat-lgpl.o] Error 1
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdint.h:26,
| from /usr/lib/gcc/aarch64-linux-gnu/15/include/stdint.h:11,
| from idx.h:26,
| from ialloc.h:27,
| from ialloc.c:21:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| make[5]: *** [Makefile:4289: libgnu_a-argp-help.o] Error 1
| make[5]: *** [Makefile:5633: libgnu_a-i-ring.o] Error 1
| make[5]: *** [Makefile:5591: libgnu_a-hard-locale.o] Error 1
| In file included from /usr/include/features.h:539,
| from
/usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33,
| from /usr/include/stdio.h:28,
| from ./stdio.h:55,
| from hash.h:34,
| from hash.c:27:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| make[5]: *** [Makefile:5647: libgnu_a-ialloc.o] Error 1
| make[5]: *** [Makefile:4709: libgnu_a-chdir-long.o] Error 1
| make[5]: *** [Makefile:5605: libgnu_a-hash.o] Error 1
| In file included from fts_.h:67,
| from fts.c:53:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
| 820 | _GL_EXTERN_C void *bsearch (const void *__key,
| | ^~~~~~~
| make[5]: *** [Makefile:5311: libgnu_a-getopt.o] Error 1
| make[5]: *** [Makefile:5143: libgnu_a-fts.o] Error 1
| make[5]: Leaving directory '/build/reproducible-path/inetutils-2.7/lib'
| make[4]: *** [Makefile:8372: all-recursive] Error 1
| make[4]: Leaving directory '/build/reproducible-path/inetutils-2.7/lib'
| make[3]: *** [Makefile:3749: all] Error 2
| make[3]: Leaving directory '/build/reproducible-path/inetutils-2.7/lib'
| make[2]: *** [Makefile:2634: all-recursive] Error 1
| make[2]: Leaving directory '/build/reproducible-path/inetutils-2.7'
| make[1]: *** [Makefile:2571: all] Error 2
| make[1]: Leaving directory '/build/reproducible-path/inetutils-2.7'
| dh_auto_build: error: make -j128 returned exit code 2
| make: *** [debian/rules:29: binary] Error 25
| dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
The full build log is available here [1].
The issue is due to ISO C23 declaration of bsearch, memchr, strchr,
strpbrk, strrchr, strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr,
which now returns a pointer to a const-qualified type when the input
argument is a pointer to a const-qualified type [2].
I would like to thanks Emanuele Rocca for doing the archive rebuild on
a fast arm64 server.
Regards
Aurelien
[1]
https://people.debian.org/~ema/glibc-2.43-rebuilds/output-1/inetutils_arm64.build
[2]
https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=e271fb2e4d76903c77a302aaec1ca22ce31027d0;hb=f762ccf84f122d1354f103a151cba8bde797d521#l19
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
[email protected] http://aurel32.net
--- End Message ---