Arch Linux

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#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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Loading...