Package: src:icu
Version: 76.1-1
Severity: serious
this is seen, e.g. with the libxml2 from unstable, building with icu
from experimental. I haven't yet figured out, why this fails.
it fails with binutils 2.42, 2.43, and the current 2.44 snapshot, so
apparently not a (recent) linking error.
a work around to build this package is to also link with -licuuc, but
this isn't a correct solution.
libicui18n seems to be linked correctly:
$ ldd /usr/lib/x86_64-linux-gnu/libicui18n.so.76
linux-vdso.so.1 (0x00007ffdc71c6000)
libicuuc.so.76 => /lib/x86_64-linux-gnu/libicuuc.so.76
(0x00007ee55f337000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007ee55f0b9000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ee55efcc000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007ee55ef9e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ee55ed7e000)
libicudata.so.76 => /lib/x86_64-linux-gnu/libicudata.so.76
(0x00007ee55cf17000)
/lib64/ld-linux-x86-64.so.2 (0x00007ee55f956000)
[...]
libtool: link: gcc -pedantic -Wall -Wextra -Wshadow -Wpointer-arith
-Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls
-Wno-long-long -Wno-format-extra-args -D_REENTRANT -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/home/packages/tmp/libxml2-2.12.7+dfsg+really2.9.14=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wall -O3 -Wl,-z -Wl,relro
-Wl,-z -Wl,now -o .libs/xmlcatalog xmlcatalog.o ./.libs/libxml2.so -lz
-llzma -lm
libtool: link: gcc -pedantic -Wall -Wextra -Wshadow -Wpointer-arith
-Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls
-Wno-long-long -Wno-format-extra-args -D_REENTRANT -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/home/packages/tmp/libxml2-2.12.7+dfsg+really2.9.14=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wall -O3 -Wl,-z -Wl,relro
-Wl,-z -Wl,now -o .libs/xmllint xmllint.o ./.libs/libxml2.so -lz -llzma -lm
/usr/bin/ld: ./.libs/libxml2.so: undefined reference to
`UCNV_TO_U_CALLBACK_STOP_76'
/usr/bin/ld: ./.libs/libxml2.so: undefined reference to `ucnv_close_76'
/usr/bin/ld: ./.libs/libxml2.so: undefined reference to
`UCNV_FROM_U_CALLBACK_STOP_76'
/usr/bin/ld: ./.libs/libxml2.so: undefined reference to
`ucnv_setToUCallBack_76'
/usr/bin/ld: ./.libs/libxml2.so: undefined reference to `ucnv_open_76'
/usr/bin/ld: ./.libs/libxml2.so: undefined reference to `ucnv_convertEx_76'
/usr/bin/ld: ./.libs/libxml2.so: undefined reference to
`ucnv_setFromUCallBack_76'
collect2: error: ld returned 1 exit status
/usr/bin/ld: ./.libs/libxml2.so: undefined reference to
`UCNV_TO_U_CALLBACK_STOP_76'
/usr/bin/ld: ./.libs/libxml2.so: undefined reference to `ucnv_close_76'
/usr/bin/ld: ./.libs/libxml2.so: undefined reference to
`UCNV_FROM_U_CALLBACK_STOP_76'
/usr/bin/ld: ./.libs/libxml2.so: undefined reference to
`ucnv_setToUCallBack_76'
/usr/bin/ld: ./.libs/libxml2.so: undefined reference to `ucnv_open_76'
/usr/bin/ld: ./.libs/libxml2.so: undefined reference to `ucnv_convertEx_76'
/usr/bin/ld: ./.libs/libxml2.so: undefined reference to
`ucnv_setFromUCallBack_76'
make[5]: *** [Makefile:1148: xmlcatalog] Error 1
make[5]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:1152: xmllint] Error 1
make[5]: Leaving directory
'/home/packages/tmp/libxml2-2.12.7+dfsg+really2.9.14/builddir/main'
make[4]: *** [Makefile:1479: all-recursive] Error 1
unrelated minor issue: d/rules still has: l_SONAME=75