On Fri, Nov 22, 2024 at 12:10:33PM +0100, Patrice Dumas wrote: > Hello, > > Now that the XS modules are used, there are new errors in the CI. > > For Cygwin64 and Macos-13, there are many errors with translations. For > these platforms in the CI, the Perl version is 5.40.X, such that XS is > used for getting translated strings in documents, but it does not seems > to work. There are no visible memory errors as there was in freebsd for > an older Perl.
It's difficult to investigate without direct access to the system. > For OpenBSD, there is an 'Abort trap (core dumped)' in the code called > through Texinfo::Transformations::protect_first_parenthesis_in_targets > when using XS. I have reread the code, nothing obvious stands out. I could reproduce this on the OpenBSD system I am testing it with. The Perl modules are not installed for the tp/t tests, but I could create a test file test.texi with the following contents: \input texinfo @documentlanguage de @node Top @top Top node @node Cap 1 @chapter Cap 1 @macro vvv {} (some text) aa,, @end macro @anchor{@vvv{}}. @bye I also patch texi2any to add a line: Texinfo::Transformations::protect_first_parenthesis_in_targets($tree); When I run export top_srcdir=../../ top_builddir=.. TEXINFO_DEV_SOURCE=1 ./texi2any -c TREE_TRANSFORMATIONS=protect_first_parenthesis test.texi I get the same error: texi2any: warning: unknown tree transformation protect_first_parenthesis Abort trap (core dumped) I'm now going to try to complile with debugging information to see if I can get any more information out of the core dump.