This bug was fixed in the package graphviz - 2.38.0-15ubuntu1.1 --------------- graphviz (2.38.0-15ubuntu1.1) yakkety; urgency=medium
* Fix broken symlink that made libgv-python unusable (LP: #1583897) -- Jeremy Bicha <[email protected]> Sat, 24 Dec 2016 21:43:57 -0500 ** Changed in: graphviz (Ubuntu Yakkety) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1583897 Title: libgv-python: wrong symlink from _gv.x86_64-linux-gnu.so Status in graphviz package in Ubuntu: Fix Released Status in graphviz source package in Xenial: Fix Released Status in graphviz source package in Yakkety: Fix Released Status in graphviz package in Debian: Fix Released 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_helper() 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_64-linux- gnu.so points to a non-existent library that does not contain the architecture, whereas the actual existing file is tagged with the architecture (x86_64-linus-gnu): ``` /usr/lib/python2.7/dist-packages ❯ ls -l *gv*so lrwxrwxrwx 1 root root 17 Mar 14 05:29 _gv.x86_64-linux-gnu.so -> libgv_python27.so -rw-r--r-- 1 root root 92624 Mar 14 05:29 libgv_python27.x86_64-linux-gnu.so ``` Currently creating the libgv_python27.so -> libgv_python27.x86_64 -linux-gnu.so symlink manually so as not to touch the files coming from the package. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/graphviz/+bug/1583897/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : [email protected] Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp

