-
Notifications
You must be signed in to change notification settings - Fork 706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perl-module-CPAN installations hang waiting for input #22094
Comments
@lexming Hmm, I'm now suddenly seeing the installer of Perl modules waiting for input now, after the changes you've made in easybuilders/easybuild-framework#4728:
checking the output, I see this:
So it looks like we're not out of the woods yet here... |
I can reproduce this new hang on my Python 3.9 environment, which is very puzzling because Anyhow, clearly using the default So the situation is as follows on my side: |
The installation of
Perl-bundle-CPAN
(all versions) are currently broken on5.0.x
. Several extensions ask for question during installation and the process hangs waiting for input. Some of the offenders areGO
,Net-SSLeay
,MIME-Lite
andXML-Twig
.Example for
Net-SSLeay
:These extensions have been part of our installations of Perl fro a long time and nothing has changed on their side. This issue is related to some change on EasyBuild
5.0.x
and seems to only occur in older Python 3.6:There are two main methods how these perl modules prompt for input, manually or with prompt() from Module::Build. Regardless of the method used or any environment variables set, perl detects if it is running on an interactive shell or not. Whenever the shell is non-interactive, prompts are automatically handled by using the default answer without waiting for input.
Therefore, there is some bug on how
run_shell_cmd
works in EB 5.0.x with Python 3.6 that results in an shell that seems interactive to Perl, triggering the input prompts.The text was updated successfully, but these errors were encountered: