** Description changed:

  The file "/usr/lib/python2.7/dist-packages/xcffib/__init__.py" tries to
  "ffi.dlopen('libxcb.so')", but 'libxcb.so' doesn't exist considering the
  package's declared dependencies. libxcb1 provides 'libxcb.so.1' and not
  'libxcb.so' (that one is only provided by the '-dev' package)
  
  This only affects wily. Looking at the same file on xenial, it seems
  that it changed the dlopen to use 'libxcb.so.1', which I think is the
  right solution.
+ 
+ TESTCASE:
+ 
+ Before the fix:
+ $ python -c 'import xcffib'
+ Traceback (most recent call last):
+   File "<string>", line 1, in <module>
+   File "/usr/lib/python2.7/dist-packages/xcffib/__init__.py", line 28, in 
<module>
+     lib = ffi.dlopen('libxcb.so')
+ OSError: cannot load library 'libxcb.so': libxcb.so: cannot open shared 
object file: No such file or directory
+ $ python3 -c 'import xcffib'
+ Traceback (most recent call last):
+   File "<string>", line 1, in <module>
+   File "/usr/lib/python3/dist-packages/xcffib/__init__.py", line 28, in 
<module>
+ $
+ 
+ 
+ After applying the fix:
+ $ python -c 'import xcffib'
+ $ python3 -c 'import xcffib'
+ $

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

Title:
  [SRU] xcffib tries to dlopen an unavailable lib

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to