wsmancli needs to be rebuilt against openwsman-2.4.3

Bug #1272059 reported by Kent Baxley
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openwsman (Ubuntu)
Fix Released
Undecided
Unassigned
wsmancli (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The wsmancli package needs to be rebuilt against openwsman-2.4.3, which is the latest openwsman release in ubuntu. wsmancli uses libopenwsman1 as a dependency and the new openwsman is incompatible.

if you currently try and run wsmancli with libopenwsman1 version 2.4.3 installed, the command will fail with:

wsman: error while loading shared libraries: libwsman_client.so.1: cannot open shared object file: No such file or directory

If I rebuild wsmancli against 2.4.3's version of libopenwsman1 the wsmancli command starts working again.

I'll post a debdiff shortly.

Kent Baxley (kentb)
Changed in wsmancli (Ubuntu):
status: New → Confirmed
Revision history for this message
Kent Baxley (kentb) wrote :

New debdiff...just doing a no-change rebuild.

Revision history for this message
Kent Baxley (kentb) wrote :

changes required for now in openwsman

Revision history for this message
Kent Baxley (kentb) wrote :

It was recommended that I try and break out the shared libraries into their own binary packages. libopenwsman1 contains different libraries with different ABI versions in them, so, naming libopenwsman1 to libopenwsman2 didn't seem to be very wise.

In response, I have broken out libopenwsman into the following packages:

libwsman1
libwsman-client2
libwsman-curl-client-transport1

All of the above have a "Replaces" directive for libopenwsman1

and I have also taken the libwsman-server libraries out of the main openwsman package and put them in their own libwsman-server1 package.

I built a new version of openwsman-2.4.3 and put it in here:
https://launchpad.net/~dell-poweredge-team/+archive/sblim-builds/+packages

I also have a build of wsmancli in that ppa that built against the above openwsman release. So far, so good.

Here's how I tested the fix:

1) Installed wsmancli and libopenwsman1 from the main trusty archive and
verified that wsmancli failed to work.

2) Added the above ppa and updated wsmancli from it. I verified that the new
libwsman packages also came in as replacements for libopenwsman1.

3) Tested wsmancli and verified that it no longer dies looking for
missing libraries.

Please have a look at the packages and let me know if anything else needs adjusting. I'll remove my current debdiffs and, if desired, post new ones if everything checks out OK. Thanks.

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Looking at openwsman package in your PPA:

- Replaces is not enough, you need both Breaks and Replaces.
- Both Breaks and Replaces should be in "(<< version)" form, not "(= version)".
- You need a transitional package from libopenwsman1.
- Please remove extra newlines from control and .install files. Sections in debian/control should be separated with only one empty line.

Changed in openwsman (Ubuntu):
status: New → Incomplete
Changed in wsmancli (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Kent Baxley (kentb) wrote :

Posting this for review to make sure I got the transitions right as well as the 'replaces' and 'breaks' directives.

Kent Baxley (kentb)
Changed in openwsman (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kent Baxley (kentb) wrote :

Also posting latest debdiff of wsmancli.

Changed in wsmancli (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kent Baxley (kentb) wrote :

Tested again with the latest builds, here's how I did it:

1) Fresh install of 14.04 and then Installed wsmancli from the trusty repos and verifed the library breakage.

2) Applied recommended fixes to openwsman and built them in my ppa:

https://launchpad.net/~dell-poweredge-team/+archive/sblim-builds/+packages

3) Added the ppa to my 14.04 machine then updated wsmancli

4) Noted that libopenwsman1 was removed and replaced with the new library packages.

5) verified that wsman now works without any complaints regarding libwsman-client library missing.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openwsman - 2.4.3-0ubuntu4

---------------
openwsman (2.4.3-0ubuntu4) trusty; urgency=low

  * debian/control: fix the breaks and replaces version numbers
    for libopenwsman1.
 -- Kent Baxley <email address hidden> Fri, 24 Jan 2014 08:45:40 -0600

Changed in openwsman (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wsmancli - 2.3.0-0ubuntu3

---------------
wsmancli (2.3.0-0ubuntu3) trusty; urgency=low

  [ Kent Baxley ]
  * debian/control: update standards version to 3.9.5
  * rebuild against openwsman-2.4.3 (LP: #1272059)

  [ Dustin Kirkland ]
  * debian/control: ensure that we block this build until
    openwsman-2.4.3-0ubuntu4 libraries are in the archive
 -- Kent Baxley <email address hidden> Thu, 23 Jan 2014 21:17:47 -0600

Changed in wsmancli (Ubuntu):
status: Confirmed → 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.