For Ubuntu 14.10 ibutils package links against wrong/old libosmvendor.so

Bug #1426711 reported by Nils Andreas Håkansson on 2015-02-28
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ibutils (Ubuntu)
Medium
Unassigned
Utopic
Medium
Brian Murray

Bug Description

---Problem Description---
ibutils InfiniBand network utilities package has a missing dependancy in Ubuntu 14.10 (x86_64)

---/etc/os-release ---
NAME="Ubuntu"
VERSION="14.10 (Utopic Unicorn)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.10"
VERSION_ID="14.10"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

---Steps to Reproduce---
install ibutils and run ibis it will fail with a problem loading libosmvendor.so.3

root@my-vz:/# ibis
ibis: error while loading shared libraries: libosmvendor.so.3: cannot open shared object file: No such file or directory

root@my-vz:/# ldd `which ibis`
        linux-vdso.so.1 => (0x00007fff06dfe000)
        libopensm.so.5 => /usr/lib/x86_64-linux-gnu/libopensm.so.5 (0x00007ff650457000)
        libosmvendor.so.3 => not found
        libosmcomp.so.3 => /usr/lib/x86_64-linux-gnu/libosmcomp.so.3 (0x00007ff650248000)
        libtcl8.6.so => /usr/lib/x86_64-linux-gnu/libtcl8.6.so (0x00007ff64feab000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ff64fc8d000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff64f8c7000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff64f6c3000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007ff64f4aa000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff64f1a3000)
        /lib64/ld-linux-x86-64.so.2 (0x00007ff650671000)

=== Ubuntu 15.04 ===
ibutils is working on 15.04

=== Ubuntu 14.04 LTS ===
ibutils is working in 14.04 and is linked like this:

ldd /usr/bin/ibis
 linux-vdso.so.1 => (0x00007fffaedfe000)
 libopensm.so.5 => /usr/lib/x86_64-linux-gnu/libopensm.so.5 (0x00007f4a70b46000)
 libosmvendor.so.3 => /usr/lib/x86_64-linux-gnu/libosmvendor.so.3 (0x00007f4a7093e000)
 libosmcomp.so.3 => /usr/lib/x86_64-linux-gnu/libosmcomp.so.3 (0x00007f4a7072f000)
 libtcl8.6.so => /usr/lib/x86_64-linux-gnu/libtcl8.6.so (0x00007f4a70397000)
 libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f4a70179000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4a6fdb2000)
 libibumad.so.3 => /usr/lib/x86_64-linux-gnu/libibumad.so.3 (0x00007f4a6fbab000)
 libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f4a6f9a7000)
 libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f4a6f78d000)
 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f4a6f487000)
 /lib64/ld-linux-x86-64.so.2 (0x00007f4a70d64000)

[Impact]
* Since ibutils 1.5.7-3 links against a libosmvendor.so.3 not present in Ubuntu 14.10 the ibutils tools are currently unusable.

* Rebuilding ibutils 1.5.7-3, without changing the source package, in an Ubuntu 14.10 environment instead links against libosmvendor.so.4, resulting in the tools becoming usuable.

* This problem is solved in Ubuntu 15.04 with the ibutils 1.5.7-3build1 no-change rebuild.

[Test Case]
* To trigger the bug, run the ibis command, and get the "ibis: error while loading shared libraries: libosmvendor.so.3: cannot open shared object file: No such file or directory" error message.

* Once fixed, the ibus command should instead give you a new prompt.

[Regression Potential]
* Can't see any possible regressions, given that the ibutils tools are currently unusable under Ubuntu 14.10.

Related branches

description: updated
Andreas Olsson (andol) wrote :

Yepp, I can confirm that ibutils 1.5.7-3 breaks in Ubuntu 14.10, since it links against no-longer-provided libosmvendor.so.3.

The Ubuntu 14.10 version of libopensm5 (3.3.18-1) instead provide libosmvendor.so.4. Making a non-change rebuild against an Ubuntu 14.10 environment makes ibutils link up properly.

The reason for this not being an issue in Ubuntu 15.04 is because its 1.5.7-3build1 verison is the needed rebuild.

@Andreas: In case you want/can test the Ubuntu 14.10 rebuild against actual InfiniBand hardware you can add the https://launchpad.net/~andol/+archive/ubuntu/ibutils PPA. Either that, or directly grab these two debs: https://launchpad.net/~andol/+archive/ubuntu/ibutils/+build/7020816/+files/ibutils_1.5.7-3build0.1%7Eppa_amd64.deb, https://launchpad.net/~andol/+archive/ubuntu/ibutils/+build/7020816/+files/libibdm1_1.5.7-3build0.1%7Eppa_amd64.deb

Changed in ibutils (Ubuntu):
importance: Undecided → Medium
status: New → Triaged

Thank you for the build.

I have verified that the build works on actual InfiniBand hardware (Mellanox Technologies MT27500 Family).

Andreas Olsson (andol) on 2015-03-01
summary: - ibutils InfiniBand network utilities package has a missing dependancy
- in Ubuntu 14.10
+ For Ubuntu 14.10 ibutils package links against wrong/old libosmvendor.so
Andreas Olsson (andol) wrote :

Marking as Fixed, since there has already been a rebuild for the Ubuntu 15.04 ibutils package.

description: updated
Changed in ibutils (Ubuntu):
status: Triaged → Fix Released
Changed in ibutils (Ubuntu Utopic):
importance: Undecided → Medium
status: New → Triaged
Changed in ibutils (Ubuntu Utopic):
assignee: nobody → Brian Murray (brian-murray)

Hello Nils, or anyone else affected,

Accepted ibutils into utopic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ibutils/1.5.7-3build0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in ibutils (Ubuntu Utopic):
status: Triaged → Fix Committed
tags: added: verification-needed

Hello Timo, and everone else interested,

I can confirm that utopic-proposed/universe ibutils amd64 1.5.7-3build0.1 resolves the issue for me.

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibutils - 1.5.7-3build0.1

---------------
ibutils (1.5.7-3build0.1) utopic; urgency=medium

  * No-change rebuild against newer libopensm5 (LP: #1426711).
 -- Andreas Olsson <email address hidden> Sun, 01 Mar 2015 16:57:38 +0100

Changed in ibutils (Ubuntu Utopic):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for ibutils has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers