Source: cracklib2 Version: 2.9.6-2 Severity: important Tags: patch Dear Maintainer,
When Python 3.8 is supported, as in Ubuntu focal or Debian experimental, the 3.8 extensions are not built because of this error in the configure process: checking for python script directory... Traceback (most recent call last): File "<string>", line 20, in <module> File "/usr/lib/python3.8/sysconfig.py", line 512, in get_path return get_paths(scheme, vars, expand)[name] File "/usr/lib/python3.8/sysconfig.py", line 502, in get_paths return _expand_vars(scheme, vars) File "/usr/lib/python3.8/sysconfig.py", line 172, in _expand_vars _extend_dict(vars, get_config_vars()) File "/usr/lib/python3.8/sysconfig.py", line 550, in get_config_vars _init_posix(_CONFIG_VARS) File "/usr/lib/python3.8/sysconfig.py", line 421, in _init_posix _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0) ModuleNotFoundError: No module named '_sysconfigdata_m_linux_x86_64-linux-gnu' Simply unsetting the _PYTHON_HOST_PLATFORM / _PYTHON_SYSCONFIGDATA_NAME variables in debian/rules as in this patch: http://launchpadlibrarian.net/447772089/cracklib2_2.9.6-2build1_2.9.6-2ubuntu1.diff.gz fixes this. It seems to me that dh-python itself now does a better job of setting these variables when needed. Cheers, mwh -- System Information: Debian Release: buster/sid APT prefers eoan APT policy: (500, 'eoan'), (400, 'eoan-proposed') Architecture: amd64 (x86_64) Kernel: Linux 5.3.0-18-generic (SMP w/8 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled