Source: pyparted
Version: 3.12.0-3
Tags: patch
User: [email protected]
Usertags: ftcbfs

pyparted fails to cross build from source, because it misses a build
dependency on libpython3-all-dev. The python3-all-dev dependency was
weakened using a :any annotation. While this annotation is necessary for
cross builds (and meaningless otherwise), it must be compensated by a
libpython3-all-dev dependency. I'm attaching a patch for your
convenience.

Helmut
diff --minimal -Nru pyparted-3.12.0/debian/changelog 
pyparted-3.12.0/debian/changelog
--- pyparted-3.12.0/debian/changelog    2022-11-22 11:27:53.000000000 +0100
+++ pyparted-3.12.0/debian/changelog    2023-03-03 18:38:01.000000000 +0100
@@ -1,3 +1,10 @@
+pyparted (3.12.0-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Missing Build-Depends: libpython3-all-dev. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 03 Mar 2023 18:38:01 +0100
+
 pyparted (3.12.0-3) unstable; urgency=medium
 
   * d/watch: Scan GitHub release API
diff --minimal -Nru pyparted-3.12.0/debian/control 
pyparted-3.12.0/debian/control
--- pyparted-3.12.0/debian/control      2022-11-22 11:27:03.000000000 +0100
+++ pyparted-3.12.0/debian/control      2023-03-03 18:37:59.000000000 +0100
@@ -6,6 +6,7 @@
 Build-Depends: debhelper-compat (= 12),
                dh-python,
                libparted-dev,
+               libpython3-all-dev,
                parted,
                pkg-config,
                python3-all-dev:any,

Reply via email to