Bug#1142340: ffmpeg: FTBFS on hppa: --ignore-tests configure option added to CONFIG 3 times

John David Anglin <[email protected]> Fri, 17 Jul 2026 19:47:33 -0400
Newsgroups gmane.linux.debian.ports.hppa
Message-ID <178433205326.2065.2675632143901154383.reportbug__33851.2570526049$1784332776$gmane$org@mx3210>
This is a multi-part MIME message sent by reportbug.


--===============0909711571==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Source: ffmpeg
Version: 8.1.2
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: hppa

Dear Maintainer,

The debian rules file adds the --ignore-tests option to CONFIG three
times on hppa.  I believe only the last one is effective but we need
to ignore filter-aemphasis-50fm.  The filter-overlay_yuv420p10 test
no longer fails on hppa.

This problem probably affects some other big endian architectures.

Regards,
Dave Anglin

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

Kernel: Linux 7.1.3+deb14-parisc64 (SMP w/4 CPU threads)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--===============0909711571==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="ffmpeg-rules-v2.diff"

--- debian/rules.save	2026-07-17 14:52:36.601736071 -0400
+++ debian/rules	2026-07-17 14:53:02.422150387 -0400
@@ -225,19 +225,20 @@
 	CONFIG += --ignore-tests=checkasm-sw_scale,filter-scale2ref_keep_aspect
 endif
 # https://trac.ffmpeg.org/ticket/9855
-ifneq (,$(filter hppa m68k powerpc sparc64 s390x,$(DEB_HOST_ARCH_CPU)))
+ifneq (,$(filter m68k powerpc sparc64 s390x,$(DEB_HOST_ARCH_CPU)))
 	CONFIG += --ignore-tests=filter-overlay_yuv420p10
 endif
-ifeq (hppa,$(DEB_HOST_ARCH))
-	CONFIG += --ignore-tests=filter-aemphasis-50fm
-endif
 ifeq (ppc64,$(DEB_HOST_ARCH))
 	CONFIG += --ignore-tests=checkasm-sw_scale,filter-overlay_yuv420p10
 endif
 # https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/22564
 ifeq (big,$(DEB_HOST_ARCH_ENDIAN))
+ifeq (hppa,$(DEB_HOST_ARCH))
+	CONFIG += --ignore-tests=vsynth2-ffvhuff420p12,vsynth3-ffvhuff420p12,vsynth1-ffvhuff420p12,filter-aemphasis-50fm
+else
 	CONFIG += --ignore-tests=vsynth2-ffvhuff420p12,vsynth3-ffvhuff420p12,vsynth1-ffvhuff420p12
 endif
+endif
 # https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/23558
 ifeq (loong64,$(DEB_HOST_ARCH))
 	CONFIG += --ignore-tests=filter-mcdeint-slow-edge

--===============0909711571==--