Package: ffmpeg
Version: 7:3.0.2-1
Severity: serious
Tags: sid, patch
Justification: FTBFS
User: debian-m...@lists.debian.org
Usertags: mips-patch
Package ffmpeg FTBFS for mips64el on configure with the following error:
> ERROR: LoadLibrary/dlopen not found for avisynth
Error message from config.log:
> /usr/bin/ld: /tmp/ffconf.09oJ6qCG.o: linking -mnan=2008 module with previous
> -mnan=legacy modules
> /usr/bin/ld: failed to merge target specific data of file
> /tmp/ffconf.09oJ6qCG.o
> collect2: error: ld returned 1 exit status
The reason for that is usage of -mips64r6 flag that triggers -mnan=200 flag.
Solution is to disable mips64r6 in debian rules.
Patch that includes this fix is attached.
I will rebuild locally latest ffmpeg version (7:3.1.1-1) for
mips/mipsel/mips64el to confirm that patch fixes mips64el and does not break
mips/mipsel.
Regards,
Dejan
diff -uNr debian.orig/rules debian/rules
--- debian.orig/rules 2016-07-12 02:53:53.000000000 +0200
+++ debian/rules 2016-07-12 18:47:04.548881017 +0200
@@ -169,7 +169,8 @@
CONFIG += --disable-mipsdsp \
--disable-mipsdspr2 \
--disable-loongson3 \
- --disable-mips32r6
+ --disable-mips32r6 \
+ --disable-mips64r6
endif
ifneq (,$(filter $(DEB_HOST_ARCH),mips mipsel))
CONFIG += --disable-mipsfpu