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

Bug#971597: lintian: Incorrect internal file listing for multiple upstream tarballs



Package: lintian
Version: 2.96.0
Severity: normal
File: /usr/share/lintian/lib/Lintian/Processable/Orig.pm

Dear Maintainer,

Lintian::Processable::Orig produces an incorrect file listing when
the common prefix of secondary tarballs isn't equal to the component
name.  dpkg-source(1) reads

    Extracting

    The main original tarball is extracted first, then all additional
    original tarballs are extracted in subdirectories named after the
    component part of their filename (any pre-existing directory is
    replaced).

however Lintian::Processable::Orig's following snippet yields a
different behavior:

    # keep common prefix when equal to the source component
    if ($unwanted ne $component) {
        $subindex->drop_common_prefix;
        $subindex->drop_basedir_segment;
    }

This yields a false-positive informational tag (‘wildcard-matches-nothing-in-dep5-copyright’)
in roundcube 1.4.9.  The secondary orig tarball for component
‘tinymce-langs’ has ‘langs/’ as common prefix hence is moved to the root,
which is definitely unexpected.

Thanks for maintaining Lintian!
-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature


Reply to: