Bug#830868: ffmpeg: FTBFS on mips64el: fatal error: gnu/stubs-n64_hard_2008.h: No such file or directory

Aurelien Jarno aurel32 at debian.org
Tue Jul 12 11:56:17 UTC 2016


Source: ffmpeg
Version: 7:3.1.1-1
Severity: important
Tags: patch

Dear Maintainer,

For some reasons I don't really understand, ffmpeg tries to enable
all the CPU features it supports, even if they are not yet publically
available. On mips64el it enables R6 support, which is not yet available
on real silicon (not even sure it is already available on FPGA). This
causes the package to FTBFS:

| /usr/include/mips64el-linux-gnuabi64/gnu/stubs.h:41:38: fatal error: gnu/stubs-n64_hard_2008.h: No such file or directory

Anwyay, the patch below, inspired from what has been done for mips and
mipsel fixes the issue. With this patch, the package builds correctly
including the testsuite.

Could you please consider including it in the next upload?

Thanks,
Aurelien


diff --git a/debian/rules b/debian/rules
index 4ecc067..6c4e655 100755
--- a/debian/rules
+++ b/debian/rules
@@ -169,7 +169,8 @@ ifneq (,$(filter $(DEB_HOST_ARCH),mips mipsel mips64 mips64el))
 	CONFIG += --disable-mipsdsp \
 		--disable-mipsdspr2 \
 		--disable-loongson3 \
-		--disable-mips32r6
+		--disable-mips32r6 \
+		--disable-mips64r6
 endif
 ifneq (,$(filter $(DEB_HOST_ARCH),mips mipsel))
 	CONFIG += --disable-mipsfpu


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: mips64el (mips64)

Kernel: Linux 4.6.0-1-5kc-malta
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the pkg-multimedia-maintainers mailing list