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#24045 - [uzbl-browser] depends on python2 but using python

Attached to Project: Community Packages
Opened by Auguste Pop (Auguste) - Monday, 02 May 2011, 14:33 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 12 June 2011, 21:24 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
uzbl-browser depends on python2. but when invoked from command line, we can see this output:

$ uzbl-browser
/usr/bin/env: python: No such file or directory

this means uzbl-browser is trying to invoke python, which is python3 in arch. without python support, i can not type inside uzbl-browser.

Additional info:
* package version(s)
2011.04.12-2
* config and/or log files etc.
n/a

Steps to reproduce:
uninstall python, and we can see that line. if python is installed, i assume there would be some sort of syntax error somewhere. but i am not sure.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Sunday, 12 June 2011, 21:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  uzbl-event-manager failed, so fixed with patch from user ( thanks )
Comment by Auguste Pop (Auguste) - Monday, 02 May 2011, 14:51 GMT
applying the following patch to change shebangs of files in bin/ fixes the problem.

diff --git a/PKGBUILD b/PKGBUILD
index 82bbe27..f6fcb8a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,7 +23,7 @@ build() {
done
sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
-e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- $(find ./ -name '*.py')
+ $(find ./ -name '*.py') bin/*

make
}

Loading...