Bug 649372 - Dependency on perl-libwww-perl missing
Summary: Dependency on perl-libwww-perl missing
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-SOAP-Lite
Version: 14
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Mike McGrath
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-03 16:21 UTC by Ian Chapman
Modified: 2010-11-23 07:40 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-11-23 07:40:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ian Chapman 2010-11-03 16:21:07 UTC
Description of problem:

perl-SOAP-Lite should have a dependency on perl-libwww-perl, otherwise you can't connect to a remote web service.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:

Cannot connect to a remote web service using perl-SOAP-Lite unless perl-libwww-perl is also installed

Expected results:

Should be able to connect

Additional info:

This doesn't just affect F14 but also F13 and probably earlier.

Comment 1 Ian Chapman 2010-11-22 14:38:04 UTC
Do you agree or not?

Comment 2 Ralf Corsepius 2010-11-22 14:49:32 UTC
(In reply to comment #1)
> Do you agree or not?

Without having checked details, I don't agree, because packages should never depend on perl package's package names. They should depend upon those perl modules they use (ie. R: perl(XXX)).

That said, you should provide more details about what fails in perl-SOAP-Lite.

Comment 3 Ian Chapman 2010-11-22 16:24:26 UTC
Sorry, my wording was misleading. I didn't necessarily mean an explicit dependency on the package name, but an appropriate dependency which ultimately drags in perl-libwww-perl. For example:

In these files:
SOAP/Transport/HTTP.pm
SOAP/Lite.pm

you see:

require LWP::UserAgent;

which would imply a dependency on perl(LWP::UserAgent). The effect of it missing was that SOAP calls over HTTP wouldn't work until perl-libwww-perl was installed. 

If you'd like, I can write some very basic code to verify this and post it?

Comment 4 Ian Chapman 2010-11-22 16:37:43 UTC
Not that Fedora necessarily does the same thing as other distros but perl-libwww-perl is at least a dependency of perl-SOAP-Lite in OpenSUSE and Ubuntu.

Comment 5 Marcela Mašláňová 2010-11-23 07:40:51 UTC
Upstream also has LWP::UserAgent as requirement in META.yml and Makefile.PL. I add
Requires: perl(LWP::UserAgent).


Note You need to log in before you can comment on or make changes to this bug.