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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Yichao Yu (yuyichao) - Monday, 07 July 2014, 03:56 GMT
Sorry
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__

Loading...