Hi Chris, On Fri, Jul 26, 2019 at 5:33 AM Chris Lamb <la...@debian.org> wrote: > > Hi Helen, > > > 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). > > It could but, alas, the I think the "package exception" mechanism > regarding the binaries/embedded-libs data file appears to use the > binary package name... > > > Do you think it would be a good idea to rename the binary package? > > Just to silence this Lintian warning? That would seem like extreme > overkill to me! Regarding finding another string that is present in. > libyaml and not in rust-yaml-rust, do you have any suggestion at this > point?
This is the output of "strings libyaml-0.so.2.0.5": http://ix.io/1PAz And this is the output of "strings bat": http://ix.io/1PAJ Maybe we can get a string that is not present in both and long enough to not conflict with other things? e.g.: - "unexpected low surrogate area" - "control characters are not allowed" - "found a tab character where an indentation space is expected" (I also checked that these strings are not present in rust-yaml-rust package, in case the compiler is optimizing something when compiling bat) What do you think? > > > 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. > > I have not checked but isn't the question/issue around Rust embedding > the code of the library in question rather separate to the chain of > Debian-level dependencies. In other words, isn't this apparent > perculiarity explained by that bat embeds the rust-yaml-rust bit of > YAML parsing/generation code whilst that bit of rust-yaml-rust isn't > used in rust-syntect and thus is not embedded? I just noticed that librust*.deb packages just provides source code in rust, I think that is why the same lintian warning wasn't fired on rust-syntec (as librust-syntect-dev*.deb just provides source code). So when compiling in a final binary (bat in this case), lintian detects the embedded-binary. Thanks Helen > > > Regards, > > -- > ,''`. > : :' : Chris Lamb > `. `'` la...@debian.org chris-lamb.co.uk > `-