librpc-xml-perl dependency creates conflict for Evergreen installation on Ubuntu 12.04 LTS

Bug #1162907 reported by Chris Sharp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
OpenSRF
Fix Released
Medium
Unassigned

Bug Description

see Evergreen bug 1161103 and bug 1050596 for reference on this issue.

As discovered in Evergreen bug 1161103, there is a dependency conflict between the packaged version of RPC-XML and

Tags: pullrequest
Revision history for this message
Chris Sharp (chrissharp123) wrote :

Sorry - didn't complete my report before submission.

As discovered in Evergreen bug 1161103, there is a dependency conflict between the packaged version of RPC-XML and the CPAN version.

Current precise version: http://packages.ubuntu.com/precise/librpc-xml-perl (0.76)

Because Evergreen 2.3.X depends on RPC::XML::Function, which is not compatible with version 0.76, CPAN installs RPC::XML 0.74 alongside the Ubuntu packaged version. Either the Ubuntu package or the combination of the two versions causes the errors described in bug 1161103.

OpenSRF 2.1.2
Evergreen 2.3.4

Revision history for this message
Jason Stephenson (jstephenson) wrote :

Since 2.3.4 is the previous release of Evergreen and this was fixed in Evergreen 2.3.5, I would be inclined to set the status of this bug as invalid. I recommend anyone encountering this to install 2.3.5 instead of 2.3.4.

Revision history for this message
Galen Charlton (gmc) wrote :

The issues surrounding the Evergreen XML-RPC gateway aside, I see nothing in OpenSRF that requires RPC::XML. Unless I'm missing something, I agree with Jason Stephenson that references to the Perl XML-RPC packages should be removed from OpenSRF's Makefile.install and added to Evergreen's.

Revision history for this message
Galen Charlton (gmc) wrote :

It appears that version 0.75 of RPC::XML introduces the stricter method name validation that Evergreen now effectively requires. Consequently, it looks we have:

Ubuntu 12.04 LTS: use librpc-xml-perl (i.e., 0.76)
Debian Wheezy: use librpc-xml-perl (i.e., 0.76)
Debian Squeeze: install from CPAN
Fedora: use perl-RPC-XML

Revision history for this message
Galen Charlton (gmc) wrote :

Patches ready for review.

OpenSRF: user/gmcharlt/lp1162907_rpc_xml branch in the working/OpenSRF repository:

http://git.evergreen-ils.org/?p=working/OpenSRF.git;a=shortlog;h=refs/heads/user/gmcharlt/lp1162907_rpc_xml

Evergreen: user/gmcharlt/lp1162907_rpc_xml in the working/Evergreen repository:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/gmcharlt/lp1162907_rpc_xml

Installing RPC::XML on Wheezy will be handled as part of bug 1014724

tags: added: pullrequest
Changed in evergreen:
status: New → Confirmed
Changed in opensrf:
status: New → Confirmed
Changed in evergreen:
importance: Undecided → Medium
Changed in opensrf:
importance: Undecided → Medium
Revision history for this message
Mike Rylander (mrylander) wrote :

Merged in the fervent hope that 2.4.1 will have back-compat ... Thanks, Galen!

Changed in evergreen:
status: Confirmed → Fix Committed
Changed in opensrf:
status: Confirmed → Fix Committed
Galen Charlton (gmc)
Changed in opensrf:
milestone: none → 2.2.0
Ben Shum (bshum)
Changed in evergreen:
milestone: none → 2.4.0-rc
Ben Shum (bshum)
Changed in evergreen:
status: Fix Committed → Fix Released
Changed in opensrf:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.