Bug#1057586: nvda2speechd: FTBFS: error: failed to run custom build command for `speech-dispatcher-sys v0.7.0`

Samuel Thibault sthibault at debian.org
Wed Dec 6 00:15:19 GMT 2023


Control: reassign -1 clang-15
Control: affects -1 src:nvda2speechd

Hello,

Santiago Vila, le mar. 05 déc. 2023 23:08:27 +0100, a ecrit:
> During a rebuild of all packages in unstable, your package failed to build:
> 
[...]
>      Running `/<<PKGBUILDDIR>>/src/server/target/release/build/speech-dispatcher-sys-0141496207297e1b/build-script-build`
> error: failed to run custom build command for `speech-dispatcher-sys v0.7.0`
> 
> Caused by:
>   process didn't exit successfully: `/<<PKGBUILDDIR>>/src/server/target/release/build/speech-dispatcher-sys-0141496207297e1b/build-script-build` (exit status: 101)
>   --- stdout
>   cargo:rustc-link-lib=speechd
> 
>   --- stderr
>   thread 'main' panicked at '"__mbstate_t_union_(unnamed_at_/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t_h_16_3)" is not a valid Ident', /<<PKGBUILDDIR>>/tmp/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.39/src/fallback.rs:700:9

This doesn't happen in bookworm.

I don't know where this "(unnamed_at_...)" part comes from exactly,
possibly from

./llvm/lib/IR/Mangler.cpp:    getNameWithPrefixImpl(OS, "__unnamed_" + Twine(ID), DL, PrefixTy);
./llvm/lib/Passes/StandardInstrumentations.cpp:  out << "unnamed_" << FuncOrderBlockNum << "<" << BB << ">";

but what is sure is that when, starting from a bookworm chroot, I
merely install libclang1-16 from trixie, I get the issue (installing
libclang1-15 doesn't trigger it).

Samuel



More information about the Pkg-a11y-devel mailing list