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#31519 - [python] no provider for file python.pc
Attached to Project:
Arch Linux
Opened by Kerrick Staley (KerrickStaley) - Thursday, 13 September 2012, 05:57 GMT
Last edited by Stéphane Gaudreault (stephane) - Sunday, 14 October 2012, 00:42 GMT
Opened by Kerrick Staley (KerrickStaley) - Thursday, 13 September 2012, 05:57 GMT
Last edited by Stéphane Gaudreault (stephane) - Sunday, 14 October 2012, 00:42 GMT
|
DetailsThe python.pc file, which is the pkg-config file for Python (used when developing Python extensions in C) isn't provided by any package (except sage-mathematics, but you shouldn't have to install Sage to get this file).
To fix this, the following lines need to be added at the end of the python PKGBUILD. Please note I haven't tested this code, since the python package takes a long time to build: # pkg-config files install -Dm644 "${srcdir}/Python-${pkgver}/Misc/python.pc" "${pkgdir}/usr/share/pkg-config/python-3.2.pc" ln -s "${pkgdir}/usr/share/pkg-config/python-3.2.pc" "${pkgdir}/usr/share/pkg-config/python3.pc" ln -s "${pkgdir}/usr/share/pkg-config/python3.pc" "${pkgdir}/usr/share/pkg-config/python.pc" The following lines need to be added at the end of the python2 PKGBUILD: # pkg-config files install -Dm644 "${srcdir}/Python-${pkgver}/Misc/python.pc" "${pkgdir}/usr/share/pkg-config/python-2.7.pc" ln -s "${pkgdir}/usr/share/pkg-config/python-3.2.pc" "${pkgdir}/usr/share/pkg-config/python2.pc" |
This task depends upon
Closed by Stéphane Gaudreault (stephane)
Sunday, 14 October 2012, 00:42 GMT
Reason for closing: Won't fix
Sunday, 14 October 2012, 00:42 GMT
Reason for closing: Won't fix
Also, this line is clearly wrong for a python2 package :
ln -s "${pkgdir}/usr/share/pkg-config/python-3.2.pc" "${pkgdir}/usr/share/pkg-config/python2.pc"