Source: python3.11 Version: 3.11.0-3 Tags: patch User: [email protected] Usertags: ftcbfs
python3.11 fails to build from source, because the configure option --with-build-python is missing. I'm attaching a patch for your convenience. Helmut
diff --minimal -Nru python3.11-3.11.0/debian/changelog python3.11-3.11.0/debian/changelog --- python3.11-3.11.0/debian/changelog 2022-11-04 10:23:33.000000000 +0100 +++ python3.11-3.11.0/debian/changelog 2022-11-16 20:08:47.000000000 +0100 @@ -1,3 +1,10 @@ +python3.11 (3.11.0-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass --with-build-python. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 16 Nov 2022 20:08:47 +0100 + python3.11 (3.11.0-3) unstable; urgency=medium * Fix valgrind detection. diff --minimal -Nru python3.11-3.11.0/debian/rules python3.11-3.11.0/debian/rules --- python3.11-3.11.0/debian/rules 2022-11-04 10:23:33.000000000 +0100 +++ python3.11-3.11.0/debian/rules 2022-11-16 20:08:44.000000000 +0100 @@ -448,6 +448,7 @@ ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) common_configure_args += --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) + common_configure_args += --with-build-python config_site = ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=yes ifeq (,$(filter $(DEB_HOST_ARCH),arm m68k)) ifeq ($(DEB_HOST_ARCH_ENDIAN),little)

