Retire data.tar.xz-member-without-dpkg-pre-depends

Signed-off-by: Niels Thykier <niels@thykier.net>
c/fields: Add info about how to fix perl-dependency problems

Point to cme as a means of fixing versioned-dependency-satisfied-by-perl
and package-superseded-by-perl.
c/manpages: Manual redirect & chdir when invoking man

Signed-off-by: Niels Thykier <niels@thykier.net>
c/manpages: Set MANROFFSEQ when calling man

Signed-off-by: Niels Thykier <niels@thykier.net>
c/manpages: Re-direct man's stdout to /dev/null

While closing stdout does not seem to cause any errors, it seems
more prudent to redirect to /dev/null instead.

Signed-off-by: Niels Thykier <niels@thykier.net>
c/manpages: Pass -Tutf8 -Z to man

This skips part of the groff pipeline, making Lintian a bit faster on
packages with a lot of manpages.

Signed-off-by: Niels Thykier <niels@thykier.net>
data: Update doc-base section list

Signed-off-by: Niels Thykier <niels@thykier.net>
c/source-cpy: Check for common misspelled field names

Use "Levenshtein edit distance" to detect misspelled field names in
DEP-5 copyright files.

Signed-off-by: Niels Thykier <niels@thykier.net>
L::Collect{,::Source}: Add DEFAULT parameter to {X_,}field

This new optional parameter can be used to determine the default value
if a field is missing.  This is useful to avoid having to having to
handle "undef" values in some cases.

Signed-off-by: Niels Thykier <niels@thykier.net>
coll/objdump-info: dctrl-ify the output

Instead of relying on making "readelf output look like objdump",
filter out the unneeded part and write the interesting data as
a dctrl formatted file.

As a side effect, merge apparently-truncated-elf-binary into
apparently-corrupted-elf-binary.  Unlike objdump, readelf does not
really give a reliable way of distinguishing the two cases.

The patch also fixes a couple of references to objdump in the
tag description of two tags.

Signed-off-by: Niels Thykier <niels@thykier.net>
coll/objdump-info-helper: Ignore more unneeded readelf output

Signed-off-by: Niels Thykier <niels@thykier.net>
L::Relation: Fix error with bit flag "and" operation

Signed-off-by: Niels Thykier <niels@thykier.net>
c/version-substvars: Extend foreign pkg check to all relations

Signed-off-by: Niels Thykier <niels@thykier.net>
lintian: Fix synopsis for --no-cfg in help output

Signed-off-by: Niels Thykier <niels@thykier.net>
L::Collect: Add lab_data_path to access files in the lab

Add lab_data_path method to L::Collect as a convenience method around
base_dir to access a file in the entry.  This replaces a bit of boiler
plate code inside L::Collect{,::*} to access various files and dirs.

Signed-off-by: Niels Thykier <niels@thykier.net>
c/manpages: Close the right handle and reap man process

Otherwise, the manpage pids will remain zombies until the unpack loop
for the next group reaps them.  However, it cannot properly handle it,
causing Lintian to break with process multiple processes.

This fixes a regression introduced in 3c351b6.

Signed-off-by: Niels Thykier <niels@thykier.net>
L::Cmd::Simple: Fix wait()'s return value

It is documented to return "undef" when reaping an "unexpected pid".
However, it relies on an implicit return to do so and therefore does
not always behave as documented.

Signed-off-by: Niels Thykier <niels@thykier.net>
lintian: Bail if a check leaves a zombie process behind

This check should catch regressions like the one fixed in 3bbcc3b
earlier.

Signed-off-by: Niels Thykier <niels@thykier.net>
lintian: Fix typo in method name

Signed-off-by: Niels Thykier <niels@thykier.net>
c/deb-format: Add missing import of fail()

Signed-off-by: Niels Thykier <niels@thykier.net>