FS#27603 - [libsndfile] python2 should be used as the python interpreter
Attached to Project:
Arch Linux
Opened by chubtuff (chubtuff) - Saturday, 17 December 2011, 10:00 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 17 December 2011, 23:35 GMT
Opened by chubtuff (chubtuff) - Saturday, 17 December 2011, 10:00 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 17 December 2011, 23:35 GMT
|
Details
Description:
libsndfile has three python scripts, namely src/binheader_writef_check.py, src/create_symbols_file.py and programs/test-sndfile-metadata-set.py. At least one of these files is relevant for running the included test suite. All of the scripts have this as their first line: #!/usr/bin/python which causes the scripts to fail with syntax errors. Additionally, src/Makefile contains the following line: @if [ -x /usr/bin/python ]; then $(srcdir)/binheader_writef_check.py $(srcdir)/*.c ; fi which causes no problems if the interpreter directive of the python scripts is set to /usr/bin/python2. Additional info: * libsndfile 1.0.25-1 * python2 2.7.2-4 * python 3.2.2-2 Steps to reproduce: 0. Install python. 1. Run `makepkg' for libsndfile. 2. Try to run `make check' in the root source directory. Attached is a new PKGBUILD to resolve the bug. |
This task depends upon
Closed by Eric Belanger (Snowman)
Saturday, 17 December 2011, 23:35 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in svn trunk
Saturday, 17 December 2011, 23:35 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in svn trunk