[Bug 1000737] after 'yum install bugzilla' checksetup.pl fails. dependancies missing and incorrect.

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 4 16:06:22 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=1000737

Emmanuel Seyman <emmanuel at seyman.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |perl-devel at lists.fedoraproj
                   |                            |ect.org,
                   |                            |tcallawa at redhat.com
          Component|bugzilla                    |perl-Email-Send
           Assignee|emmanuel at seyman.fr          |tcallawa at redhat.com



--- Comment #3 from Emmanuel Seyman <emmanuel at seyman.fr> ---
(In reply to Timothée Ravier from comment #2)
> I had a very similar issue where bugzilla checksetup.pl would complain about
> missing the Email::Send module even though it was already installed.

That sounds much more plausible. Paul, is this what you were seeing ?

> I had a look at another bugzilla install and found out that the
> Module::Pluggable module seems required and it indeed fixed my problem.

Removing perl-Module-Pluggable has the effect that checksetup can no longer
detect Email-Send. Running the command "perl -MEmail::Send -e '1'" gives the
following error :

Can't locate Module/Pluggable.pm in @INC (@INC contains: /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at
/usr/share/perl5/vendor_perl/Email/Send.pm line 10.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Email/Send.pm
line 10.
Compilation failed in require.
BEGIN failed--compilation aborted.

So Module::Pluggable is required by Email::Send but the package containing the
latter doesn't depend on the former. And bugzilla then fails because
Email::Send doesn't work.

Looking at Email::Send's source code, I suspect rpm doesn't understand the 'use
Module::Pluggable' line (note the lack of semi-colon at the end) and doesn't
include the dependency automatically.

> I think this module should be added as a dependency.

Definatly but it should be added in the perl-Email-Send package where it will
get pick up by all Email::Send users and not just bugzilla.

Spot, this one's yours.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=1iCOgdan5d&a=cc_unsubscribe


More information about the perl-devel mailing list