On Wed, Nov 27, 2024 at 10:36:16PM +0100, Patrice Dumas wrote: > 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. > > I did more checks in the CI and it seems that the tp/t/*.t tests fail, > but not running directly texi2any.pl (or teximakehtml).
The checks were wrong. I checked on a macos, and the failure happens only with LC_ALL=C. This is something we already experienced in the past with libintl-perl. Both Perl calling gettext and the C only teximakehtml call fail to translate strings. So it seems to be a failure to switch locale in tp/Texinfo/XS/main/translations.c translate_string when LC_ALL is C. The same symptoms arise for cygwin-64 and macos-13. I have access to a macos, so I could try to investigate more later on, when I find time. -- Pat