Source: gstreamer1.0
Version: 1.24.2-1
Severity: normal
Tags: ftbfs patch

Dear Maintainer,

The standalone ptp-helper application in gstreamer1.0 1.24.2-1 requires
the rust compiler to build.  rustc is not available on hppa, alpha,
hurd-amd64, hurd-i386, ia64, m68k and sh4.  The current dependence on
rustc blocks the entire package from being built.  This indirectly
blocks hundreds of packages from being built.

I do not believe the ptp-helper is useful on hppa.  PTP support
requires hardware time stamping.  None of the Ethernet hardware
commonly used in PA-RISC machines have this capability.

gstreamer1.0 builds successfully with the attached patch on hppa.
Work is needed to add other architectures without rustc and to adjust
the installation files.

Regards,
Dave Anglin

-- System Information:
Debian Release: trixie/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 6.8.7 (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
--- control.save        2024-04-21 15:25:15.368645225 +0000
+++ control     2024-04-21 15:14:58.183856344 +0000
@@ -18,7 +18,7 @@
                libdw-dev [i386 amd64 armel armhf arm64 powerpc ppc64 ppc64el 
mipsel mips64el riscv64],
                bison,
                flex,
-               rustc,
+               rustc [!hppa],
                libgirepository1.0-dev,
                gir1.2-glib-2.0,
                gir1.2-freedesktop,
--- libgstreamer1.0-0.install.save      2024-04-21 16:38:07.810032050 +0000
+++ libgstreamer1.0-0.install   2024-04-21 16:38:17.922110631 +0000
@@ -1,5 +1,4 @@
 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
 usr/lib/*/*.so.*
 usr/share/locale
--- rules.save  2024-04-21 15:25:23.968711117 +0000
+++ rules       2024-04-21 16:40:18.347048541 +0000
@@ -44,6 +44,10 @@
 conf_flags += -Dlibunwind=disabled -Dlibdw=disabled
 endif
 
+ifneq (,$(filter $(DEB_HOST_ARCH),hppa))
+conf_flags += -Dptp-helper=disabled
+endif
+
 infiles := \
        libgstreamer1.0-0.postinst
 

Reply via email to