Skip Menu |

This queue is for tickets about the EAV-XS CPAN distribution.

Report information
The Basics
Id: 132221
Status: resolved
Priority: 0/
Queue: EAV-XS

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.3.3
Fixed in: (no value)



Subject: Endless loop in Makefile.PL
Under certain circumstances "perl Makefile.PL" may run in an endless loop: ... *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Could not find idnkit header files. Please, set proper directory, for instance, /opt/local. Would you try to set idnkit install directory (y/n)? [y] y Directory where idnkit installed: [/usr/local] /usr/local *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Could not find idnkit header files. Please, set proper directory, for instance, /opt/local. Would you try to set idnkit install directory (y/n)? [y] y Directory where idnkit installed: [/usr/local] /usr/local *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ... In my situation this happens because PERL_MM_USE_DEFAULT=1 is set (which is a must for smoker systems, as they have to work without human intervention) and there's no idn library available. I assume it can also happen if there's no terminal for answering the prompt (e.g. may happen for cron-based systems). Maybe these situations can be detected, and the loop not entered. Or maybe (easier to implement?) there could be a maximum iteration count.
On Tue Mar 24 20:46:05 2020, SREZIC wrote: Show quoted text
> In my situation this happens because PERL_MM_USE_DEFAULT=1 is set > (which is a must for smoker systems, as they have to work without > human intervention) and there's no idn library available. I assume it > can also happen if there's no terminal for answering the prompt (e.g. > may happen for cron-based systems). Maybe these situations can be > detected, and the loop not entered. Or maybe (easier to implement?) > there could be a maximum iteration count.
Hello, thanks for the report. I have fixed the issue in 0.4.1 (already uploaded to PAUSE). The answer for the question "Would you try to set idnkit install directory (y/n)?" is "no" by default now. This should prevent endless loop.
On 2020-03-24 13:59:31, TVV wrote: Show quoted text
> On Tue Mar 24 20:46:05 2020, SREZIC wrote:
> > In my situation this happens because PERL_MM_USE_DEFAULT=1 is set > > (which is a must for smoker systems, as they have to work without > > human intervention) and there's no idn library available. I assume it > > can also happen if there's no terminal for answering the prompt (e.g. > > may happen for cron-based systems). Maybe these situations can be > > detected, and the loop not entered. Or maybe (easier to implement?) > > there could be a maximum iteration count.
> > Hello, thanks for the report. I have fixed the issue in 0.4.1 (already > uploaded to PAUSE). The answer for the question "Would you try to set > idnkit install directory (y/n)?" is "no" by default now. This should > prevent endless loop.
Confirmed.