FS#41120 - [pypy3] Missing make dependencies for modules that use cffi
Attached to Project:
Community Packages
Opened by Yichao Yu (yuyichao) - Monday, 07 July 2014, 03:35 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 09 July 2014, 03:54 GMT
Opened by Yichao Yu (yuyichao) - Monday, 07 July 2014, 03:35 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Wednesday, 09 July 2014, 03:54 GMT
|
Details
Description:
PyPy uses cffi module to interact with low level c libraries in many modules, many of which require compilation of c source given in python files. This compilation can either take place at compile time if the libraries/headers are found or at runtime. However, compiling at runtime requires writing permission to system path which is not possible for non-root users and therefore should not be used for packaging. Currently the pypy(3) packages miss a lot of make dependencies which makes a lot of pypy modules not usable for non-root users (to see the problem, just import these modules as non-root). The list of affected modules and the corresponding libraries are: curses module: ncurses sqlite3 module: sqlite gdbm module: gdbm lib-tk modules (e.g. Tkinter): tk and tcl The problem should be fixed by adding these modules to make depends. They should also be added to optdepends. THX Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Wednesday, 09 July 2014, 03:54 GMT
Reason for closing: Fixed
Wednesday, 09 July 2014, 03:54 GMT
Reason for closing: Fixed
The module names for pypy3 are
curses
sqlite3
dbm
tkinter
(Also for pypy) it might also be necessary to add !emptydirs to options to remove the temp dir under __pycache__