Bug#823218: /usr/bin/uscan: uscan: incorrectly imports catfile

Craig Small csmall at debian.org
Mon May 2 12:00:54 UTC 2016


Package: devscripts
Version: 2.16.4
Severity: normal
File: /usr/bin/uscan
Tags: patch

uscan crashes out because catfile is not correctly imported.

uscan info: New orig.tar.* tarball version (after mk-origtargz): 4.5.1
uscan info: Successfully repacked wordpress-4.5.1.tar.gz as
wordpress_4.5.1.orig.tar.xz.
Undefined subroutine &main::catfile called at /usr/bin/uscan line 3791.

http://perldoc.perl.org/File/Spec.html shows if you want to import the
functions you should be using File::Spec::Functions

One-liner patch attached.


-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
DEBUILD_ROOTCMD=fakeroot
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-uc -us"
DSCVERIFY_KEYRINGS=~/.gnupg/pubring.gpg
DEBRELEASE_UPLOADER=dput
DEBSIGN_KEYID=3938F96BDF50FEA5
DEBEMAIL="csmall at debian.org"
DEBRELEASE_DEBS_DIR=../build-area/

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages devscripts depends on:
ii  dpkg-dev     1.18.4
ii  libc6        2.22-5
ii  perl         5.22.2-1
pn  python3:any  <none>

Versions of packages devscripts recommends:
ii  apt                         1.2.10
ii  at                          3.1.18-2
ii  curl                        7.47.0-1
ii  dctrl-tools                 2.24-2
ii  debian-keyring              2016.03.22
ii  dput                        0.9.6.4
ii  dupload                     2.7.0
ii  equivs                      2.0.9+nmu1
ii  fakeroot                    1.20.2-1
ii  file                        1:5.25-2
ii  gnupg                       1.4.20-5
ii  gnupg2                      2.1.11-6
ii  libdistro-info-perl         0.14
ii  libencode-locale-perl       1.05-1
ii  liblwp-protocol-https-perl  6.06-2
ii  libsoap-lite-perl           1.19-1
ii  liburi-perl                 1.71-1
ii  libwww-perl                 6.15-1
ii  lintian                     2.5.43
ii  man-db                      2.7.5-1
ii  patch                       2.7.5-1
ii  patchutils                  0.3.4-1
ii  python3-debian              0.1.27
ii  python3-magic               1:5.25-2
ii  sensible-utils              0.0.9
ii  strace                      4.11-1
ii  unzip                       6.0-20
ii  wdiff                       1.2.2-1+b1
ii  wget                        1.17.1-1+b1
ii  xz-utils                    5.1.1alpha+20120614-2.1

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20160123cvs-2
ii  build-essential              12.2
pn  cvs-buildpackage             <none>
pn  devscripts-el                <none>
pn  diffoscope                   <none>
pn  dose-extra                   <none>
ii  gnuplot                      4.6.6-3
ii  gpgv                         1.4.20-5
ii  libauthen-sasl-perl          2.1600-1
ii  libfile-desktopentry-perl    0.22-1
ii  libnet-smtp-ssl-perl         1.03-1
pn  libterm-size-perl            <none>
ii  libtimedate-perl             2.3000-2
ii  libyaml-syck-perl            1.29-1+b1
pn  mozilla-devscripts           <none>
ii  mutt                         1.5.24-1+b1
ii  openssh-client [ssh-client]  1:7.2p2-2
pn  svn-buildpackage             <none>
ii  w3m                          0.5.3-27

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uscan.patch
Type: text/x-diff
Size: 340 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20160502/ac33e0f7/attachment.patch>


More information about the devscripts-devel mailing list