Source: cbor2
Version: 5.4.6-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

cbor2 fails to cross build from source, because it misses a build
dependency on libpython3-all-dev. Note that this is not implied in
python3-all-dev:any. While it is implied in python3-all-dev (without
:any), you probably added the :any to improve cross build support. This
weakening of the dependency requires the addition of libpython3-all-dev
though. I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru cbor2-5.4.6/debian/changelog cbor2-5.4.6/debian/changelog
--- cbor2-5.4.6/debian/changelog        2022-12-09 12:31:32.000000000 +0100
+++ cbor2-5.4.6/debian/changelog        2023-03-15 10:06:14.000000000 +0100
@@ -1,3 +1,10 @@
+cbor2 (5.4.6-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add missing build dependency libpython3-all-dev. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 15 Mar 2023 10:06:14 +0100
+
 cbor2 (5.4.6-1) unstable; urgency=medium
 
   * New upstream version 5.4.6
diff --minimal -Nru cbor2-5.4.6/debian/control cbor2-5.4.6/debian/control
--- cbor2-5.4.6/debian/control  2022-12-09 12:31:32.000000000 +0100
+++ cbor2-5.4.6/debian/control  2023-03-15 10:06:13.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Python Team <[email protected]>
 Uploaders: Bastian Germann <[email protected]>
-Build-Depends: debhelper-compat (= 13), pybuild-plugin-pyproject, 
python3-all-dev:any,
+Build-Depends: debhelper-compat (= 13), libpython3-all-dev, 
pybuild-plugin-pyproject, python3-all-dev:any,
  python3-setuptools, python3-setuptools-scm:native, python3-pytest-cov:native,
  python3-sphinx-rtd-theme:native, dh-sequence-sphinxdoc
 Standards-Version: 4.5.1

Reply via email to