Bug#752930: libextutils-autoinstall-perl: FTBFS with Perl 5.20: busy loop configuring CPAN

Niko Tyni ntyni at debian.org
Fri Jun 27 20:26:46 UTC 2014


Package: libextutils-autoinstall-perl
Version: 0.63-2
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.20-transition

Building this package with Perl 5.20 (currently in experimental) hangs in
a busy loop in t/1-basic.t test 6. The loop is fully reproducible manually.

With tracing on in the Perl debugger, I see it's looping around
CPAN::FirstTime::my_prompt_loop(), with this question:

  Warning: You do not have write permission for Perl library directories.
  
  To install modules, you need to configure a local Perl library directory or
  escalate your privileges.  CPAN can help you by bootstrapping the local::lib
  module or by configuring itself to use \'sudo\' (if available).  You may also
  resolve this problem manually if you need to customize your setup.
  
  What approach do you want?  (Choose \'local::lib\', \'sudo\' or \'manual\')
  
and always getting 'n' for a default answer.

(This requires a clean $HOME/.cpan directory, which we have as debian/rules
  explicitly resets $HOME.)

Not sure if this is a regression in CPAN or a deficiency in EU::AutoInstall,
but I suspect the latter.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list