dependency on liblzo2-2 not specified

Bug #863248 reported by Jonathan Blakes
34
This bug affects 15 people
Affects Status Importance Assigned to Milestone
pytables (Ubuntu)
Fix Released
Undecided
Unassigned
Natty
Fix Released
Undecided
Unassigned
Oneiric
Fix Released
Undecided
Unassigned

Bug Description

[Impact] importing pytables fails due to a missing dependency. The error message is gives no indication of what is missing

[Development Fix] in precise the dependencies of pytables are correctly specified

[Stable Fix] the cause of the error in natty and oneiric is an error in the dh_shlibdeps call which causes shlib:Depends and shlib:Recommends to be not be filled correctly
While the fix is not really necessary for oneiric due to hdf-5 having changed so that the Dependency is really optional, it still missing Recommends and we need to update it to ensure a proper upgrade path.

[Test Case]
have liblzo2-2 *not* installed
apt-get install python-tables
python
import tables

expected result: successful import
result on natty:
ImportError: /usr/lib/python2.7/dist-packages/tables/hdf5Extension.so: undefined symbol: H5T_STD_U8BE_g

[Regression Potential] only dependencies are changed so no regressions are likely
also pytables contains an extensive testsuite, while it is not run during build, it can be executed with:
python /usr/share/pyshared/tables/tests/test_all.py
it passed with the updated packages

original report
When I import tables without liblzo2-2 I get a Traceback:

jvb@weasel:~$ python -c "import tables"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/tables/__init__.py", line 76, in <module>
    from tables.file import File, openFile, copyFile
  File "/usr/lib/python2.7/dist-packages/tables/file.py", line 43, in <module>
    from tables import hdf5Extension
ImportError: /usr/lib/python2.7/dist-packages/tables/hdf5Extension.so: undefined symbol: H5T_STD_U8BE_g

After installing liblzo2-2 - no traceback:
jvb@weasel:~$ sudo apt-get install liblzo2-2
jvb@weasel:~$ python -c "import tables"

jvb@weasel:~$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

jvb@weasel:~$ apt-cache policy python-tables
python-tables:
  Installed: 2.1.2-3.1build1
  Candidate: 2.1.2-3.1build1
  Version table:
 *** 2.1.2-3.1build1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
        100 /var/lib/dpkg/status

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pytables (Ubuntu):
status: New → Confirmed
Revision history for this message
Julian Taylor (jtaylor) wrote :

this issue is fixed in ubuntu oneiric as lzo is truly optional there, in precise the dependencies are properly added.

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pytables (Ubuntu Natty):
status: New → Confirmed
Revision history for this message
Julian Taylor (jtaylor) wrote :

also nominating for oneiric, while its only missing recommends we still need to update it to ensure a proper upgrade path.

Julian Taylor (jtaylor)
description: updated
description: updated
Julian Taylor (jtaylor)
description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Jonathan, or anyone else affected,

Accepted pytables into natty-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in pytables (Ubuntu Natty):
status: Confirmed → Fix Committed
tags: added: verification-needed
Changed in pytables (Ubuntu Oneiric):
status: New → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Hello Jonathan, or anyone else affected,

Accepted pytables into oneiric-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you confirm that the fix works for you so the update can be moved out of staging?

Revision history for this message
Julian Taylor (jtaylor) wrote :

the update in natty fixes the issue and the testsuite succeeds
oneiric now properly declares liblzo2-2 as recommended.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pytables - 2.1.2-3.1ubuntu0.11.04.1

---------------
pytables (2.1.2-3.1ubuntu0.11.04.1) natty-proposed; urgency=low

  * debian/rules: fix dh_shlibdeps call to fill dependencies
    correctly (LP: #863248)
    - dependency on lzo2 required to import tables
 -- Julian Taylor <email address hidden> Tue, 28 Feb 2012 21:51:06 +0100

Changed in pytables (Ubuntu Natty):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pytables - 2.1.2-3.1ubuntu0.11.10.1

---------------
pytables (2.1.2-3.1ubuntu0.11.10.1) oneiric-proposed; urgency=low

  * debian/rules: fix dh_shlibdeps call to fill dependencies
    correctly (LP: #863248)
 -- Julian Taylor <email address hidden> Tue, 28 Feb 2012 21:51:06 +0100

Changed in pytables (Ubuntu Oneiric):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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