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!
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!
FS#24352 - [pypy] Include files are not installed.
Attached to Project:
Community Packages
Opened by David H. Bronke (whitelynx) - Thursday, 19 May 2011, 19:27 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 28 May 2011, 20:50 GMT
Opened by David H. Bronke (whitelynx) - Thursday, 19 May 2011, 19:27 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 28 May 2011, 20:50 GMT
|
DetailsDescription:
The headers for pypy are not installed by the package. This in turn can cause other packages (e.g. twisted) to fail to build against PyPy. Additional info: * package version: 1.5 Steps to reproduce: * pacman -S pypy * ls /opt/pypy # There should be an "include" directory here, but currently there isn't. * sudo /opt/pypy/bin/pip install twisted # This will fail due to a missing Python.h. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Saturday, 28 May 2011, 20:50 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in -2.
Saturday, 28 May 2011, 20:50 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in -2.
pacman -Ql pypy | grep '.*\.h$'
pypy /opt/pypy/lib_pypy/testcapi_long.h
It should at least contain Python.h as well, though there are probably several other headers which should also be included.
--- PKGBUILD.orig 2011-05-24 14:04:28.712697426 -0500
+++ PKGBUILD 2011-05-24 14:05:19.312010596 -0500
@@ -31,6 +31,7 @@
cp -r ${srcdir}/${pkgname}-${pkgver}-src/lib-python/2.7 ${pkgdir}/opt/pypy/lib-python/
cp -r ${srcdir}/${pkgname}-${pkgver}-src/lib-python/modified-2.7 ${pkgdir}/opt/pypy/lib-python/
cp -r ${srcdir}/${pkgname}-${pkgver}-src/lib_pypy ${pkgdir}/opt/pypy/
+ cp -r ${srcdir}/${pkgname}-${pkgver}-src/include ${pkgdir}/opt/pypy/
mkdir -p ${pkgdir}/usr/bin
ln -s /opt/pypy/pypy-c ${pkgdir}/usr/bin/pypy