Your message dated Wed, 25 Dec 2013 21:21:36 +0000
with message-id <[email protected]>
and subject line Bug#733027: fixed in libopenoffice-oodoc-perl 2.125-3
has caused the Debian Bug report #733027,
regarding Silence warnings about "Use of uninitialized value in lc"
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.)


-- 
733027: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733027
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libopenoffice-oodoc-perl
Version: 2.125-2
Tags: patch

The current version of libopenoffice-oodoc-perl in Debian (and in
Ubuntu) has a rather annoying little bug: it seems to spew out
warnings of the form:

  Use of uninitialized value in lc at /usr/share/perl5/OpenOffice/OODoc/File.pm 
line 378.

This is due, of course, to the function "lc" being applied to a
possibly-undefined value.

The solution is to change OODoc/File.pm, line 378, from:

  my $od = lc $self->{'opendocument'};

to:

  my $od = $self->{'opendocument'};
  $od = lc $od if defined($od);

I have prepared a patch against the current Debian package that
creates a new debian/patches/silence-warnings.patch file with the
appropriate diff.

Could you please apply this patch.  Thanks!

Yours truly,

John Zaitseff

-- 
John Zaitseff                    ,--_|\    The ZAP Group
Phone:  +61 2 9643 7737         /      \   Sydney, Australia
E-mail: [email protected]   \_,--._*   http://www.zap.org.au/
                                      v
diff -ruNa libopenoffice-oodoc-perl-2.125.orig/debian/patches/series libopenoffice-oodoc-perl-2.125/debian/patches/series
--- libopenoffice-oodoc-perl-2.125.orig/debian/patches/series	2012-05-05 04:54:11.000000000 +1000
+++ libopenoffice-oodoc-perl-2.125/debian/patches/series	2013-12-24 16:05:50.691089499 +1100
@@ -1,2 +1,3 @@
 fix-pod-errors.patch
 spelling.patch
+silence-warnings.patch
diff -ruNa libopenoffice-oodoc-perl-2.125.orig/debian/patches/silence-warnings.patch libopenoffice-oodoc-perl-2.125/debian/patches/silence-warnings.patch
--- libopenoffice-oodoc-perl-2.125.orig/debian/patches/silence-warnings.patch	1970-01-01 10:00:00.000000000 +1000
+++ libopenoffice-oodoc-perl-2.125/debian/patches/silence-warnings.patch	2013-12-24 16:10:05.991918678 +1100
@@ -0,0 +1,14 @@
+Index: libopenoffice-oodoc-perl-2.125/OODoc/File.pm
+===================================================================
+--- libopenoffice-oodoc-perl-2.125.orig/OODoc/File.pm	2010-07-08 03:39:55.000000000 +1000
++++ libopenoffice-oodoc-perl-2.125/OODoc/File.pm	2013-12-24 16:09:54.972228124 +1100
+@@ -375,7 +375,8 @@
+ 		@_
+ 		};
+ 
+-	my $od = lc $self->{'opendocument'};
++	my $od = $self->{'opendocument'};
++	$od = lc $od if defined($od);
+ 	unless ($od)
+ 		{
+ 		if ($OpenOffice::OODoc::File::DEFAULT_OFFICE_FORMAT == 2)

--- End Message ---
--- Begin Message ---
Source: libopenoffice-oodoc-perl
Source-Version: 2.125-3

We believe that the bug you reported is fixed in the latest version of
libopenoffice-oodoc-perl, 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.
Axel Beckert <[email protected]> (supplier of updated libopenoffice-oodoc-perl 
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: SHA1

Format: 1.8
Date: Wed, 25 Dec 2013 20:50:28 +0100
Source: libopenoffice-oodoc-perl
Binary: libopenoffice-oodoc-perl
Architecture: source all
Version: 2.125-3
Distribution: unstable
Urgency: low
Maintainer: Debian Perl Group <[email protected]>
Changed-By: Axel Beckert <[email protected]>
Description: 
 libopenoffice-oodoc-perl - module for working with Open Document Format files
Closes: 733027
Changes: 
 libopenoffice-oodoc-perl (2.125-3) unstable; urgency=low
 .
   * Team upload
 .
   [ Salvatore Bonaccorso ]
   * Change Vcs-Git to canonical URI (git://anonscm.debian.org)
   * Change search.cpan.org based URIs to metacpan.org based URIs
 .
   [ Axel Beckert ]
   * Fix FTBFS due to interactive questions by using "rm -f" instead of
     just "rm" in debian/rules.
   * Apply patch by John Zaitseff to silence lc warnings about undefined
     values. (Closes: #733027)
   * Bump Standards-Version to 3.9.5 (no changes)
   * Bump debhelper compatibility to 9 to get rid of dh_pysupport
     deprecation warning.
     + Update versioned debhelper build-dependency accordingly
   * Apply wrap-and-sort
Checksums-Sha1: 
 007261c6b1f348dadda1bfdc8c9da0797fea7bda 1683 
libopenoffice-oodoc-perl_2.125-3.dsc
 5c592b0f4ead7ee8df600ab79428c2b92edd92ef 5959 
libopenoffice-oodoc-perl_2.125-3.debian.tar.gz
 7a67acf6d61b9ad94818f148e21673d84e96cbd2 460834 
libopenoffice-oodoc-perl_2.125-3_all.deb
Checksums-Sha256: 
 5b8fda5ee768d56ae94930b801d597d9aff76dadff33cd7122627427b39b1e12 1683 
libopenoffice-oodoc-perl_2.125-3.dsc
 ff504fc9cca77e2a83bf574b9ffb06b1ba13cc8927ae996d2b208070c0180e8a 5959 
libopenoffice-oodoc-perl_2.125-3.debian.tar.gz
 64d48e69ad9ee8c9519c278c76917b5b955cde03f6489656fbe17d927b0c10d7 460834 
libopenoffice-oodoc-perl_2.125-3_all.deb
Files: 
 23914e0b63cc5c442adb55745f5f5b61 1683 perl optional 
libopenoffice-oodoc-perl_2.125-3.dsc
 b33cb68223accb4952fb265d55ab8dce 5959 perl optional 
libopenoffice-oodoc-perl_2.125-3.debian.tar.gz
 995b855e2e0c711601fc539b3f680988 460834 perl optional 
libopenoffice-oodoc-perl_2.125-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iEUEARECAAYFAlK7OFAACgkQwJ4diZWTDt7f8ACfTbRo3ZykY/ZjRU4LHa3fgkD0
GTAAljItGiSRX3vxf1AAUWgCCmokA1k=
=NY6k
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to