Hi Chris, On Wed, Jul 24, 2019 at 2:51 PM Chris Lamb <la...@debian.org> wrote: > > tags 932634 + moreinfo > thanks > > Hi Helen, > > > In lintian/data/binaries/embedded-libs, the criterium to detect if a > > library was linked statically against libyaml is to verify the string: > > > > libyaml ||(?m)^did not find expected <stream-start> > > > > But this string is also found in package rust-yaml-rust. > > Indeed. So, I not sure how Lintian is meant to "know" that this is > from the Rust version of YAML over the libyaml version. If bat was > called, say, "rust-bat" instead then we could use embedded-libs's > ability to filter via a regular expression, but that is alas not the > case. Any ideas...?
right, the binary package is not called rust-bat but the source package is [1]. Can lintian check for the source package name? (also not sure if it is a good idea). Do you think it would be a good idea to rename the binary package? Or maybe we could try find another string that is present in libyaml and not in rust-yaml-rust. Just a question regarding how lintian works: one thing that confused me is that bat doesn't depend on rust-yaml-rust directly, it depends on rust-syntect which depends on rust-yaml-rust. So I was wondering why I didn't get this error in lintian when building rust-syntect. [1] https://ftp-master.debian.org/new/rust-bat_0.11.0-1.html Thanks Helen > > > Best wishes,, > > -- > ,''`. > : :' : Chris Lamb > `. `'` la...@debian.org chris-lamb.co.uk > `-