Package: dh-python Version: 3.20180927 File: /usr/bin/pybuild /usr/bin/pybuild has:
| try: | # Set _PYTHON_HOST_PLATFORM to ensure debugging symbols on, f.e. i386 | # emded a constant name regardless of the 32/64-bit kernel. | env.setdefault( | '_PYTHON_HOST_PLATFORM', | '{env[DEB_TARGET_ARCH_OS]}-{env[DEB_TARGET_ARCH]}'.format(env=env)) | except KeyError: | pass That's wrong. You're confusing host and target here. Please use DEB_HOST_* instead of DEB_TARGET_*. Refer to man 1 dpkg-architecture for their definitions. Helmut