Source: libpng1.6 Version: 1.6.44-2 Severity: important Tags: patch ftbfs libpng1.6 FTBFS on ppc64, because it attempts to use VSX / AltiVec and gcc happens to not enable that by default as doing so would violate the ppc64 baseline. I suggest overriding the detection in d/rules. Additionally, this is misdetected in a powerpc cross build, so I likewise suggest overriding it there. Attaching a patch for your convenience.
Helmut
diff --minimal -Nru libpng1.6-1.6.44/debian/changelog libpng1.6-1.6.44/debian/changelog --- libpng1.6-1.6.44/debian/changelog 2024-09-17 11:37:20.000000000 +0200 +++ libpng1.6-1.6.44/debian/changelog 2024-10-30 06:09:15.000000000 +0100 @@ -1,3 +1,10 @@ +libpng1.6 (1.6.44-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Disable VSX on legacy powerpc CPUs. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 30 Oct 2024 06:09:15 +0100 + libpng1.6 (1.6.44-2) unstable; urgency=low * Switch packaging to cmake diff --minimal -Nru libpng1.6-1.6.44/debian/rules libpng1.6-1.6.44/debian/rules --- libpng1.6-1.6.44/debian/rules 2024-09-17 11:37:20.000000000 +0200 +++ libpng1.6-1.6.44/debian/rules 2024-10-30 06:08:55.000000000 +0100 @@ -14,6 +14,13 @@ include /usr/share/dpkg/architecture.mk +ifneq (,$(filter $(DEB_HOST_ARCH_CPU),powerpc ppc64)) +# VSX is an extension of AltiVec, which is not part of the baseline. +# see https://wiki.debian.org/ArchitectureSpecificsMemo +override_dh_auto_configure: + dh_auto_configure -- -DPNG_POWERPC_VSX=off +endif + override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) dh_auto_test

