Subject: | GPG: endless loop when installing without gpg binary available |
Date: | Sun, 22 May 2011 22:30:16 +0200 |
To: | bug-GPG [...] rt.cpan.org |
From: | Christian Boltz <perl-bugs [...] cboltz.de> |
Hello,
while creating a RPM package for the GPG module, I got an endless loop
searching for the gpg binary because gpg was not installed in the
packaging environment.
Running into an endless loop isn't really nice ;-)
Instead, the installation should abort with an error message if it can't
find the gpg binary.
The code in Makefile.PL seems to use prompt() if it can't find gpg - but
that doesn't work in automated environments like the openSUSE build
service where no human input is possible. prompt() probably returns an
empty string in that case.
operating system: Linux (openSUSE 11.4, kernel 2.6.37) (probably doesn't
matter)
Perl 5.12.3 (probably doesn't matter)
GPG 0.06
Regards,
Christian Boltz
--
Show quoted text
> /etc/sysconfig/powersave/cpufreq contains the line:
> # the next lover CPU frequency. Increasing this value lowers the
^^^^^
we should keep that one ;)
[Michael Gross in https://bugzilla.novell.com/show_bug.cgi?id=183704]