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

Bug#801760: [checks/manpages] manpage-named-after-build-path won't trigger for packages built in sbuild



On Wed, Oct 14, 2015 at 12:30:27PM +0200, Jakub Wilk wrote:
> Package: lintian
> Version: 2.5.38
> 
> This code was meant to catch bugs like #713883:
> 
>        if ($file =~ m/_build_buildd/ or $file =~ /_tmp_buildd/) {
>            tag 'manpage-named-after-build-path', $file;
>        }
> 
> But sbuild builds stuff in /build/$PACKAGE-$RANDOMSTRING, so this regexp
> wouldn't match anything, unless the source package name starts with
> "buildd".

Also, pbuilder now easily allow changing the build path, and defaults
to /build/ (with inside the .dsc, .orig, etc and a $pkg-$ver directory,
as created by dpkg).

I wonder if just using
    $file =~ m/_build_/
instaead of
    $file =~ m/_build_buildd/
is sane enough.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: