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#38915 - [python2] Bad shebang
Attached to Project:
Arch Linux
Opened by Nicolas (alkino) - Friday, 14 February 2014, 15:53 GMT
Last edited by Felix Yan (felixonmars) - Saturday, 15 February 2014, 15:12 GMT
Opened by Nicolas (alkino) - Friday, 14 February 2014, 15:53 GMT
Last edited by Felix Yan (felixonmars) - Saturday, 15 February 2014, 15:12 GMT
|
DetailsHello,
I try to use /usr/lib/python2.7/Tools/i18n/pygettext.py $ pacman -Qo /usr/lib/python2.7/Tools/i18n/pygettext.py /usr/lib/python2.7/Tools/i18n/pygettext.py is owned by python2 2.7.6-1 But the shebang is bad: $ head -1 /usr/lib/python2.7/Tools/i18n/pygettext.py #! /usr/bin/env python In the PKGBUILD [1], there is a part seding them line 84, but the installation is line 73. So I do a trivial patch (attached) moving it. Thanks ;) Nicolas [1] https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/python2 |
This task depends upon
Closed by Felix Yan (felixonmars)
Saturday, 15 February 2014, 15:12 GMT
Reason for closing: Fixed
Additional comments about closing: 2.7.6-2
Saturday, 15 February 2014, 15:12 GMT
Reason for closing: Fixed
Additional comments about closing: 2.7.6-2
shebang.patch
https://projects.archlinux.org/svntogit/packages.git/commit/trunk/PKGBUILD?h=packages/python2&id=f16f20f25f4d73d05b211611186d7127455f9624
- find "${pkgdir}"/usr/lib/python${_pybasever}/ -name '*.py' | \
+ find . -name '*.py' | \
We're not in the good directory.
It's the same for the Touch.
FS#37006was applied to wrong place, the find and touch stuff should happen in prepare()See the patch for reference: https://bugs.archlinux.org/task/37006?getfile=11226