Bug#838185: chdist: Mute some Perl warnings
Christoph Biedl
debian.axhn at manchmal.in-ulm.de
Sun Sep 18 08:12:42 UTC 2016
Package: devscripts
Version: 2.16.7
Severity: minor
Dear Maintainer,
the chdist program emits several "Use of uninitialized value"
warnings. Please consider the patch attached to mute those I triggered
easily and pretty often.
Don't be concerned about the patch offsets, this is supposed to be on
top of the other patch I just sent.
Christoph
-- Package-specific info:
--- /etc/devscripts.conf ---
--- ~/.devscripts ---
Not present
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.4.20 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages devscripts depends on:
ii dpkg-dev 1.18.10
ii libc6 2.23-5
ii perl 5.22.2-5
pn python3:any <none>
Versions of packages devscripts recommends:
ii apt 1.3~rc4
pn at <none>
ii curl 7.50.1-1
ii dctrl-tools 2.24-2
pn debian-keyring <none>
pn dput | dupload <none>
pn equivs <none>
ii fakeroot 1.21-2
ii file 1:5.28-4
ii gnupg 1.4.20-6
ii gnupg2 2.1.11-7
ii libdistro-info-perl 0.14
ii libencode-locale-perl 1.05-1
ii liblwp-protocol-https-perl 6.06-2
pn libsoap-lite-perl <none>
ii liburi-perl 1.71-1
ii libwww-perl 6.15-1
pn licensecheck <none>
ii lintian 2.5.47
ii man-db 2.7.5-1
ii patch 2.7.5-1
ii patchutils 0.3.4-1
ii python3-debian 0.1.29
ii python3-magic 1:5.28-4
ii sensible-utils 0.0.9
ii strace 4.12-3
ii unzip 6.0-20
ii wdiff 1.2.2-1+b1
ii wget 1.18-2+b1
ii xz-utils 5.1.1alpha+20120614-2.1
Versions of packages devscripts suggests:
pn bsd-mailx | mailx <none>
ii build-essential 12.2
pn cvs-buildpackage <none>
pn devscripts-el <none>
ii diffoscope 60
pn dose-extra <none>
pn gnuplot <none>
ii gpgv 1.4.20-6
pn libauthen-sasl-perl <none>
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
pn libyaml-syck-perl <none>
ii mozilla-devscripts 0.47
ii mutt 1.7.0-1
ii openssh-client [ssh-client] 1:7.3p1-1
pn reprotest <none>
pn svn-buildpackage <none>
ii w3m 0.5.3-29
-- no debconf information
-------------- next part --------------
--- /usr/bin/chdist
+++ /tmp/chdist
@@ -500,7 +507,7 @@
# Escaped versions
my @esc_vers = @versions;
foreach my $vers (@esc_vers) {
- $vers =~ s|\+|\\\+|;
+ $vers =~ s|\+|\\\+| if (defined ($vers));
}
# Do compare
@@ -585,7 +592,7 @@
foreach my $package (@all_packages) {
my $line = "$package ";
my $status = "";
- my $details;
+ my $details = "";
foreach my $type (@comp_types) {
if ( $packages{$type}{$package} ) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20160918/9b6ba18a/attachment.sig>
More information about the devscripts-devel
mailing list