Bug#736721: Incorrect dependencies

2014-03-12 Thread Jonas Borgström
On 2014-02-07 15:33 , Jonas Borgström wrote: On 2014-02-07 15:08 , Julien Cristau wrote: On Fri, Feb 7, 2014 at 15:04:47 +0100, Jonas Borgström wrote: On 2014-02-07 12:12 , Jakub Wilk wrote: What attic/crypto.py currently does is: libcrypto = cdll.LoadLibrary(find_library('crypto')) But

Bug#736721: Incorrect dependencies

2014-02-07 Thread Jonas Borgström
On 2014-02-07 08:37 , Dmitry Shachnev wrote: Hi Clint, See http://docs.python.org/3/library/ctypes.html for description of how ctypes works. As Python programs are interpreted, the only way to access external shared libraries from Python code is by dlopen()ing them. By looking at attic

Bug#736721: Incorrect dependencies

2014-02-07 Thread Jakub Wilk
What attic/crypto.py currently does is: libcrypto = cdll.LoadLibrary(find_library('crypto')) But there is no guarantee that find_library('crypto') returns a library that is ABI-compatible with the Python code. For the Debian package, a quickdirty fix is to replace the find_library() call with

Bug#736721: Incorrect dependencies

2014-02-07 Thread Jonas Borgström
On 2014-02-07 12:12 , Jakub Wilk wrote: What attic/crypto.py currently does is: libcrypto = cdll.LoadLibrary(find_library('crypto')) But there is no guarantee that find_library('crypto') returns a library that is ABI-compatible with the Python code. For the Debian package, a quickdirty

Bug#736721: Incorrect dependencies

2014-02-07 Thread Jonas Borgström
On 2014-02-07 15:08 , Julien Cristau wrote: On Fri, Feb 7, 2014 at 15:04:47 +0100, Jonas Borgström wrote: On 2014-02-07 12:12 , Jakub Wilk wrote: What attic/crypto.py currently does is: libcrypto = cdll.LoadLibrary(find_library('crypto')) But there is no guarantee that

Bug#736721: Incorrect dependencies

2014-02-07 Thread Julien Cristau
On Fri, Feb 7, 2014 at 15:04:47 +0100, Jonas Borgström wrote: On 2014-02-07 12:12 , Jakub Wilk wrote: What attic/crypto.py currently does is: libcrypto = cdll.LoadLibrary(find_library('crypto')) But there is no guarantee that find_library('crypto') returns a library that is

Bug#736721: Incorrect dependencies

2014-02-06 Thread Clint Adams
On Sun, Jan 26, 2014 at 01:04:09PM +0100, Jonas Borgström wrote: Attic uses ctypes to interact with libcrypto and does not use python3-openssl. So the python3-openssl dependency should be replaced with a dependency on libssl1.0.0. I assume this means this cdll thing is calling dlopen() on

Bug#736721: Incorrect dependencies

2014-02-06 Thread Dmitry Shachnev
Hi Clint, See http://docs.python.org/3/library/ctypes.html for description of how ctypes works. As Python programs are interpreted, the only way to access external shared libraries from Python code is by dlopen()ing them. By looking at attic code, it only accesses libc (in xattr.py) and libcrypto

Bug#736721: Incorrect dependencies

2014-01-26 Thread Jonas Borgström
Package: attic Version: 0.8.1-1 Attic uses ctypes to interact with libcrypto and does not use python3-openssl. So the python3-openssl dependency should be replaced with a dependency on libssl1.0.0. Thanks for packaging Attic btw! I've added some info about that to the home page. Attic 0.9 is