[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#700104: RFS: evemu/1.0.10-1 [ITP]



(I don't intend to sponsor this. Sorry!)

* Stephen M. Webb <stephen.webb@bregmasoft.ca>, 2013-02-08, 13:47:
http://mentors.debian.net/debian/pool/main/e/evemu/evemu_1.0.10-1.dsc

w: evemu source: source-contains-python-bytecode python/evemu/testing/__init__.pyc
w: evemu source: source-contains-python-bytecode python/evemu/testing/result.pyc
w: evemu source: source-contains-python-bytecode python/evemu/testing/testcase.pyc
w: evemu source: source-contains-python-bytecode python/evemu/tests/__init__.pyc
w: evemu source: source-contains-python-bytecode python/evemu/tests/test_base.pyc
w: evemu source: source-contains-python-bytecode python/evemu/tests/test_device.pyc

Please tell upstream not to include these files in the future releases.
Also, please make sure they won't be used at build time.


I tried testing python-evemu, but I got this:

# python -c "import evemu; evemu.Device('/dev/input/event0')"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/evemu/__init__.py", line 64, in __init__
    self._evemu = evemu.base.EvEmuBase(find_library(evemu.const.LIB))
  File "/usr/lib/python2.7/dist-packages/evemu/base.py", line 16, in __init__
    self._lib = ctypes.CDLL(library, use_errno=True)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 365, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: libevemu.so: cannot open shared object file: No such file or directory


There are two problems here:
1) A dependency is missing.
2) .so symlink is supposed to be used for building only. You should dlopen libevemu.so.1 instead.

--
Jakub Wilk


Reply to: