[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1017108: ffmpeg: FTBFS on !linux-any



Package: ffmpeg
Version: 7:5.0.1-3+b1
Severity: important
Tags: patch

Hello,

ffmpeg currently fails to build on non-linux because vulkan and placebo
are basically linux-only atm. The attached patch fixes this, could you
apply it?

Thanks,
Samuel

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 5.19.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ffmpeg depends on:
ii  libavcodec59    7:5.0.1-3+b1
ii  libavdevice59   7:5.0.1-3+b1
ii  libavfilter8    7:5.0.1-3+b1
ii  libavformat59   7:5.0.1-3+b1
ii  libavutil57     7:5.0.1-3+b1
ii  libc6           2.33-8
ii  libpostproc56   7:5.0.1-3+b1
ii  libsdl2-2.0-0   2.0.22+dfsg-6
ii  libswresample4  7:5.0.1-3+b1
ii  libswscale6     7:5.0.1-3+b1

ffmpeg recommends no packages.

Versions of packages ffmpeg suggests:
pn  ffmpeg-doc  <none>

-- no debconf information

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
--- debian/control.original	2022-08-13 20:05:10.000000000 +0000
+++ debian/control	2022-08-13 20:13:21.000000000 +0000
@@ -106,7 +106,7 @@
 # --enable-libopus
  libopus-dev,
 # --enable-libplacebo
- libplacebo-dev (>= 4.192) <!pkg.ffmpeg.stage1>,
+ libplacebo-dev (>= 4.192) [linux-any] <!pkg.ffmpeg.stage1>,
 # --enable-pocketsphinx
  libpocketsphinx-dev (>= 0.8+5prealpha+1-7~) [!alpha !hppa !ia64 !m68k !mipsel !mips64el !powerpc !ppc64 !s390x !sparc64],
 # --enable-libpulse
@@ -161,7 +161,7 @@
 # --enable-libvpx
  libvpx-dev,
 # autodetected: vulkan
- libvulkan-dev,
+ libvulkan-dev [linux-any],
 # --enable-libwebp
  libwebp-dev,
 # --enable-libx264
--- debian/rules.original	2022-08-13 20:07:11.000000000 +0000
+++ debian/rules	2022-08-13 20:07:32.000000000 +0000
@@ -155,8 +155,12 @@
 	CONFIG += \
 		--enable-chromaprint \
 		--enable-frei0r \
-		--enable-libplacebo \
 		--enable-libx264
+  ifeq (linux,$(DEB_HOST_ARCH_OS))
+	CONFIG += --enable-libplacebo
+  else
+	CONFIG += --disable-libplacebo
+  endif
 endif
 
 # Disable altivec optimizations on powerpc, because they are not always available on this architecture.

Reply to: