Package: fdk-aac Version: 0.1.3+20140816-2 Severity: important Tags: sid + patch Justification: FTBFS User: debian-m...@lists.debian.org Usertags: mips-patch
Hi, Package fdk-aac FTBFS for mips64el on configure with following error: > configure:3401: checking whether the C compiler works > configure:3423: gcc -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -mips32r2 -mips32r2 -Wl,-z,relro conftest.c >&5 > conftest.c:1:0: error: '-march=mips32r2' is not compatible with the selected > ABI The attached patch removes "mips32r2" flag from debian/rules because it is not supported on mips64el. For mips and mipsel "mips32r2" is included in default gcc flags. So, there is no need for this flag in debian/rules for these architectures. After removing the mips32r2 flag the package still FTBFS with: > error: narrowing conversion of '3204251762u' from 'unsigned int' to 'LONG > {aka long int}' inside { } [-Wnarrowing] This bug was already reported here: https://bugs.debian.org/836933 Thanks, Daniel
--- fdk-aac-0.1.3+20140816.orig/debian/rules 2016-09-20 10:01:52.000000000 +0000 +++ fdk-aac-0.1.3+20140816/debian/rules 2016-09-20 10:02:08.000000000 +0000 @@ -1,10 +1,5 @@ #!/usr/bin/make -f -ifneq (,$(findstring mips,$(DEB_HOST_ARCH))) - CPPFLAGS+= -mips32r2 - export CPPFLAGS -endif - %: dh $@ --parallel --with autoreconf