Your message dated Sat, 21 Feb 2026 22:54:56 +0100
with message-id <[email protected]>
and subject line Re: Bug#1128535: complexity: FTBFS with glibc 2.43 due to ISO 
C23 const return types
has caused the Debian Bug report #1128535,
regarding complexity: FTBFS with glibc 2.43 due to ISO C23 const return types
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1128535: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128535
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: complexity
Version: 1.13-1
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: [email protected]
Usertags: glibc-2.43

Dear maintainer(s),

complexity 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 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/complexity-1.13=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard   -c -o 
unicase/libgnu_a-tolower.o `test -f 'unicase/tolower.c' || echo 
'./'`unicase/tolower.c
| 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 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/complexity-1.13=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard   -c -o 
unictype/libgnu_a-ctype_alnum.o `test -f 'unictype/ctype_alnum.c' || echo 
'./'`unictype/ctype_alnum.c
| 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)
|       |                       ^~~~~~~
| 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 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/complexity-1.13=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard   -c -o 
unictype/libgnu_a-ctype_alpha.o `test -f 'unictype/ctype_alpha.c' || echo 
'./'`unictype/ctype_alpha.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 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)
|       |                       ^~~~~~~
| 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)
|       |                       ^~~~~~~
| 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)
|       |                       ^~~~~~~
| 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)
|       |                       ^~~~~~~
| 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)
|       |                       ^~~~~~~
| 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/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,
|       |                    ^~~~~~~
| 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 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/complexity-1.13=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard   -c -o 
unictype/libgnu_a-ctype_blank.o `test -f 'unictype/ctype_blank.c' || echo 
'./'`unictype/ctype_blank.c
| 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)
|       |                       ^~~~~~~
| 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 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/complexity-1.13=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard   -c -o 
unictype/libgnu_a-ctype_cntrl.o `test -f 'unictype/ctype_cntrl.c' || echo 
'./'`unictype/ctype_cntrl.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 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/complexity-1.13=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard   -c -o 
unictype/libgnu_a-ctype_digit.o `test -f 'unictype/ctype_digit.c' || echo 
'./'`unictype/ctype_digit.c
| 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 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)
|       |                       ^~~~~~~
| 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)
|       |                       ^~~~~~~
| 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 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/complexity-1.13=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard   -c -o 
unictype/libgnu_a-ctype_graph.o `test -f 'unictype/ctype_graph.c' || echo 
'./'`unictype/ctype_graph.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 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/complexity-1.13=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard   -c -o 
unictype/libgnu_a-ctype_lower.o `test -f 'unictype/ctype_lower.c' || echo 
'./'`unictype/ctype_lower.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 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/complexity-1.13=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard   -c -o 
unictype/libgnu_a-ctype_print.o `test -f 'unictype/ctype_print.c' || echo 
'./'`unictype/ctype_print.c
| In file included from /usr/include/features.h:539,
|                  from /usr/include/uchar.h:26,
|                  from ./uchar.h:45,
|                  from mbrtoc32.c:22:
| ./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/bits/libc-header-start.h:33,
|                  from /usr/include/stdlib.h:26,
|                  from ./stdlib.h:51,
|                  from stdlib.c:21:
| ./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 -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/complexity-1.13=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard   -c -o 
unictype/libgnu_a-ctype_punct.o `test -f 'unictype/ctype_punct.c' || echo 
'./'`unictype/ctype_punct.c
| make[5]: *** [Makefile:2234: libgnu_a-fd-hook.o] Error 1
| make[5]: *** Waiting for unfinished jobs....
| 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/assert.h:35,
|                  from mbiterf.h:82,
|                  from mbiterf.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/errno.h:25,
|                  from setlocale_null.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/limits.h:26,
|                  from /usr/lib/gcc/aarch64-linux-gnu/15/include/limits.h:210,
|                  from ./limits.h:31,
|                  from /usr/lib/gcc/aarch64-linux-gnu/15/include/syslimits.h:9,
|                  from /usr/lib/gcc/aarch64-linux-gnu/15/include/limits.h:34,
|                  from ./limits.h:41,
|                  from mbchar.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 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)
|       |                       ^~~~~~~
| make[5]: *** [Makefile:2066: libgnu_a-c32iscntrl.o] Error 1
| In file included from /usr/include/features.h:539,
|                  from ./wchar.h:69,
|                  from mbrtowc.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 ./wchar.h:69,
|                  from mbszero.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/aarch64-linux-gnu/bits/libc-header-start.h:33,
|                  from /usr/include/string.h:26,
|                  from ./string.h:41,
|                  from mbsnlen.c:21:
| ./stdlib.h:820:20: error: expected identifier or ‘(’ before ‘_Generic’
|   820 | _GL_EXTERN_C void *bsearch (const void *__key,
|       |                    ^~~~~~~
| make[5]: *** [Makefile:2612: libgnu_a-stdlib.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 localcharset.c:26:
| ./stdlib.h:820:20: error: expected identifier or ‘(’ before ‘_Generic’
|   820 | _GL_EXTERN_C void *bsearch (const void *__key,
|       |                    ^~~~~~~
| make[5]: *** [Makefile:2304: libgnu_a-hard-locale.o] Error 1
| make[5]: *** [Makefile:2038: libgnu_a-c32isalpha.o] Error 1
| make[5]: *** [Makefile:2136: libgnu_a-c32ispunct.o] Error 1
| make[5]: *** [Makefile:2122: libgnu_a-c32isprint.o] Error 1
| make[5]: *** [Makefile:2080: libgnu_a-c32isdigit.o] Error 1
| make[5]: *** [Makefile:2052: libgnu_a-c32isblank.o] Error 1
| make[5]: *** [Makefile:2094: libgnu_a-c32isgraph.o] Error 1
| make[5]: *** [Makefile:2206: libgnu_a-c32width.o] Error 1
| make[5]: *** [Makefile:2024: libgnu_a-c32isalnum.o] Error 1
| make[5]: *** [Makefile:2164: libgnu_a-c32isupper.o] Error 1
| make[5]: *** [Makefile:2486: libgnu_a-mbszero.o] Error 1
| make[5]: *** [Makefile:2150: libgnu_a-c32isspace.o] Error 1
| make[5]: *** [Makefile:2108: libgnu_a-c32islower.o] Error 1
| make[5]: *** [Makefile:2444: libgnu_a-mbrtowc.o] Error 1
| make[5]: *** [Makefile:2528: libgnu_a-setlocale_null.o] Error 1
| make[5]: *** [Makefile:2402: libgnu_a-mbchar.o] Error 1
| ./stdlib.h:820:20: error: expected identifier or ‘(’ before ‘_Generic’
|   820 | _GL_EXTERN_C void *bsearch (const void *__key,
|       |                    ^~~~~~~
| make[5]: *** [Makefile:2416: libgnu_a-mbiterf.o] Error 1
| make[5]: *** [Makefile:2192: libgnu_a-c32tolower.o] Error 1
| make[5]: *** [Makefile:2374: libgnu_a-localcharset.o] Error 1
| make[5]: *** [Makefile:2178: libgnu_a-c32isxdigit.o] Error 1
| ./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 ./wchar.h:69,
|                  from ./wctype.h:56,
|                  from wctype-h.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)
|       |                       ^~~~~~~
| make[5]: *** [Makefile:2430: libgnu_a-mbrtoc32.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 vsnzprintf.c:23:
| ./stdlib.h:820:20: error: expected identifier or ‘(’ before ‘_Generic’
|   820 | _GL_EXTERN_C void *bsearch (const void *__key,
|       |                    ^~~~~~~
| make[5]: *** [Makefile:2850: libgnu_a-wctype-h.o] Error 1
| In file included from /usr/include/features.h:539,
|                  from printf-parse.h:26,
|                  from printf-parse.c:36:
| ./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 ./wchar.h:69,
|                  from printf-args.h:36,
|                  from printf-args.c:29:
| ./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:2472: libgnu_a-mbsnlen.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 vasnprintf.h:32,
|                  from vasnprintf.c:79:
| ./stdlib.h:820:20: error: expected identifier or ‘(’ before ‘_Generic’
|   820 | _GL_EXTERN_C void *bsearch (const void *__key,
|       |                    ^~~~~~~
| make[5]: *** [Makefile:2836: libgnu_a-vsnzprintf.o] Error 1
| ./stdlib.h:820:20: error: expected identifier or ‘(’ before ‘_Generic’
|   820 | _GL_EXTERN_C void *bsearch (const void *__key,
|       |                    ^~~~~~~
| ./stdlib.h:820:20: error: expected identifier or ‘(’ before ‘_Generic’
|   820 | _GL_EXTERN_C void *bsearch (const void *__key,
|       |                    ^~~~~~~
| make[5]: *** [Makefile:2962: libgnu_a-printf-args.o] Error 1
| ./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:2976: libgnu_a-printf-parse.o] Error 1
| make[5]: *** [Makefile:2990: libgnu_a-vasnprintf.o] Error 1
| make[5]: Leaving directory '/build/reproducible-path/complexity-1.13/lib'
| make[4]: *** [Makefile:3027: all-recursive] Error 1
| make[4]: Leaving directory '/build/reproducible-path/complexity-1.13/lib'
| make[3]: *** [Makefile:1820: all] Error 2
| make[3]: Leaving directory '/build/reproducible-path/complexity-1.13/lib'
| make[2]: *** [Makefile:1495: all-recursive] Error 1
| make[2]: Leaving directory '/build/reproducible-path/complexity-1.13'
| make[1]: *** [Makefile:1436: all] Error 2
| make[1]: Leaving directory '/build/reproducible-path/complexity-1.13'
| dh_auto_build: error: make -j128 returned exit code 2
| make: *** [debian/rules:9: 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/complexity_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 ---
--- Begin Message ---
Hi,

On 2026-02-21 19:54, Boian Bonev wrote:
> Hello!
> 
> The reason for that is gnulib 20251215-1 is not compatible with glibc
> 2.43.
> 
> Currently complexity is using the system provided gnulib and not a
> vendored copy. I can patch it to use a more recent vendored copy but I
> do not think that is a good idea or a path forward.
> 
> I think that the proper way to resolve this bug is to re-assign to
> gnulib. As soon as it gets updated, complexity will build with glibc
> 2.43.
> 
> Please re-assign if you agree with my reasoning.

Yes, I agree with your reasoning. In addition the rebuild has been done 
against gnulib 20251215-1 while 20260109-1~exp1 should have been used.  
It's not clear to me why that happened, but sorry about the broken bug 
report.

I am therefore closing the bug.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
[email protected]                     http://aurel32.net

--- End Message ---

Reply via email to