Source: python3-stdlib-extensions
Version: 3.6.2-1
User: helm...@debian.org
Usertags: rebootstrap

Hi Matthias,

Thank you for working on python cross building. It seems that little
progress is being made on https://bugs.python.org/issue28125 and until
that is fixed, cross building with python3.6 will be ugly. The attached
patch demonstrates how python3-stdlib-extensions can be cross built with
the present python3.6. How can we make this work properly again?

Helmut
diff --minimal -Nru python3-stdlib-extensions-3.6.2/debian/rules python3-stdlib-extensions-3.6.2/debian/rules
--- python3-stdlib-extensions-3.6.2/debian/rules	2017-01-19 23:45:49.000000000 +0100
+++ python3-stdlib-extensions-3.6.2/debian/rules	2017-09-08 20:46:11.000000000 +0200
@@ -21,6 +21,7 @@
 
   # FIXME: is this sufficient?
   SET_CROSS_ENV += _PYTHON_HOST_PLATFORM=$(DEB_HOST_GNU_CPU)
+  SET_CROSS_ENV += _PYTHON_SYSCONFIGDATA_NAME=$$(basename -s .py /usr/lib/python$*/_sysconfigdata_m_*_$(DEB_HOST_MULTIARCH).py)
 endif
 
 p_tk	= python3-tk

Reply via email to