On 08/08/17 at 16:13 -0400, gregor herrmann wrote: > Control: tag -1 + patch > > On Mon, 07 Aug 2017 11:58:29 -0400, Lucas Nussbaum wrote: > > > > Unescaped left brace in regex is illegal here in regex; marked by <-- > > > HERE in m/\\end{ <-- HERE document}/ at > > > /usr/share/perl5/Locale/Po4a/TransTractor.pm line 643. > > > debian/rules:13: recipe for target 'override_dh_auto_build' failed > > > make[1]: *** [override_dh_auto_build] Error 255 > > That's an interesting bug. > > The error is in /usr/share/perl5/Locale/Po4a/TransTractor.pm:643 > which is > my $found = scalar grep { /$position/ } @{$self->{TT}{doc_out}}; > and $position (comes from addendum_parse() in the same file and) > contains '\\end{document}' at that point. > > And this '\\end{document}' itself comes from files in the > packaging-tutorial po4a directory. > > So I don't know if po4a needs a generic fix, or packaging-tutorial > needs to change how it uses it. > > I'm attaching a patch for the second option.
Thanks, patch applied and package uploaded! Lucas