[Pkg-gtkpod-devel] Bug#1022985: libimobiledevice FTCBFS: python build dependencies not installable
Helmut Grohne
helmut at subdivi.de
Fri Oct 28 16:02:09 BST 2022
Source: libimobiledevice
Version: 1.3.0-6
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
libimobiledevice cannot be cross built from source, because its
python-related build dependencies are not installable. It requests the
python stack for the host architecture, but it wants to actually run
python (build architecture) as well as use host architecture python
development files. I'm attaching a patch to fix this for your
convenience.
Helmut
-------------- next part --------------
diff --minimal -Nru libimobiledevice-1.3.0/debian/changelog libimobiledevice-1.3.0/debian/changelog
--- libimobiledevice-1.3.0/debian/changelog 2021-01-26 08:56:24.000000000 +0100
+++ libimobiledevice-1.3.0/debian/changelog 2022-10-28 16:54:25.000000000 +0200
@@ -1,3 +1,10 @@
+libimobiledevice (1.3.0-6.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Multiarchify Build-Depends. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Fri, 28 Oct 2022 16:54:25 +0200
+
libimobiledevice (1.3.0-6) unstable; urgency=medium
* d/control: drop some unused build-deps (Closes: #980831)
diff --minimal -Nru libimobiledevice-1.3.0/debian/control libimobiledevice-1.3.0/debian/control
--- libimobiledevice-1.3.0/debian/control 2021-01-26 08:56:24.000000000 +0100
+++ libimobiledevice-1.3.0/debian/control 2022-10-28 16:54:25.000000000 +0200
@@ -5,16 +5,17 @@
Uploaders: Yves-Alexis Perez <corsac at debian.org>
Standards-Version: 4.5.1
Build-Depends: autoconf-archive,
- cython3,
+ cython3:native,
debhelper-compat (= 12),
- dh-python,
+ dh-sequence-python3,
libglib2.0-dev (>= 2.14.1),
libssl-dev,
libplist-dev (>= 2.2.0),
+ libpython3-dev,
libusb-1.0-0-dev (>= 1.0.3) [linux-any],
libusbmuxd-dev (>= 2.0.2),
- python3-dev,
- python3-plist
+ python3-dev:any,
+ python3-plist:native
Build-Depends-Indep: doxygen
Homepage: https://www.libimobiledevice.org/
Vcs-Git: https://salsa.debian.org/imobiledevice-team/libimobiledevice.git
diff --minimal -Nru libimobiledevice-1.3.0/debian/rules libimobiledevice-1.3.0/debian/rules
--- libimobiledevice-1.3.0/debian/rules 2021-01-26 08:56:24.000000000 +0100
+++ libimobiledevice-1.3.0/debian/rules 2022-10-28 16:54:25.000000000 +0200
@@ -10,7 +10,7 @@
--disable-silent-rules
%:
- dh $@ --with=python3
+ dh $@
override_dh_auto_configure:
dh_auto_configure -- $(configure_flags) PYTHON=/usr/bin/python3 CYTHON=/usr/bin/cython3
More information about the Pkg-gtkpod-devel
mailing list