wrong symlink _gv.i686-linux-gnu.so on 32 bit Ubuntu 16.04

Bug #1678532 reported by y-lee
This bug affects 1 person
Affects Status Importance Assigned to Milestone
graphviz (Ubuntu)

Bug Description

I noticed I was unable to build the documentation correctly for python-efl on Bodhi linux 4.2. The docs built but without images. The error was eventually tracked down to a broken symlink:

bodhi@bodhi-VirtualBox:/usr/lib/python2.7/dist-packages$ ls -l *gv*so
lrwxrwxrwx 1 root root 32 Jan 5 16:17 _gv.i686-linux-gnu.so -> libgv_python27.i686-linux-gnu.so
-rw-r--r-- 1 root root 93880 Jan 5 16:17 libgv_python27.i386-linux-gnu.so

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Bodhi Linux
Release: 16.04
Codename: xenial

This resulted in me being unable to load the module gv in python:

bodhi@bodhi-VirtualBox:~$ python
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] 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 "/usr/lib/python2.7/dist-packages/gv.py", line 28, in <module>
    _gv = swig_import_helper()
  File "/usr/lib/python2.7/dist-packages/gv.py", line 20, in swig_import_helper
    import _gv
ImportError: No module named _gv

The inability to load module gv in python broke images being built in python-efl. The fix was to restore a proper link:

sudo ln -s libgv_python27.i386-linux-gnu.so _gv.i386-linux-gnu.so

I have documented this problem on Bodhi's forums and while I could fix said deb file and upload it to Bodhis repo I feel it is best to report the issue upstream, hence here. SEE http://forums.bodhilinux.com/index.php?/topic/14275-i386-python-efl-docs-wrong-symlink-gvi686-linux-gnuso/

For the record this seems to be a 386 version of the issue (LP: #1583897)

y-lee (sakti-devotee)
information type: Public → Public Security
information type: Public Security → Public
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.