Control: tag -1 + patch

On Fri, 11 Aug 2017 23:30:27 +0300, Adrian Bunk wrote:

> Source: debian-zh-faq
> Version: 1.13
> Severity: serious
> Tags: buster sid
> 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/debian-zh-faq.html
> 
> ...
> # For LaTeX
> ./tocn.pl < debian-zh-faq.zh_CN.tex.tmp \
>       > debian-zh-faq.zh_CN.tex
> ./tocn.pl < debian-zh-faq.en.tex.tmp \
>       > debian-zh-faq.en.tex
> autob5 < debian-zh-faq.zh_TW.tex.tmp | ./totw.pl | ./totw_zhe.pl \
>       > debian-zh-faq.zh_TW.tex
> Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in 
> m/�A�ȵ{ <-- HERE ��/ at ./totw.pl line 39.
> # For LaTeX2HTML
> ./tohtml.pl < debian-zh-faq.zh_CN.tex.tmp | ./tocn.pl \
>       > debian-zh-faq-zh_CN-html.tex
> ./tohtml.pl < debian-zh-faq.en.tex.tmp | ./tocn.pl \
>       > debian-zh-faq-en-html.tex
> ./tohtml.pl < debian-zh-faq.zh_TW.tex.tmp | autob5 | ./totw.pl \
>       | ./totw_zhe_html.pl > debian-zh-faq-zh_TW-html.tex
> Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in 
> m/�A�ȵ{ <-- HERE ��/ at ./totw.pl line 39.
> ...

Here's a patch which escapes the opening curly brackets in ./totw.pl.


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 of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   
diff -Nru debian-zh-faq-1.13/debian/changelog debian-zh-faq-1.13+nmu1/debian/changelog
--- debian-zh-faq-1.13/debian/changelog	2012-04-29 00:34:07.000000000 -0400
+++ debian-zh-faq-1.13+nmu1/debian/changelog	2017-08-12 12:02:27.000000000 -0400
@@ -1,3 +1,12 @@
+debian-zh-faq (1.13+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "debian-zh-faq FTBFS with perl 5.26":
+    escape literal left braces in regexps in ./totw.pl
+    (Closes: #871818)
+
+ -- gregor herrmann <gre...@debian.org>  Sat, 12 Aug 2017 12:02:27 -0400
+
 debian-zh-faq (1.13) unstable; urgency=low
 
   * Fix "FTBFS: ! LaTeX Error: File `url.sty' not found." (Closes: #666660)
diff -Nru debian-zh-faq-1.13/totw.pl debian-zh-faq-1.13+nmu1/totw.pl
--- debian-zh-faq-1.13/totw.pl	2011-06-04 04:54:36.000000000 -0400
+++ debian-zh-faq-1.13+nmu1/totw.pl	2017-08-12 12:02:27.000000000 -0400
@@ -36,7 +36,7 @@
 s/ªA¨Í¾¹/¦øªA¾¹/g;
 
 # Riser §â "server" ¥s§@ "ªA°Èµ{§Ç" ¡K¡K
-s/ªA°Èµ{§Ç/¦øªA¾¹/g;
+s/ªA°Èµ\{§Ç/¦øªA¾¹/g;
 
 1 while (s/^((?:[\x00-\x7f]|[\x80-\xff].)*)­pºâ¾÷/$1¹q¸£/);
 1 while (s/^((?:[\x00-\x7f]|[\x80-\xff].)*)¤º®Ö/$1®Ö¤ß/);
@@ -68,11 +68,11 @@
 s/\<s\<¤å¥ó¦W\>\>/ÀɮצWºÙ/g;
 s/\<s\<°t¸m¤å¥ó\>\>/³]©wÀÉ/g;
 s/\<s\<°t¸m\>\>/³]©w/g;
-s/\<s\<µ{§Ç\>\>/µ{¦¡/g;
-s/«È¤áµ{§Ç/«È¤áµ{¦¡/g;
+s/\<s\<µ\{§Ç\>\>/µ{¦¡/g;
+s/«È¤áµ\{§Ç/«È¤áµ{¦¡/g;
 s/\<s\<¼Æ¾Ú\>\>/¸ê®Æ/g;
 s/\<s\<«H®§\>\>/¸ê°T/g;
-s/\<s\<Àq»{\>\>/¹w³]/g;
+s/\<s\<Àq»\{\>\>/¹w³]/g;
 s/\<s\<¯Ê¬Ù\>\>/¹w³]/g;
 s/\<s\<ºôÃö\>\>/¹h¹D/g;
 s/\<s\<¤Þ¾É\>\>/±Ò°Ê/g;

Attachment: signature.asc
Description: Digital Signature

Reply via email to