Subject: | XML::LibXSLT 1.93 breaks compat with older libxslt binaries |
Date: | Sun, 18 Jan 2015 15:37:53 -0500 |
To: | <bugs-XML-LibXSLT [...] rt.cpan.org> |
From: | Deyan Ginev <d.ginev [...] jacobs-university.de> |
Dear XML::LibXSLT maintainer(s),
The resolution of the maxvars feature request [1], has broken
compatibility with older versions of libxslt. A notable case where this
is important is the Travis build system for GitHub repositories. By
default, Travis will try to use the newest XML::LibXSLT available to
cpanm, while lagging behind with the libxslt package.
I found myself forced to manually build libxslt-1.1.28 [2] to get the
Travis build back on its feet again.
The concrete problem is that the "xsltMaxVars" symbol is not available
in earlier libxslt versions, I attach a log at [3].
If the break in backwards compatibility was intentional, feel free to
disregard. If anyone comes here to find a way to make XML::LibXSLT build
under Travis again, see [2] for my solution.
Much gratitude goes to the friendly folks at the freenode #perl channel
on IRC, who helped me diagnose what went haywire and what ought to be a
good patch.
Greetings,
Deyan
[1] https://rt.cpan.org/Public/Bug/Display.html?id=101413
[2] https://github.com/KWARC/LaTeXML/blob/master/.travis.yml#L14
[3] http://pastebin.com/jZhcxZ1e