Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#41121 - [pypy] 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) - Tuesday, 08 July 2014, 10:18 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)
Tuesday, 08 July 2014, 10:18 GMT
Reason for closing:  Fixed
Comment by Yichao Yu (yuyichao) - Monday, 07 July 2014, 03:46 GMT
Also, I believe openssl, expat, ncurses, zlib and bzip2 are depends rather than opt/makedepends since they are directly linked to the pypy binary.

Same applies to pypy3.

Loading...