Skip to contentSkip to conversation

package/x11r7/libxcb: force the use of python2

PATCH New Bernd Kuhls 1 participant 2 messages Jun 25, 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

Am Sun, 26 Jun 2016 00:49:04 +0200 schrieb Bernd Kuhls:

Quoted 10 lines

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(+)

Hi,

forget this one, I already sent http://patchwork.ozlabs.org/patch/640596/

It's getting late, sorry for the noise...

Regards, Bernd