Bug#1092314: cif-api ftbfs with icu-76.1

Matthias Klose doko at debian.org
Tue Jan 7 11:48:56 GMT 2025


Package: src:cif-api
Version: 0.4.2-5
Severity: important
User: debian-devel at lists.debian.org
Usertags: icu76

The package fails to build with icu 76.1-2 from experimental.

[...]
gcc -DHAVE_CONFIG_H -I. -I..  -std=c89 -pedantic   -I ../uthash -Wall 
-Wextra -Wformat=2 -Winit-self -Wno-switch -Wno-switch-default 
-Wstrict-aliasing=2 -Wshadow -Wpointer-arith -Wc++-compat -Wcast-align 
-Wwrite-strings -Waggregate-return -Wstrict-prototypes 
-Wmissing-prototypes -Wredundant-decls -Wnested-externs 
-Wno-missing-field-initializers  -Wdate-time -D_FORTIFY_SOURCE=3  -g -O3 
-Werror=implicit-function-declaration -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-flto=auto -ffat-lto-objects -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cif-api-0.4.2-5build2 -c -o 
test_create_block1.o `test -f 'tests/test_create_block1.c' || echo 
'./'`tests/test_create_block1.c
gcc -DHAVE_CONFIG_H -I. -I..  -std=c89 -pedantic   -I ../uthash -Wall 
-Wextra -Wformat=2 -Winit-self -Wno-switch -Wno-switch-default 
-Wstrict-aliasing=2 -Wshadow -Wpointer-arith -Wc++-compat -Wcast-align 
-Wwrite-strings -Waggregate-return -Wstrict-prototypes 
-Wmissing-prototypes -Wredundant-decls -Wnested-externs 
-Wno-missing-field-initializers  -Wdate-time -D_FORTIFY_SOURCE=3  -g -O3 
-Werror=implicit-function-declaration -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-flto=auto -ffat-lto-objects -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/cif-api-0.4.2-5build2 -c -o 
test_create_block2.o `test -f 'tests/test_create_block2.c' || echo 
'./'`tests/test_create_block2.c
In file included from /usr/include/unicode/ptypes.h:46,
                  from /usr/include/unicode/umachine.h:46,
                  from /usr/include/unicode/utypes.h:38,
                  from /usr/include/unicode/ustring.h:21,
                  from tests/test_create_block1.c:27:
tests/test_create_block1.c: In function ‘main’:
tests/test_create_block1.c:35:5: error: pasting "u" and ""block"" does 
not give a valid preprocessing token
    35 |     U_STRING_DECL(block_code, "block", 6);
       |     ^~~~~~~~~~~~~
tests/test_create_block1.c:35:5: error: ‘u’ undeclared (first use in 
this function)
tests/test_create_block1.c:35:5: note: each undeclared identifier is 
reported only once for each function it appears in
tests/test_create_block1.c:35:31: error: expected ‘,’ or ‘;’ before 
string constant
    35 |     U_STRING_DECL(block_code, "block", 6);
       |                               ^~~~~~~
make[4]: *** [Makefile:2243: test_create_block1.o] Error 1



More information about the debian-science-maintainers mailing list