Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

4.2: checksetup.pl crashes when Voting extension enabled

301 views
Skip to first unread message

Greg Ward

unread,
Oct 19, 2011, 5:55:13 PM10/19/11
to support-...@lists.mozilla.org
I'm trying to upgrade to the tip of the 4.2 branch. With no extensions
enabled, checksetup.pl behaves as normal. But if I enable the Voting
extension, it crashes:

$ rm extensions/Voting/disabled
$ ./checksetup.pl
Can't locate Math/Random/ISAAC.pm in @INC (@INC contains: . lib
/etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10
/usr/share/perl/5.10 /usr/local/lib/site_perl) at Bugzilla/RNG.pm line
28.
BEGIN failed--compilation aborted at Bugzilla/RNG.pm line 28.
Compilation failed in require at Bugzilla/Util.pm line 50.
BEGIN failed--compilation aborted at Bugzilla/Util.pm line 50.
Compilation failed in require at Bugzilla/Error.pm line 33.
BEGIN failed--compilation aborted at Bugzilla/Error.pm line 33.
Compilation failed in require at Bugzilla/Extension.pm line 26.
BEGIN failed--compilation aborted at Bugzilla/Extension.pm line 26.
Compilation failed in require at (eval 17) line 3.
...propagated at /usr/share/perl/5.10/base.pm line 93.
BEGIN failed--compilation aborted at ./extensions/Voting/Extension.pm line 29.
Compilation failed in require at Bugzilla/Install/Util.pm line 186.

The workaround is fairly straightforward: disable the extension,
re-run checksetup.pl, and install the missing module(s).

Greg

Frédéric Buclin

unread,
Oct 19, 2011, 7:16:25 PM10/19/11
to
Le 19. 10. 11 23:55, Greg Ward a écrit :
> I'm trying to upgrade to the tip of the 4.2 branch. With no extensions
> enabled, checksetup.pl behaves as normal. But if I enable the Voting
> extension, it crashes:

This is unrelated to the extension. You simply don't have
Math::Random::ISAAC installed, which is mandatory since 4.2.


LpSolit

Greg Ward

unread,
Oct 21, 2011, 4:01:35 PM10/21/11
to Frédéric Buclin, support-...@lists.mozilla.org
2011/10/19 Frédéric Buclin <LpS...@gmail.com>:
I know that. But checksetup.pl isn't supposed to *crash*, it's
supposed to give you a nice friendly report about what modules you're
missing. If I disable the extension, everything works as expected. But
if the extension is enabled, checksetup.pl crashes as I described. The
problem is obvious to anyone with >15 minutes experience programming
Perl, but I thought the whole point of checksetup.pl was to make
installing/upgrading Bugzilla easy for non-programmers.

Greg
0 new messages