Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-07-13 Thread Gavin Smith
On Sat, Jun 30, 2018 at 7:27 PM, Niko Tyni wrote: > I'm attaching a patch that fixes this for me, and another one for the > necessary left brace escaping. Even with this, I suppose xspara.c could > use some mbrtowc(3) return value checks. Thanks for fixing this.

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-30 Thread Niko Tyni
Hi, I believe I've found the issue with makeinfo on Perl 5.28. Aside from the trivial unescaped left brace things, there's a change in locale handling that can indeed cause a busy loop for some inputs under non-UTF8 locales. I've been able to reduce the necessary input to just two lines: @docu

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-30 Thread Melvin Mawhin
Hi, This patch works very well. Kr Mel From: Niko Tyni Sent: Saturday, June 30, 2018 8:27 PM To: bug-texinfo@gnu.org Cc: Gavin Smith; Melvin Mawhin Subject: Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0 Hi, I believe I've foun

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-29 Thread Gavin Smith
On Fri, Jun 29, 2018 at 8:05 PM, Melvin Mawhin wrote: > I understand, I do not know where the problem lies. The Slackware maintainer > has decided to rebuild texinfo with the --disable-perl-xs flag. This solves > the immediate issue (workaround). > > > > Is there anything else I can test? I thin

RE: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-29 Thread Melvin Mawhin
com/fwlink/?LinkId=550986> for Windows 10 Von: Gavin Smith Gesendet: Friday, June 29, 2018 6:24:57 PM An: Melvin Mawhin Cc: bug-texinfo@gnu.org Betreff: Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0 On Fri, Jun 29, 2018 at 6:46 AM, Melvin

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-29 Thread Gavin Smith
On Fri, Jun 29, 2018 at 7:41 AM, Eli Zaretskii wrote: >> From: Melvin Mawhin >> Date: Fri, 29 Jun 2018 05:46:29 + >> Cc: "bug-texinfo@gnu.org" >> >> Reading symbols from /usr/lib64/texinfo/XSParagraph.so...done. >> Reading symbols from /usr/lib64/perl5/auto/PerlIO/encoding/encoding.so...(no

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-29 Thread Gavin Smith
On Fri, Jun 29, 2018 at 6:46 AM, Melvin Mawhin wrote: > Also I attached the texi sources with a debug.sh script. just run the script > to reproduce the error Thank you for sending this; unfortunately I do not get the error.

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-28 Thread Eli Zaretskii
> From: Melvin Mawhin > Date: Fri, 29 Jun 2018 05:46:29 + > Cc: "bug-texinfo@gnu.org" > > Reading symbols from /usr/lib64/texinfo/XSParagraph.so...done. > Reading symbols from /usr/lib64/perl5/auto/PerlIO/encoding/encoding.so...(no > debugging symbols > found)...done. > 0x7fdd1764318c i

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-28 Thread Gavin Smith
On Wed, Jun 27, 2018 at 1:46 PM, Melvin Mawhin wrote: > Since upgrading to perl 5.28 in slackware-current we ran into a bug while > generating documentation for qemu > > The version number of Texinfo and the program(s) or manual(s) involved. > Texinfo 6.5 / Qemu 2.12.0 (docs) / Perl 5.28.0 > The c

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-28 Thread Melvin Mawhin
Hi, Yes they have been rebuilt when the version was upgraded. KR Mel From: Eli Zaretskii Sent: Thursday, June 28, 2018 4:18 PM To: Melvin Mawhin Cc: gavinsmith0...@gmail.com; bug-texinfo@gnu.org Subject: Re: Infinite loop generating QEMU docs after upgrade

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-28 Thread Eli Zaretskii
> From: Melvin Mawhin > Date: Thu, 28 Jun 2018 14:13:33 + > Cc: "bug-texinfo@gnu.org" > > Yes, "export TEXINFO_XS=omit" works flawlessly. When one installs a new version of Perl, isn't one supposed to build the XS extensions anew, against the newly installed Perl library? Was that done in

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-28 Thread Melvin Mawhin
Yes, "export TEXINFO_XS=omit" works flawlessly. Kr Mel From: Gavin Smith Sent: Thursday, June 28, 2018 8:52 AM To: Melvin Mawhin Cc: carl hansen; bug-texinfo@gnu.org Subject: Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0 On T

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-28 Thread carl hansen
On Wed, Jun 27, 2018 at 12:37 PM, Melvin Mawhin wrote: Escaping the left brace does not solve the loop 😊 it solves the error message but not the loop. ​ ​ do the right brace also, and also a couple lines lower. worked for me

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-27 Thread Gavin Smith
On Thu, Jun 28, 2018 at 6:28 AM, Melvin Mawhin wrote: > Hi, > > > Same thing, the error message concerning the bracket is gone but the loop > is still there. > > > but as said before, changing the makefile like this does seem to solve the > issue: > > sed -i "s|LC_ALL=C|LC_ALL=C.UTF-8|" Makefile

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-27 Thread Melvin Mawhin
Kr Mel From: carl hansen Sent: Thursday, June 28, 2018 4:46 AM To: Melvin Mawhin Cc: Eli Zaretskii; bug-texinfo@gnu.org Subject: Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0 On Wed, Jun 27, 2018 at 12:37 PM, Melvin Mawhin mailto:

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-27 Thread Melvin Mawhin
generating QEMU docs after upgrade to Perl 5.28.0 > From: Melvin Mawhin > Date: Wed, 27 Jun 2018 19:23:22 + > Cc: "bug-texinfo@gnu.org" > > After some more testing it seems to be an encoding issue... > > If the job is started with the following it works: >

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-27 Thread Eli Zaretskii
> From: Melvin Mawhin > Date: Wed, 27 Jun 2018 19:23:22 + > Cc: "bug-texinfo@gnu.org" > > After some more testing it seems to be an encoding issue... > > If the job is started with the following it works: > > LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8 makeinfo --no-split --number-sections -I docs >

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-27 Thread Melvin Mawhin
Subject: Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0 On Wed, Jun 27, 2018 at 1:46 PM, Melvin Mawhin wrote: > Since upgrading to perl 5.28 in slackware-current we ran into a bug while > generating documentation for qemu There is a message in the logs you attached: Une

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-27 Thread Melvin Mawhin
touch /tmp/g The problem also occurs with the old GCC, so i doubt that is the issue. Kr Mel From: Melvin Mawhin Sent: Wednesday, June 27, 2018 9:06 PM To: Gavin Smith Subject: Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0 Hi, I escaped t

Re: Infinite loop generating QEMU docs after upgrade to Perl 5.28.0

2018-06-27 Thread Gavin Smith
On Wed, Jun 27, 2018 at 1:46 PM, Melvin Mawhin wrote: > Since upgrading to perl 5.28 in slackware-current we ran into a bug while > generating documentation for qemu There is a message in the logs you attached: Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), pa