All versions in tree become unusable with Perl 5.26 Please keep this issue open until no affected versions remain in tree. >>> '/var/log/portage-build/build/dev-tex/latexdiff-1.2.0:20170507-090556.log' * Package: dev-tex/latexdiff-1.2.0 * Repository: gentoo * Maintainer: tex@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU * FEATURES: preserve-libs sandbox test userpriv usersandbox mkdir -p latexdiff-1.2.0 ln -s latexdiff-1.2.0 dist mkdir -p dist/doc mkdir -p dist/example grep -v '^###' latexdiff > dist/latexdiff ; chmod a+x dist/latexdiff grep -v '^###' latexrevise > dist/latexrevise ; chmod a+x dist/latexrevise awk '/use Algorithm::Diff qw\(traverse_sequences\);/ { system("cat Algorithm-Diff-Block") ; next } { print }' latexdiff | grep -v '^###' > dist/latexdiff-so ; chmod a+x dist/latexdiff-so awk '/use Algorithm::Diff qw\(traverse_sequences\);/ { system("cat Algorithm-Diff-Fast") ; next } { print }' latexdiff | grep -v '^###' > dist/latexdiff-fast ; chmod a+x dist/latexdiff-fast grep -v '^###' latexdiff-vc > dist/latexdiff-vc ; chmod a+x dist/latexdiff-vc pod2man -center=" " latexdiff > dist/latexdiff.1 pod2man -center=" " latexrevise > dist/latexrevise.1 pod2man -center=" " latexdiff-vc > dist/latexdiff-vc.1 pod2latex latexdiff; sed 's/--/-{}-/g' latexdiff.tex > tmp$.tex ; mv tmp$.tex latexdiff.tex pod2latex latexdiff-vc; sed 's/--/-{}-/g' latexdiff-vc.tex > tmp$.tex ; mv tmp$.tex latexdiff-vc.tex pod2latex latexrevise ; sed 's/--/-{}-/g' latexrevise.tex > tmp$.tex ; mv tmp$.tex latexrevise.tex latexdiff -t UNDERLINE example-draft.tex example-rev.tex > example-diff.tex Negative repeat count does nothing at /var/tmp/portage/dev-tex/latexdiff-1.2.0/work/latexdiff-1.2.0/dist/latexdiff line 607, <DATA> line 23800. Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\\begin{ <-- HERE ((?:picture|tikzpicture|DIFnomarkup)[\w\d*@]*)}(.*?)\\end{\1}/ at /var/tmp/portage/dev-tex/latexdiff-1.2.0/work/latexdiff-1.2.0/dist/latexdiff line 1897. make: *** [Makefile:94: example-diff.tex] Error 2
Created attachment 475780 [details, diff] unescaped-lbracket-5.26.patch So, I have a patch that appears to make it compile and pass tests, but I'm gonna want feedback before I submit it upstream. I'm not sure I'm reading the test output right, and I want somebody who knows what they're doing to review the tests and make sure I didn't introduce any breakage.
Created attachment 475782 [details] build log from a successful patch + compile on latexdiff 1.2.0
Patch probably easier to read in this format: http://dev.gentoo.org/~kentnl/scratch/bug-617754/cdiff.html
FWIW, here I have: The compilation of the following programs resulted in problems: rapine_et_al-diff.tex gershwin12-diff.tex gershwin34-diff.tex outerrise-diff.tex While you get: The compilation of the following programs resulted in problems: rapine_et_al-diff.tex island_obs2004-diff.tex gershwin12-diff.tex gershwin34-diff.tex schneider-diff.tex outerrise-diff.tex rolla-diff.tex apacite-test-diff.tex units-diff.tex figures-diff.tex It'd be interesting to understand why those fail. As for those that do not fail, just open the pdf and look at something weird. Note that upstream seems to already have related fixes, such as https://github.com/ftilmann/latexdiff/commit/f10759b525dbc94aefdbba1eb2c5a0951e9dccc5
https://github.com/ftilmann/latexdiff/issues/104
I've added a live ebuild for testing git master. Let's see how that fares.
According to https://github.com/ftilmann/latexdiff/issues/104 there is a 1.2.1 release which is expected to fix the problem. Maybe, version bump?
(In reply to Alexey Korepanov from comment #7) > According to > https://github.com/ftilmann/latexdiff/issues/104 > there is a 1.2.1 release which is expected to fix the problem. > Maybe, version bump? Yes please! 1.2.1 fixes the problem here. Thanks!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e2b3743b02b220f8aa24c8ec8ff95112e25e39b commit 5e2b3743b02b220f8aa24c8ec8ff95112e25e39b Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2017-11-03 22:17:14 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2017-11-03 22:17:30 +0000 dev-tex/latexdiff: Version bump, fixes bug 617754 Closes: https://bugs.gentoo.org/617754 Package-Manager: Portage-2.3.13, Repoman-2.3.4 dev-tex/latexdiff/Manifest | 1 + dev-tex/latexdiff/latexdiff-1.2.1.ebuild | 47 ++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+)