Bug#974143: libencode-arabic-perl: autopkgtest regression with Perl 5.32: Useless use of /d modifier in transliteration operator

gregor herrmann gregoa at debian.org
Tue Nov 10 16:30:24 GMT 2020


On Tue, 10 Nov 2020 15:26:43 +0000, Niko Tyni wrote:

> Given the transliteration lists are built dynamically in the code, maybe
> the thing to do is just to insert some "no warnings 'misc'" declarations
> to suppress the warnings.

Some random notes:

1) popcon:
installed: 9 = vote: 1 + old: 7 + recent: 1 + no_files: 0

2) The following trivial patch makes the autopkgtest pass:

#v+
--- a/lib/Encode/Arabic/Buckwalter.pm
+++ b/lib/Encode/Arabic/Buckwalter.pm
@@ -158,6 +158,9 @@
 
         undef &encoder;
 
+        # https://bugs.debian.org/974143
+        no warnings 'misc';
+
         eval q /
 
             sub encoder ($) {
--- a/lib/Encode/Arabic/Habash.pm
+++ b/lib/Encode/Arabic/Habash.pm
@@ -160,6 +160,9 @@
 
         undef &encoder;
 
+        # https://bugs.debian.org/974143
+        no warnings 'misc';
+
         eval q /
 
             sub encoder ($) {
--- a/lib/Encode/Arabic/Parkinson.pm
+++ b/lib/Encode/Arabic/Parkinson.pm
@@ -154,6 +154,9 @@
 
         undef &encoder;
 
+        # https://bugs.debian.org/974143
+        no warnings 'misc';
+
         eval q /
 
             sub encoder ($) {
#v-

3a) This also turns off other warnings (obviously, the whole 'misc'
category);
3b) but actually the code blocks end after this operation so there
shouldn't be much left of ignored warnings  …



Cheers,
gregor  

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   NP: Bettina Wegner: Meinetwegen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20201110/46473750/attachment.sig>


More information about the pkg-perl-maintainers mailing list