Skip to content
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

cpan.rb -- avoid hangs by overriding interactive prompts with PERL_MM_USE_DEFAULT and AUTOMATED_TESTING #851

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tomeon
Copy link

@tomeon tomeon commented Feb 10, 2015

Some CPAN modules default to requiring user input during the make/test/install process. fpm does not hand control back to the user at such prompts, causing the build process to mysteriously hang. Setting the PERL_MM_USE_DEFAULT and AUTOMATED_TESTING environment variables to 1 deals with the most common sources of such hangs.*

Although it might be preferable to allow interactive input under such circumstances, implementing that is likely to be much harder, and, in any case, if users wanted to do stuff interactively they probably wouldn't be using fpm ;).

  • Confusingly, Module::Build also uses PERL_MM_USE_DEFAULT, rather than PERL_MB_USE_DEFAULT.

@jordansissel
Copy link
Owner

Hmm; this one now merge conflicts. Can you resolve that?

@tomeon
Copy link
Author

tomeon commented Jan 31, 2016

Resolved, a mere 12 weeks later ;).

in order to avoid common sources of hanging during CPAN install process
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants