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 <[email protected]> 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;
signature.asc
Description: Digital Signature

