[Debian-med-packaging] Bug#1128540: eegdev: FTBFS with glibc 2.43 due to ISO C23 const return types

Aurelien Jarno aurel32 at debian.org
Fri Feb 20 22:37:55 GMT 2026


Source: eegdev
Version: 0.2-12
Severity: important
Tags: ftbfs upstream
Justification: fails to build from source
User: debian-glibc at lists.debian.org
Usertags: glibc-2.43

Dear maintainer(s),

eegdev fails to build from source with glibc 2.43, currently in
experimental. From the build log:

| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c mbsnlen.c  -fPIC -DPIC -o .libs/libgnu_la-mbsnlen.o
| 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 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 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)
|       |                       ^~~~~~~
| 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/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/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,
|       |                    ^~~~~~~
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c sockets.c  -fPIC -DPIC -o .libs/libgnu_la-sockets.o
| 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 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/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)
|       |                       ^~~~~~~
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c time.c  -fPIC -DPIC -o .libs/libgnu_la-time.o
| 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)
|       |                       ^~~~~~~
| 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,
|       |                    ^~~~~~~
| 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)
|       |                       ^~~~~~~
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c setlocale_null-unlocked.c  -fPIC -DPIC -o .libs/libgnu_la-setlocale_null-unlocked.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c mbszero.c  -fPIC -DPIC -o .libs/libgnu_la-mbszero.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c stdlib.c  -fPIC -DPIC -o .libs/libgnu_la-stdlib.o
| 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)
|       |                       ^~~~~~~
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c sys_socket.c  -fPIC -DPIC -o .libs/libgnu_la-sys_socket.o
| 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 ./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)
|       |                       ^~~~~~~
| make[4]: *** [Makefile:2812: libgnu_la-fd-hook.lo] Error 1
| make[4]: *** Waiting for unfinished jobs....
| 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[4]: *** [Makefile:2791: libgnu_la-c32width.lo] Error 1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c glthread/threadlib.c  -fPIC -DPIC -o glthread/.libs/libgnu_la-threadlib.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c unistd.c  -fPIC -DPIC -o .libs/libgnu_la-unistd.o
| make[4]: *** [Makefile:2707: libgnu_la-c32isalpha.lo] 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[4]: *** [Makefile:2714: libgnu_la-c32isblank.lo] Error 1
| make[4]: *** [Makefile:2700: libgnu_la-c32isalnum.lo] Error 1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c wctype-h.c  -fPIC -DPIC -o .libs/libgnu_la-wctype-h.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c vsnzprintf.c  -fPIC -DPIC -o .libs/libgnu_la-vsnzprintf.o
| make[4]: *** [Makefile:2777: libgnu_la-c32isxdigit.lo] Error 1
| make[4]: *** [Makefile:2784: libgnu_la-c32tolower.lo] Error 1
| make[4]: *** [Makefile:2903: libgnu_la-hard-locale.lo] Error 1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c asnprintf.c  -fPIC -DPIC -o .libs/libgnu_la-asnprintf.o
| make[4]: *** [Makefile:2735: libgnu_la-c32isgraph.lo] Error 1
| make[4]: *** [Makefile:2742: libgnu_la-c32islower.lo] Error 1
| make[4]: *** [Makefile:2770: libgnu_la-c32isupper.lo] Error 1
| make[4]: *** [Makefile:2763: libgnu_la-c32isspace.lo] Error 1
| make[4]: *** [Makefile:2749: libgnu_la-c32isprint.lo] Error 1
| make[4]: *** [Makefile:2721: libgnu_la-c32iscntrl.lo] Error 1
| 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)
|       |                       ^~~~~~~
| make[4]: *** [Makefile:2756: libgnu_la-c32ispunct.lo] Error 1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c printf-args.c  -fPIC -DPIC -o .libs/libgnu_la-printf-args.o
| make[4]: *** [Makefile:2728: libgnu_la-c32isdigit.lo] Error 1
| 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,
|       |                    ^~~~~~~
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c malloc/dynarray_at_failure.c  -fPIC -DPIC -o malloc/.libs/libgnu_la-dynarray_at_failure.o
| 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 ./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)
|       |                       ^~~~~~~
| make[4]: *** [Makefile:2966: libgnu_la-localcharset.lo] Error 1
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
|   820 | _GL_EXTERN_C void *bsearch (const void *__key,
|       |                    ^~~~~~~
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c printf-parse.c  -fPIC -DPIC -o .libs/libgnu_la-printf-parse.o
| 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,
|       |                    ^~~~~~~
| 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/nl_types.h:21,
|                  from /usr/include/langinfo.h:23,
|                  from ./langinfo.h:32,
|                  from nl_langinfo.c:21:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
|   820 | _GL_EXTERN_C void *bsearch (const void *__key,
|       |                    ^~~~~~~
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c vasnprintf.c  -fPIC -DPIC -o .libs/libgnu_la-vasnprintf.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c xsize.c  -fPIC -DPIC -o .libs/libgnu_la-xsize.o
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
|   820 | _GL_EXTERN_C void *bsearch (const void *__key,
|       |                    ^~~~~~~
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c malloc/dynarray_resize.c  -fPIC -DPIC -o malloc/.libs/libgnu_la-dynarray_resize.o
| 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,
|       |                    ^~~~~~~
| make[4]: *** [Makefile:3008: libgnu_la-mbrtowc.lo] Error 1
| In file included from /usr/include/features.h:539,
|                  from /usr/include/time.h:25,
|                  from ./time.h:54,
|                  from time.c:22:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
|   820 | _GL_EXTERN_C void *bsearch (const void *__key,
|       |                    ^~~~~~~
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c glthread/lock.c  -fPIC -DPIC -o glthread/.libs/libgnu_la-lock.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c unictype/ctype_blank.c  -fPIC -DPIC -o unictype/.libs/libgnu_la-ctype_blank.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c malloc/dynarray_emplace_enlarge.c  -fPIC -DPIC -o malloc/.libs/libgnu_la-dynarray_emplace_enlarge.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c glthread/once.c  -fPIC -DPIC -o glthread/.libs/libgnu_la-once.o
| make[4]: *** [Makefile:3099: libgnu_la-setlocale_null.lo] Error 1
| make[4]: *** [Makefile:2679: libgnu_la-btowc.lo] Error 1
| 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)
|       |                       ^~~~~~~
| make[4]: *** [Makefile:2987: libgnu_la-mbchar.lo] Error 1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c malloc/dynarray_resize_clear.c  -fPIC -DPIC -o malloc/.libs/libgnu_la-dynarray_resize_clear.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c unictype/ctype_alpha.c  -fPIC -DPIC -o unictype/.libs/libgnu_la-ctype_alpha.o
| ./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)
|       |                       ^~~~~~~
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c unictype/ctype_xdigit.c  -fPIC -DPIC -o unictype/.libs/libgnu_la-ctype_xdigit.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c malloc/dynarray_finalize.c  -fPIC -DPIC -o malloc/.libs/libgnu_la-dynarray_finalize.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c unictype/ctype_punct.c  -fPIC -DPIC -o unictype/.libs/libgnu_la-ctype_punct.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c unictype/ctype_lower.c  -fPIC -DPIC -o unictype/.libs/libgnu_la-ctype_lower.o
| make[4]: *** [Makefile:3169: libgnu_la-stdlib.lo] Error 1
| make[4]: *** [Makefile:2994: libgnu_la-mbiterf.lo] Error 1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c unictype/ctype_digit.c  -fPIC -DPIC -o unictype/.libs/libgnu_la-ctype_digit.o
| make[4]: *** [Makefile:3197: libgnu_la-time.lo] Error 1
| make[4]: *** [Makefile:3064: libgnu_la-nl_langinfo.lo] Error 1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c unictype/ctype_alnum.c  -fPIC -DPIC -o unictype/.libs/libgnu_la-ctype_alnum.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c unicase/tolower.c  -fPIC -DPIC -o unicase/.libs/libgnu_la-tolower.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c uniwidth/width.c  -fPIC -DPIC -o uniwidth/.libs/libgnu_la-width.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c unictype/ctype_graph.c  -fPIC -DPIC -o unictype/.libs/libgnu_la-ctype_graph.o
| make[4]: *** [Makefile:3029: libgnu_la-mbszero.lo] Error 1
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c unictype/ctype_cntrl.c  -fPIC -DPIC -o unictype/.libs/libgnu_la-ctype_cntrl.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c unictype/ctype_space.c  -fPIC -DPIC -o unictype/.libs/libgnu_la-ctype_space.o
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c unictype/ctype_print.c  -fPIC -DPIC -o unictype/.libs/libgnu_la-ctype_print.o
| make[4]: *** [Makefile:3001: libgnu_la-mbrtoc32.lo] Error 1
| 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)
|       |                       ^~~~~~~
| In file included from /usr/include/features.h:539,
|                  from /usr/include/errno.h:25,
|                  from glthread/threadlib.c:27:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
|   820 | _GL_EXTERN_C void *bsearch (const void *__key,
|       |                    ^~~~~~~
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I/usr/include/libusb-1.0 -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -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/eegdev-0.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -O3 -Wall -Wextra -c unictype/ctype_upper.c  -fPIC -DPIC -o unictype/.libs/libgnu_la-ctype_upper.o
| 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,
|       |                    ^~~~~~~
| In file included from /usr/include/features.h:539,
|                  from /usr/include/errno.h:25,
|                  from ./libc-config.h:42,
|                  from malloc/dynarray_at_failure.c:20:
| ./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 ./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[4]: *** [Makefile:3190: glthread/libgnu_la-threadlib.lo] Error 1
| make[4]: *** [Makefile:3022: libgnu_la-mbsnlen.lo] Error 1
| make[4]: *** [Makefile:3330: libgnu_la-wctype-h.lo] 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 /usr/include/errno.h:25,
|                  from ./glthread/lock.h:81,
|                  from glthread/lock.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/errno.h:25,
|                  from ./glthread/once.h:42,
|                  from glthread/once.c:22:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
|   820 | _GL_EXTERN_C void *bsearch (const void *__key,
|       |                    ^~~~~~~
| make[4]: *** [Makefile:3309: libgnu_la-vsnzprintf.lo] Error 1
| ./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/errno.h:25,
|                  from ./libc-config.h:42,
|                  from malloc/dynarray_emplace_enlarge.c:20:
| ./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/errno.h:25,
|                  from ./libc-config.h:42,
|                  from malloc/dynarray_resize.c:20:
| ./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/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[4]: *** [Makefile:2868: malloc/libgnu_la-dynarray_at_failure.lo] Error 1
| ./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/errno.h:25,
|                  from ./libc-config.h:42,
|                  from malloc/dynarray_finalize.c:20:
| ./stdlib.h:820:20: error: expected identifier or '(' before '_Generic'
|   820 | _GL_EXTERN_C void *bsearch (const void *__key,
|       |                    ^~~~~~~
| make[4]: *** [Makefile:3463: libgnu_la-printf-args.lo] Error 1
| make[4]: *** [Makefile:2889: malloc/libgnu_la-dynarray_resize.lo] Error 1
| make[4]: *** [Makefile:2875: malloc/libgnu_la-dynarray_emplace_enlarge.lo] Error 1
| make[4]: *** [Makefile:2882: malloc/libgnu_la-dynarray_finalize.lo] Error 1
| make[4]: *** [Makefile:2980: glthread/libgnu_la-lock.lo] Error 1
| make[4]: *** [Makefile:3078: glthread/libgnu_la-once.lo] 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[4]: *** [Makefile:3470: libgnu_la-printf-parse.lo] Error 1
| make[4]: *** [Makefile:3477: libgnu_la-vasnprintf.lo] Error 1
| make[4]: Leaving directory '/build/reproducible-path/eegdev-0.2/lib'
| make[3]: *** [Makefile:3518: all-recursive] Error 1
| make[3]: Leaving directory '/build/reproducible-path/eegdev-0.2/lib'
| make[2]: *** [Makefile:2363: all] Error 2
| make[2]: Leaving directory '/build/reproducible-path/eegdev-0.2/lib'
| make[1]: *** [Makefile:1895: all-recursive] Error 1
| make[1]: Leaving directory '/build/reproducible-path/eegdev-0.2'
| dh_auto_build: error: make -j128 returned exit code 2
| make: *** [debian/rules:15: 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/eegdev_arm64.build
[2] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=e271fb2e4d76903c77a302aaec1ca22ce31027d0;hb=f762ccf84f122d1354f103a151cba8bde797d521#l19

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien at aurel32.net                     http://aurel32.net



More information about the Debian-med-packaging mailing list