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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Emmanuel Seyman <emmanuel@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |perl-devel@lists.fedoraproj
                   |                            |ect.org,
                   |                            |tcallawa@xxxxxxxxxx
          Component|bugzilla                    |perl-Email-Send
           Assignee|emmanuel@xxxxxxxxx          |tcallawa@xxxxxxxxxx



--- Comment #3 from Emmanuel Seyman <emmanuel@xxxxxxxxx> ---
(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
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux