Skip to contentSkip to conversation

package/x11r7/libxcb: force the use of python2

PATCH New Bernd Kuhls 2 participants 2 messages Jun 25, 2016 – Jun 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/x11r7/libxcb: force the use of python2

libxcb in its current state is not python3-compatible:
https://bugs.freedesktop.org/show_bug.cgi?id=96395

Fixes
http://autobuild.buildroot.net/results/c74/c74fa243bf319472dca66982323df6c2a983642b/

---
 package/x11r7/libxcb/libxcb.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/x11r7/libxcb/libxcb.mk +4 -0
index a740638..7f7823b 100644
@@ -19,5 +19,9 @@ LIBXCB_DEPENDENCIES = \
 LIBXCB_CONF_OPTS = --with-doxygen=no
 HOST_LIBXCB_CONF_OPTS = --with-doxygen=no
 
+# libxcb is not python3 friendly, so force the python interpreter
+HOST_LIBXCB_CONF_OPTS += ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python2
+LIBXCB_CONF_OPTS += ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python2
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 package/x11r7/libxcb: force the use of python2

Hello,

Quoted 10 lines · Bernd Kuhls

libxcb in its current state is not python3-compatible:
https://bugs.freedesktop.org/show_bug.cgi?id=96395

Fixes
http://autobuild.buildroot.net/results/c74/c74fa243bf319472dca66982323df6c2a983642b/

---
 package/x11r7/libxcb/libxcb.mk | 4 ++++
 1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com