[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#968071: lintian: Differentiate between "ar" static libraries and "ar" archives



Hi Olek,

On Fri, Aug 7, 2020 at 6:03 PM Olek Wojnar <olek@debian.org> wrote:
>
> Lintian currently emits an arch-dependent-file-in-usr-share

I cannot find bazel in the archive. How can I trigger the tag, please?

> lintian assumes that this is a static library.

That is probably right. The relevant line is:

    https://salsa.debian.org/lintian/lintian/-/blob/master/checks/binaries.pm#L345

> https://salsa.debian.org/bazel-team/bazel-bootstrap/-/tree/olek-temp4/tools/build_defs/pkg/testdata

The link shows source files but the tag is about installed files.
Which *.deb are you using, please?

> Please consider using the `file` command or something similar to distinguish
> between the two types of "ar" files.

I am not sure it is possible to distinguish them that way, but am
happy to look at it once I can reproduce. The ar files in your source
tree also come up as 'current ar archive'.

Kind regards
Felix Lechner


Reply to: