Hello, the suggested patch is incomplete as it breaks the installation of ptp-helper on architectures with Rust support by just removing it from the .install file.
I have improved the patch in this regard by employing dh-exec and extended it for the remaining Debian Ports architectures without Rust support (alpha, m68k and sh4). I intentionally omitted ia64 as it will be dropped from Debian Ports within the next days. NB: For dh-exec to work, the file libgstreamer1.0-0.install *must* be executable. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
diff -Nru old/gstreamer1.0-1.24.3/debian/changelog new/gstreamer1.0-1.24.3/debian/changelog --- old/gstreamer1.0-1.24.3/debian/changelog 2024-04-30 10:40:18.000000000 +0200 +++ new/gstreamer1.0-1.24.3/debian/changelog 2024-05-28 07:57:26.535826780 +0200 @@ -1,3 +1,9 @@ +gstreamer1.0 (1.24.3-1+ports) unreleased; urgency=medium + + * Disable rustc for unsupported architectures + + -- John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> Tue, 28 May 2024 07:57:09 +0200 + gstreamer1.0 (1.24.3-1) unstable; urgency=medium * New upstream version 1.24.3 diff -Nru old/gstreamer1.0-1.24.3/debian/control new/gstreamer1.0-1.24.3/debian/control --- old/gstreamer1.0-1.24.3/debian/control 2024-04-30 10:40:18.000000000 +0200 +++ new/gstreamer1.0-1.24.3/debian/control 2024-05-28 11:16:10.247257446 +0200 @@ -6,6 +6,7 @@ Sjoerd Simons <sjo...@debian.org>, Marc Leeman <marc.lee...@gmail.com>, Build-Depends: debhelper-compat (= 13), + dh-exec, dh-sequence-gir, meson (>= 0.62), pkgconf, @@ -18,7 +19,7 @@ libdw-dev [i386 amd64 armel armhf arm64 powerpc ppc64 ppc64el mipsel mips64el riscv64], bison, flex, - rustc, + rustc [!alpha !hppa !m68k !sh4], libgirepository1.0-dev, gir1.2-glib-2.0, gir1.2-freedesktop, diff -Nru old/gstreamer1.0-1.24.3/debian/libgstreamer1.0-0.install new/gstreamer1.0-1.24.3/debian/libgstreamer1.0-0.install --- old/gstreamer1.0-1.24.3/debian/libgstreamer1.0-0.install 2024-04-30 10:37:47.000000000 +0200 +++ new/gstreamer1.0-1.24.3/debian/libgstreamer1.0-0.install 2024-05-28 07:55:56.540429867 +0200 @@ -1,5 +1,6 @@ +#!/usr/bin/dh-exec usr/lib/*/gstreamer-1.0/*.so usr/lib/*/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner -usr/lib/*/gstreamer1.0/gstreamer-1.0/gst-ptp-helper +[!alpha !hppa !m68k !sh4] usr/lib/*/gstreamer1.0/gstreamer-1.0/gst-ptp-helper usr/lib/*/*.so.* usr/share/locale diff -Nru old/gstreamer1.0-1.24.3/debian/rules new/gstreamer1.0-1.24.3/debian/rules --- old/gstreamer1.0-1.24.3/debian/rules 2024-04-30 10:37:47.000000000 +0200 +++ new/gstreamer1.0-1.24.3/debian/rules 2024-05-28 09:39:31.503804282 +0200 @@ -44,6 +44,10 @@ conf_flags += -Dlibunwind=disabled -Dlibdw=disabled endif +ifneq (,$(filter $(DEB_HOST_ARCH),alpha hppa m68k sh4)) +conf_flags += -Dptp-helper=disabled +endif + infiles := \ libgstreamer1.0-0.postinst