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

Bug#996111: lintian: Incorrect warnings for HTML files



On Tue, 12 Oct 2021 at 21:47, Felix Lechner wrote:
>
> On Tue, Oct 12, 2021 at 3:42 AM Hugh McMaster wrote:
> >
> > Indeed. Why does Lintian always say "Line 2"? There is nothing
> > controversial about that line in the HTML documentation.
>
> I see that, too. I can reproduce it locally.
>
> I don't think the line number is the issue. The hint is wrong
> altogether, isn't it?

The source tarball also contains the HTML documentation. At the very
bottom of the files, there is an embedded <script> tag with JSON. The
line length is ~740 characters, which appears to be the line
triggering the Lintian hints.

I tried split the line in the 404.html file, then repackaged the
original tarball and modified the unpacked source directory. After
rebuilding, Lintian no longer warns about source-is-missing,
source-contains-prebuilt-javascript-object, or
very-long-line-length-in-source-file.

So, it seems all three hints are linked to the line length.

Whether this can be managed or should be managed is a matter for
consideration. It might be easiest if I do a source override.


Reply to: