libgv-python: wrong symlink from _gv.x86_64-linux-gnu.so
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
graphviz (Debian) |
Fix Released
|
Unknown
|
|||
graphviz (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned | ||
Yakkety |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Impact
======
libgv-python is unusable because the symlink is not pointed to the correct file. Ubuntu 16.04 LTS and 16.10 are affected by this bug, but Ubuntu 14.04 LTS is not.
Test Case
=========
Install libgv-python
Run these commands:
$ python
>>> import gv
It should silently print a new line without errors
>>>
Then, type exit() to exit the python interpreter
Regression Potential
=======
None. Without this fix, libgv-python doesn't work at all.
The fix in debian/rules is copied from Debian 2.38.0-16.
Original Bug Report
===================
On xenial, with the latest version of libgv-python (2.38.0-12ubuntu2) on x86_64,
when importing the gv module I get the following error:
```
❯ python
Python 2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gv
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "gv.py", line 28, in <module>
_gv = swig_import_
File "gv.py", line 20, in swig_import_helper
import _gv
ImportError: No module named _gv
>>>
```
Upon investigation, there is a dangling symlink -- _gv.x86_
```
/usr/lib/
❯ ls -l *gv*so
lrwxrwxrwx 1 root root 17 Mar 14 05:29 _gv.x86_
-rw-r--r-- 1 root root 92624 Mar 14 05:29 libgv_python27.
```
Currently creating the libgv_python27.so -> libgv_python27.
Changed in graphviz (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in graphviz (Ubuntu Xenial): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in graphviz (Ubuntu Yakkety): | |
status: | New → In Progress |
importance: | Undecided → Medium |
tags: | added: xenial yakkety |
Changed in graphviz (Debian): | |
status: | Unknown → Fix Released |
description: | updated |
This bug was fixed in the package graphviz - 2.38.0-16ubuntu1
---------------
graphviz (2.38.0-16ubuntu1) zesty; urgency=medium
* Sync with Debian (LP: #1583897). Remaining change:
- Build without gts support since the library is still in universe
* Don't build-depend on libann-dev since it's in universe
graphviz (2.38.0-16) unstable; urgency=low
* Fix libgv-python broken symlink (closes: #839176).
* Add libann-dev to build dependency to build tool mingle (closes: #830998).
-- Jeremy Bicha <email address hidden> Sat, 24 Dec 2016 21:43:57 -0500