Your message dated Tue, 04 Dec 2018 12:34:02 +0000
with message-id <[email protected]>
and subject line Bug#721028: fixed in apt-show-source 0.11
has caused the Debian Bug report #721028,
regarding apt-show-source: Use of uninitialized value $value in substitution
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
721028: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721028
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: apt-show-source
Version: 0.10
Severity: normal
Tags: patch

Keep seeing these warnings:

Use of uninitialized value $value in substitution (s///) at 
/usr/bin/apt-show-source line 262, <FILE> line 16.
Use of uninitialized value $value in substitution (s///) at 
/usr/bin/apt-show-source line 263, <FILE> line 16.
Use of uninitialized value $value in substitution (s///) at 
/usr/bin/apt-show-source line 262, <FILE> line 53.
Use of uninitialized value $value in substitution (s///) at 
/usr/bin/apt-show-source line 263, <FILE> line 53.

This trivial patch corrects that:

--- /usr/bin/apt-show-source    2003-11-02 14:15:07.000000000 +0100
+++ /tmp/apt-show-source        2013-08-27 12:37:34.000000000 +0200
@@ -259,8 +259,10 @@
                }
                unless ((/^Package/) || (/^Version/) || (/^Status/) || 
(/^Source/)) {next};
                ($key, $value) = split /: /, $_;
-               $value =~ s/\n//;
-               $value =~ s/\s\(.*\)$//; # Remove any Version information in ()
+               if ($value) {
+                       $value =~ s/\n//;
+                       $value =~ s/\s\(.*\)$//; # Remove any Version 
information in ()
+               }
                $package->{$key} = $value;
        }
        if ($opts{'verbose'}) {print " completed.\n"};


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (99, 'unstable'), (59, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE= (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt-show-source depends on:
ii  apt   0.9.9.4
ii  perl  5.14.2-21

apt-show-source recommends no packages.

apt-show-source suggests no packages.

-- no debconf information


Cheers,

-- 
Cristian

--- End Message ---
--- Begin Message ---
Source: apt-show-source
Source-Version: 0.11

We believe that the bug you reported is fixed in the latest version of
apt-show-source, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
OHURA Makoto <[email protected]> (supplier of updated apt-show-source package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 26 Nov 2018 16:00:20 +0900
Source: apt-show-source
Binary: apt-show-source
Architecture: source all
Version: 0.11
Distribution: unstable
Urgency: medium
Maintainer: OHURA Makoto <[email protected]>
Changed-By: OHURA Makoto <[email protected]>
Description:
 apt-show-source - Shows source-package information
Closes: 721028
Changes:
 apt-show-source (0.11) unstable; urgency=medium
 .
   * Update Standards-Version.
   * apt-show-source.in: Bug fix: "Use of uninitialized value $value in
     substitution", thanks to Cristian Ionescu-Idbohrn (Closes: #721028).
   * apt-show-source.*.1.pod: Change charcode to UTF-8 and add
     '=encoding utf-8'.
   * debian/rules:
     - Use dh_prep instead of dh_clean -k.
     - Use $(CURDIR) instead of $(PWD).
     - Use dh_installchangelogs to install Changes.
     - Add build-arch and build-indep targets.
   * debian/source/format: Add.
   * debian/copyright: Add copyright notice.
Checksums-Sha1:
 94e093811124d24c1e3f47d571dc707d3889cc7f 1452 apt-show-source_0.11.dsc
 9cf0c6a8f2519054d918e93e62429059b1559c01 9208 apt-show-source_0.11.tar.xz
 85ef79f4cd0a29f022afbdfefb075677d6a073a8 15944 apt-show-source_0.11_all.deb
 02f217b5dcffbb488675fcf176215350bc7feac0 5596 
apt-show-source_0.11_amd64.buildinfo
Checksums-Sha256:
 f54529ed8db8177b5edbc8088741029fc1bd2198fade9f2d60b2580105d4c1c4 1452 
apt-show-source_0.11.dsc
 d7a7bbf6e9fa65f0ee9bd12f8c0c65fb4c39a63283d540b21ccdef53bb790ca8 9208 
apt-show-source_0.11.tar.xz
 14fa8666782919c292b7d058bb2be67ee24862654c4911663f6d1f3b625782d7 15944 
apt-show-source_0.11_all.deb
 c1393d9f02c2754810765aa24bb1d72d06ebfb22b40c69363c0a400e9af16d6a 5596 
apt-show-source_0.11_amd64.buildinfo
Files:
 2b61f007c7201473a3ad7c0924a1dc70 1452 admin optional apt-show-source_0.11.dsc
 7fd7a6f9636a2a9bdcaa220627f522c2 9208 admin optional 
apt-show-source_0.11.tar.xz
 39dea1177180b38a4dd122bdafd5df53 15944 admin optional 
apt-show-source_0.11_all.deb
 255414cd0a76b47c49d631923e20da9e 5596 admin optional 
apt-show-source_0.11_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEzltMOpc6N+Dwlr4oMbje24xt9c0FAlwGbsIACgkQMbje24xt
9c0ohw//eLsGqvl8+KV+gFFwTceJ8+3AAfTAqobfUJByDhucdzOfKW5uV8hHIvEw
D5RS0DXMHt/cRFua0/tUaWohUAGw9ONOCO/We5+v7jJJGOXHWQt/WjxGqtAzA6EB
feQCAv22fiGMc+JACm4ACP+9ztr3ykmR+sZJq3F+lU1e/1ZQRBNVVVwrM12E9nVT
ZaWJD7hgafwXM2Cj091xvNMeJfOOkfPoScC7I1u+n0gJ5GOICwnn/C9kzFpmEtx6
YeWxatWKizFzFpxkhIhdlYFSPpLpJDUBeSvoRZcGUWIYnsI4g96f94swsqoiLKvN
NXoftG+EtWmZdn5ozSLsozWeDaQ/W2qSIYmYARCJZ/tK4R2kuCDV0oPsEOGbX1He
ikAd1EahbRoIHIMvKFY1RO7KbTNVTp1nqF/YTeLH7PyzLoxVV76FVze5Nwwjy0J9
JWrpR13TeuOQvRB/BSW8LjtCG3lkgnwU8rRYbuLPubmwOTECrdT/VlxN5tMKO5Kf
kCdbPzZqu9sxypWlMVn5UBUL0aeyd9JII/uT5Mh2GcI0bh6pg2e16rTUxrCnps4N
+4KjHEf4kOiwwAboBxMm4QYRuNZ6WqVNFyvxYV6VNFsI4A24YnxQWUAu8e1HwzZ7
HYSXJP62MHD/pHr/M0btIWVtuc5mvurpNOEIFD5Ta0JvIW5szkY=
=Zi80
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to