Bug#1115385: vlc: FTBFS on powerpc architecture
Package: vlc
Version: 3.0.21-11
Severity: important
Tags: ftbfs
X-Debbugs-Cc: debian-powerpc@lists.debian.org, jjhdiederen@zonnet.nl
-- System Information:
Debian Release: trixie/sid
APT prefers noble-updates
APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), (100, 'noble-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.8.0-79-generic (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages vlc depends on:
pn vlc-bin <none>
pn vlc-plugin-base <none>
pn vlc-plugin-qt <none>
pn vlc-plugin-video-output <none>
Versions of packages vlc recommends:
pn vlc-l10n <none>
pn vlc-plugin-access-extra <none>
pn vlc-plugin-notify <none>
pn vlc-plugin-samba <none>
pn vlc-plugin-skins2 <none>
pn vlc-plugin-video-splitter <none>
pn vlc-plugin-visualization <none>
Versions of packages vlc suggests:
pn vlc-plugin-fluidsynth <none>
pn vlc-plugin-jack <none>
pn vlc-plugin-pipewire <none>
pn vlc-plugin-svg <none>
VLC fails to build on powerpc with altivec enabled. Disabling altived leads to a succesful build.
diff -Nru vlc-3.0.21/debian/changelog vlc-3.0.21/debian/changelog
--- vlc-3.0.21/debian/changelog 2025-09-15 21:51:37.000000000 +0700
+++ vlc-3.0.21/debian/changelog 2025-08-29 23:41:04.000000000 +0700
@@ -1,9 +1,3 @@
-vlc (3.0.21-11+mintppc1) UNRELEASED; urgency=medium
-
- * disabled altivec
-
- -- Jeroen Diederen <jeroen@jeroen-ZenBook-UX325EA-UX325EA> Mon, 15 Sep 2025 21:51:37 +0700
-
vlc (3.0.21-11) unstable; urgency=medium
* debian/rules: Disable postproc plugin since libpostproc is removed from
diff -Nru vlc-3.0.21/debian/rules vlc-3.0.21/debian/rules
--- vlc-3.0.21/debian/rules 2025-09-15 21:50:45.000000000 +0700
+++ vlc-3.0.21/debian/rules 2025-08-23 20:15:15.000000000 +0700
@@ -250,10 +250,13 @@
removeplugins += neon
endif
-# PowerPC build fo e5500 with altivec disabled
+# PowerPC specific optimizations (excluding powerpcspe)
+ifeq (,$(filter-out powerpc,$(DEB_HOST_ARCH_CPU))$(filter powerpcspe,$(DEB_HOST_ARCH)))
+confflags += --enable-altivec
+else
confflags += --disable-altivec
removeplugins += altivec
-
+endif
# PowerPCSPE specific optimizations
ifeq (,$(filter-out powerpcspe,$(DEB_HOST_ARCH)))
Reply to: