Bug#1029556: espeak-ng: autopkgtest regression

Gianfranco Costamagna locutusofborg at debian.org
Tue Jan 24 13:40:15 GMT 2023


Source: espeak-ng
Version: 1.51+dfsg-9
Severity: serious
tags: patch

Hello, autopkgtests started to fail I presume since llvm-default change.
To fix, you need to depend on clang-rt when you use fsanitize=fuzzer)

clang++ -DHAVE_CONFIG_H -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/tmp/autopkgtest-lxc.4x6n726o/downtmp/build.8AY/src=. -fstack-protector-strong -Wformat -Werror=format-security -c -o tests/dummy.o tests/dummy.cpp
/bin/bash ./libtool  --tag=CXX   --mode=link clang++  -g -O2 -ffile-prefix-map=/tmp/autopkgtest-lxc.4x6n726o/downtmp/build.8AY/src=. -fstack-protector-strong -Wformat -Werror=format-security -fsanitize=fuzzer -Wl,-z,relro -o tests/ssml-fuzzer.test tests/ssml_fuzzer_test-ssml-fuzzer.o tests/dummy.o -lespeak-ng  -lsonic
libtool: link: clang++ -g -O2 -ffile-prefix-map=/tmp/autopkgtest-lxc.4x6n726o/downtmp/build.8AY/src=. -fstack-protector-strong -Wformat -Werror=format-security -fsanitize=fuzzer -Wl,-z -Wl,relro -o tests/ssml-fuzzer.test tests/ssml_fuzzer_test-ssml-fuzzer.o tests/dummy.o  -lespeak-ng -lsonic
/usr/bin/ld: cannot find /usr/lib/llvm-14/lib/clang/14.0.6/lib/linux/libclang_rt.fuzzer-x86_64.a: No such file or directory
/usr/bin/ld: cannot find /usr/lib/llvm-14/lib/clang/14.0.6/lib/linux/libclang_rt.fuzzer_interceptors-x86_64.a: No such file or directory
/usr/bin/ld: cannot find /usr/lib/llvm-14/lib/clang/14.0.6/lib/linux/libclang_rt.ubsan_standalone-x86_64.a: No such file or directory
/usr/bin/ld: cannot find /usr/lib/llvm-14/lib/clang/14.0.6/lib/linux/libclang_rt.ubsan_standalone_cxx-x86_64.a: No such file or directory

This untested patch should do the trick:
  Tests: fuzz
  Architecture: amd64 arm64 i386
-Depends: @builddeps@, clang, libespeak-ng-dev
+Depends: @builddeps@, clang, clang-rt, libespeak-ng-dev

thanks

Gianfranco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-a11y-devel/attachments/20230124/d7457b02/attachment.sig>


More information about the Pkg-a11y-devel mailing list