FS#33350 - [libxcb] PKGBUILD problem when python2 & 3 are installed
Attached to Project:
Arch Linux
Opened by Olivier Langlois (lano1106) - Thursday, 10 January 2013, 00:08 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 12 February 2013, 20:05 GMT
Opened by Olivier Langlois (lano1106) - Thursday, 10 January 2013, 00:08 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 12 February 2013, 20:05 GMT
|
Details
Description:
In the build() function, simply using the line PYTHON=/usr/bin/python2 did not make the variable visible to the configure script. It did set python to /usr/bin/python and if it points to python3 will make the build fail. To fix the problem, I have added the keyword 'export' export PYTHON=/usr/bin/python2 or possibly prepending the variable definition on the same line than calling autogen could possibly work as well. Not tested... PYTHON=/usr/bin/python2 ./autogen.sh --prefix=/usr \ --enable-xinput \ --enable-xkb \ --disable-static Additional info: * package version(s) 1.9-2 Steps to reproduce: Try to build libxcb in an environment where python2 and python3 are installed. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Tuesday, 12 February 2013, 20:05 GMT
Reason for closing: Fixed
Additional comments about closing: 1.9-3
Tuesday, 12 February 2013, 20:05 GMT
Reason for closing: Fixed
Additional comments about closing: 1.9-3