Source: automake-1.16 Version: 1:1.16.5-1.2 Severity: serious Justification: https://release.debian.org/testing/rc_policy.txt ยง6a User: debian...@lists.debian.org Usertags: regression X-Debbugs-Cc: stefa...@debian.org, d...@debian.org, debian...@lists.debian.org
The NMU of automake-1.16=1:1.16.5-1.2 seems to have introduced a regression for the autopkgtest. From test-suite.log: ---- 8< ---- + ./configure PYTHON=python3 --with-python-sys-prefix --prefix=/tmp/autopkgtest-lxc.hp__51gb/downtmp/build.fek/src/t/python-vars.dir/inst checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for python version... 3.9 checking for python platform... linux checking for python default python prefix... /usr checking for python default python exec_prefix... /usr checking for python script directory (pythondir)... Traceback (most recent call last): File "<string>", line 20, in <module> AttributeError: module 'sysconfig' has no attribute 'get_default_scheme' checking for python extension module directory (pyexecdir)... Traceback (most recent call last): File "<string>", line 20, in <module> AttributeError: module 'sysconfig' has no attribute 'get_default_scheme' checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating vars-got config.status: creating pythondir config.status: creating pyexecdir + make test-in test-am cd . && /bin/bash /tmp/autopkgtest-lxc.hp__51gb/downtmp/build.fek/src/t/python-vars.dir/missing automake-1.16 --foreign Makefile cd . && /bin/bash ./config.status Makefile config.status: creating Makefile > doing test-in >> contents of pythondir: cat pythondir case `cat pythondir` in '${PYTHON_PREFIX}'/*);; *) exit 1;; esac make: *** [Makefile:659: test-in] Error 1 + am_exit_trap 2 + exit_status=2 + set +e + cd /tmp/autopkgtest-lxc.hp__51gb/downtmp/build.fek/src + test none = tap + case $am_explicit_skips in + test 2 -eq 0 + keep_testdirs=yes + am_keeping_testdirs + case $keep_testdirs in + return 0 + set +x FAIL t/python-vars.sh (exit status: 2) ---- 8< ---- It looks as though the patch works for python3.10 (and therefore for Ubuntu, where this is already the default), but not for 3.9. Perhaps it should be doing something like this? if hasattr(sysconfig, 'get_default_scheme'): scheme = sysconfig.get_default_scheme() else: scheme = 'posix_prefix' I'm not completely clear on whether this is Debian-specific or upstream-suitable, though. smcv