[Bug 1678532] [NEW] wrong symlink _gv.i686-linux-gnu.so on 32 bit Ubuntu 16.04

y-lee ylee at bodhilinux.com
Sat Apr 1 20:17:33 UTC 2017


Public bug reported:

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 at 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 at 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)

** Affects: graphviz (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to graphviz in Ubuntu.
https://bugs.launchpad.net/bugs/1678532

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

Status in graphviz package in Ubuntu:
  New

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 at 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 at 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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/graphviz/+bug/1678532/+subscriptions



More information about the foundations-bugs mailing list