control: tags -1 patch It turns out its not installing libpython3.11-dev because you depend on python3-dev instead of python3-all-dev.
See e.g. https://launchpad.net/ubuntu/+source/tpm2-pytss/1.2.0-2ubuntu1 and the patch diff -Nru tpm2-pytss-1.2.0/debian/changelog tpm2-pytss-1.2.0/debian/changelog --- tpm2-pytss-1.2.0/debian/changelog 2022-10-21 11:37:20.000000000 +0000 +++ tpm2-pytss-1.2.0/debian/changelog 2022-12-04 08:37:49.000000000 +0000 @@ -1,3 +1,10 @@ +tpm2-pytss (1.2.0-2.1) unstable; urgency=medium + + * Depend on libpython3-all-dev to make it build with non-default + Python3 versions (Closes: #1025406) + + -- Gianfranco Costamagna <locutusofb...@debian.org> Sun, 04 Dec 2022 09:37:49 +0100 + tpm2-pytss (1.2.0-2) unstable; urgency=high* Team upload
diff -Nru tpm2-pytss-1.2.0/debian/control tpm2-pytss-1.2.0/debian/control --- tpm2-pytss-1.2.0/debian/control 2022-10-21 10:30:41.000000000 +0000 +++ tpm2-pytss-1.2.0/debian/control 2022-12-04 08:37:48.000000000 +0000 @@ -12,7 +12,7 @@ python3-asn1crypto, python3-cffi (>= 1.0.0), python3-cryptography (>= 3.0), - python3-dev, + python3-all-dev, python3-doc, python3-myst-parser, python3-pkgconfig, G. On Sun, 4 Dec 2022 09:09:54 +0100 Gianfranco Costamagna <locutusofb...@debian.org> wrote:
Source: tpm2-pytss Version: 1.2.0-2 Severity: serious Hello, your package not FTBFS with a clean sid environment. Following the failure W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build I: Current time: Sun Dec 4 09:06:09 CET 2022 I: pbuilder-time-stamp: 1670141169 I: Building the build Environment I: extracting base tarball [/home/locutus/pbuilder/sid-base.tgz] I: copying local configuration W: No local /etc/mailname to copy, relying on /tmp/build/209176/etc/mailname to be correct W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Obtaining the cached apt archive contents I: Copying source file I: copying [tpm2-pytss_1.2.0-2.dsc] I: copying [./tpm2-pytss_1.2.0.orig.tar.gz] I: copying [./tpm2-pytss_1.2.0-2.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/tmp/dpkg-gpg-verify.AFKkmrLk/trustedkeys.kbx': General error gpgv: Signature made Fri Oct 21 11:38:32 2022 UTC gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 gpgv: issuer "b...@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./tpm2-pytss_1.2.0-2.dsc: no acceptable signature found dpkg-source: info: extracting tpm2-pytss in tpm2-pytss-1.2.0 dpkg-source: info: unpacking tpm2-pytss_1.2.0.orig.tar.gz dpkg-source: info: unpacking tpm2-pytss_1.2.0-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying debian-hacks/docs-Use-internal-ressources-for-intersphinx.patch I: Not using root during the build. I: Installing the build-deps -> Attempting to parse the build-deps -> Considering build-depdebhelper-compat (= 13) -> Trying to add debhelper-compat=13 -> Considering build-dep dh-sequence-python3 -> Trying to add dh-sequence-python3 -> Considering build-dep libtss2-dev -> Trying to add libtss2-dev -> Considering build-dep pybuild-plugin-pyproject -> Trying to add pybuild-plugin-pyproject -> Considering build-dep python3-all:any -> Trying to add python3-all:any -> Considering build-dep python3-asn1crypto -> Trying to add python3-asn1crypto -> Considering build-dep python3-cffi (>= 1.0.0) -> Trying to add python3-cffi -> Considering build-dep python3-cryptography (>= 3.0)
OpenPGP_signature
Description: OpenPGP digital signature