Bug#763891: pkg-perl-tools: Lintian check module-name traverses user's current directory instead of package contents

Axel Beckert abe at debian.org
Fri Oct 3 13:44:44 UTC 2014


Package: pkg-perl-tools
Version: 0.12
Severity: serious
Justification: maintainer's opinion, severe performance issue
File: /usr/share/lintian/checks/pkg-perl/module-name.pm

Hi,

commit c096fef2d01e5d75e0376a6eadf89d187e449aa0 (by yours truly)
introduced a severe performance issue depending on the contents of the
current directory: The File::Find usage in
/usr/share/lintian/checks/pkg-perl/module-name.pm traverses the user's
current directory, not the package's contents.

Thanks to Niels Thykier for spotting this. I noticed the symptoms before
(strace showed traversing .git/object stores which should not be part of
a .dsc), but didn't dig deep enough to find the cause.

I'll likely fix this in a 0.19 upload this evening.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (400, 'stable'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.17-rc5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pkg-perl-tools depends on:
ii  debhelper                      9.20140817
ii  devscripts                     2.14.7
ii  dh-make-perl                   0.83-1
ii  dpkg-dev                       1.17.13
ii  git                            1:2.1.1-1
ii  git-buildpackage               0.6.19
ii  libdatetime-perl               2:1.12-1
ii  libdpkg-perl                   1.17.13
ii  libipc-run-perl                0.92-1
ii  libparse-debianchangelog-perl  1.2.0-1.1
ii  libproc-invokeeditor-perl      1.07-1
ii  librt-client-rest-perl         1:0.49-1
ii  lintian                        2.5.28
ii  openssh-client [ssh-client]    1:6.6p1-7
ii  perl                           5.20.1-1
ii  pristine-tar                   1.32
ii  quilt                          0.63-3

Versions of packages pkg-perl-tools recommends:
ii  libconfig-model-dpkg-perl  2.056
ii  libconfig-model-perl       2.061-1
ii  libdebian-copyright-perl   0.2-1
ii  libfile-slurp-perl         9999.19-4
ii  libmime-lite-perl          3.030-2
ii  libmodule-inspector-perl   1.05-2
ii  libnet-github-perl         0.69-1
ii  libsoap-lite-perl          1.11-1
ii  libwww-mechanize-perl      1.73-2
ii  libyaml-libyaml-perl       0.41-5+b1
ii  mr                         1.16
ii  myrepos [mr]               1.20140831.1

Versions of packages pkg-perl-tools suggests:
ii  bc                   1.06.95-9
ii  cdbs                 0.4.126
ii  duck                 0.5
ii  moreutils            0.52
ii  perl-depends         2012.0701+gitb1fd535-1
ii  python               2.7.8-1
ii  python-launchpadlib  1.10.2+ds-2

-- no debconf information



More information about the pkg-perl-maintainers mailing list