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#25161 - [wireshark] abs build doesn't work with python3
Attached to Project:
Arch Linux
Opened by Anish Bhatt (anish) - Monday, 18 July 2011, 20:26 GMT
Last edited by Guillaume ALAUX (galaux) - Wednesday, 20 July 2011, 18:30 GMT
Opened by Anish Bhatt (anish) - Monday, 18 July 2011, 20:26 GMT
Last edited by Guillaume ALAUX (galaux) - Wednesday, 20 July 2011, 18:30 GMT
|
DetailsHad to symlink python2 to python instead of the arch standard python3 to get around the following build failure :
Making register.c with python File "../../tools/make-dissector-reg.py", line 62 print "Unknown output type '%s'" % registertype Additional info: * package version(s) wireshark : 1.6.0-1 * Detailed error : make[3]: Entering directory `/var/abs/local/wireshark/src/wireshark-1.6.0/epan/dissectors' Making register.c with python File "../../tools/make-dissector-reg.py", line 62 print "Unknown output type '%s'" % registertype ^ SyntaxError: invalid syntax make[3]: *** [register.c] Error 1 make[3]: Leaving directory `/var/abs/local/wireshark/src/wireshark-1.6.0/epan/dissectors' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/abs/local/wireshark/src/wireshark-1.6.0/epan' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/abs/local/wireshark/src/wireshark-1.6.0' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... Steps to reproduce: Simply run a makepkg on the abs pkgbuild for wireshark |
This task depends upon
Closed by Guillaume ALAUX (galaux)
Wednesday, 20 July 2011, 18:30 GMT
Reason for closing: Works for me
Wednesday, 20 July 2011, 18:30 GMT
Reason for closing: Works for me
PYTHON=/usr/bin/python2 ./configure...
> Simply run a makepkg on the abs pkgbuild for wireshark
Done. And it works here.
FYI:
% python -V
Python 3.2.1
% uname -m
x86_64
Am I missing something here?
Python 3.2.1
~ $ uname -m
x86_64
~ $ ls -al `which python`
lrwxrwxrwx 1 root root 7 Jul 11 05:49 /usr/bin/python -> python3
Haven't made any change that would affect python to this system.