[SRU] xcffib tries to dlopen an unavailable lib
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xcffib (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Wily |
Won't Fix
|
Low
|
Unassigned |
Bug Description
[Impact]
The file "/usr/lib/
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.
[Test Case]
Before the fix:
$ python -c 'import xcffib'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/
lib = ffi.dlopen(
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/
$
After applying the fix:
$ python -c 'import xcffib'
$ python3 -c 'import xcffib'
$
Related branches
- Daniel Holbach (community): Approve
-
Diff: 61 lines (+26/-1)5 files modified.pc/applied-patches (+1/-0)
debian/changelog (+9/-0)
debian/patches/libxcb-so-1.patch (+14/-0)
debian/patches/series (+1/-0)
module/__init__.py (+1/-1)
Changed in xcffib (Ubuntu): | |
status: | New → Fix Released |
importance: | Undecided → Low |
Changed in xcffib (Ubuntu): | |
status: | Triaged → Fix Committed |
summary: |
- xcffib tries to dlopen an unavailable lib + [SRU] xcffib tries to dlopen an unavailable lib |
Changed in xcffib (Ubuntu): | |
status: | Fix Committed → Fix Released |
description: | updated |
Changed in xcffib (Ubuntu Wily): | |
importance: | Undecided → Low |
description: | updated |
The merge proposal I linked should fix the problem. I also built the package with the fix on my ppa (https:/ /launchpad. net/~hackedbell ini/+archive/ ubuntu/ misc/+packages) for anyone wanting to test it.