Bug#856562: libcolor-library-perl: debian patch breaks some package functionality

Jeff Norden jeff at math.tntech.edu
Thu Mar 2 14:06:07 UTC 2017


Package: libcolor-library-perl
Version: 0.021-2
Severity: normal
Tags: patch

The debian patch to this library disables the parse_rgb_color() subroutine:

  jeff at norden:~$ perl -d -e1
  ...
    DB<1> use Color::Library::Color
    DB<2> @rgb= Color::Library::Color::parse_rgb_color('#2a547e')
  Undefined subroutine &Color::Library::Color::parse_rgb_color called at (eval 10)[/usr/share/perl/5.22/perl5db.pl:737] line 2.

The @rgb array should have been set to (42,84,126).  The problem is that the
=back added to Color.pm is misplaced.  In fact, the code for the parse
subroutine shows up in the man page!

Attached is a corrected version of pod-fixes.patch.  It also moves the first
=back in Color.pm to a more reasonable position.  Alternatively, you could
just delete the patch and ignore the mostly-harmless warnings at the end of
the man pages.

Thanks!
  -Jeff Norden, jeff at math.tntech.edu
   Dept of Math, Tenn Tech Univ, Cookeville TN 38505

-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages libcolor-library-perl depends on:
ii  libclass-accessor-perl          0.34-1
ii  libclass-data-inheritable-perl  0.08-2
ii  libmodule-pluggable-perl        5.2-1
ii  perl                            5.22.1-9

libcolor-library-perl recommends no packages.

libcolor-library-perl suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pod-fixes-updated.patch
Type: text/x-diff
Size: 1464 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170302/f929c2a3/attachment.patch>


More information about the pkg-perl-maintainers mailing list