Source: libvpx Version: 1.3.0-2.1 Severity: important Justification: FTBFS but built successfully before
http://buildd.debian-ports.org/status/fetch.php?pkg=libvpx&arch=x32&ver=1.3.0-2.1&stamp=1409806077 : ... gcc -I/«PKGBUILDDIR»/vp8 -I/«PKGBUILDDIR»/vp8 -I/«PKGBUILDDIR»/vp9 -I/«PKGBUILDDIR»/vp9 -Wall -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -O3 -fPIC -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wvla -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -Wunused-but-set-variable -Wno-unused-function -I. -I"/«PKGBUILDDIR»" -c -o third_party/libyuv/source/scale.c.o /«PKGBUILDDIR»/third_party/libyuv/source/scale.c /«PKGBUILDDIR»/third_party/libyuv/source/scale.c: Assembler messages: /«PKGBUILDDIR»/third_party/libyuv/source/scale.c:2211: Error: `(%edi,%r10,1)' is not a valid base/index expression /«PKGBUILDDIR»/third_party/libyuv/source/scale.c:2212: Error: `0x10(%edi,%r10,1)' is not a valid base/index expression /«PKGBUILDDIR»/third_party/libyuv/source/scale.c:2221: Error: `0x0(%r11,%esi,1)' is not a valid base/index expression /«PKGBUILDDIR»/third_party/libyuv/source/scale.c:2222: Error: `0x10(%r11,%esi,1)' is not a valid base/index expression /«PKGBUILDDIR»/third_party/libyuv/source/scale.c:2225: Error: `0x0(%r11,%esi,2)' is not a valid base/index expression /«PKGBUILDDIR»/third_party/libyuv/source/scale.c:2226: Error: `0x10(%r11,%esi,2)' is not a valid base/index expression /«PKGBUILDDIR»/third_party/libyuv/source/scale.c:2541: Error: `(%r10,%esi,1)' is not a valid base/index expression make[2]: *** [third_party/libyuv/source/scale.c.o] Error 1 Makefile:128: recipe for target 'third_party/libyuv/source/scale.c.o' failed make[1]: *** [.DEFAULT] Error 2 Makefile:17: recipe for target '.DEFAULT' failed make[1]: Leaving directory '/«PKGBUILDDIR»/builddir' make: *** [build-stamp] Error 2 debian/rules:96: recipe for target 'build-stamp' failed dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 I'm attaching a debdiff for an upload I'm making to debian-ports/unreleased. However, since it's not really a good solution, just wholesale disabling the assembly in that file, I'm not putting on a patch tag. -- Daniel Schepler
diff -Nru libvpx-1.3.0/debian/changelog libvpx-1.3.0/debian/changelog --- libvpx-1.3.0/debian/changelog 2014-08-09 05:50:40.000000000 -0700 +++ libvpx-1.3.0/debian/changelog 2014-09-03 22:16:59.000000000 -0700 @@ -1,3 +1,10 @@ +libvpx (1.3.0-2.1+x32) unreleased; urgency=low + + * New patch x32-disable-yuv-asm.patch: as the x86_64 assembly fails to + build on x32, disable it for that target. + + -- Daniel Schepler <schep...@debian.org> Wed, 03 Sep 2014 22:16:52 -0700 + libvpx (1.3.0-2.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru libvpx-1.3.0/debian/patches/series libvpx-1.3.0/debian/patches/series --- libvpx-1.3.0/debian/patches/series 2014-08-09 05:49:26.000000000 -0700 +++ libvpx-1.3.0/debian/patches/series 2014-09-03 22:14:27.000000000 -0700 @@ -1,2 +1,3 @@ fix-armhf-link.patch Bug-fix-in-ssse3-quantize-function.patch +x32-disable-yuv-asm.patch diff -Nru libvpx-1.3.0/debian/patches/x32-disable-yuv-asm.patch libvpx-1.3.0/debian/patches/x32-disable-yuv-asm.patch --- libvpx-1.3.0/debian/patches/x32-disable-yuv-asm.patch 1969-12-31 16:00:00.000000000 -0800 +++ libvpx-1.3.0/debian/patches/x32-disable-yuv-asm.patch 2014-09-03 22:15:48.000000000 -0700 @@ -0,0 +1,14 @@ +Index: libvpx-1.3.0/third_party/libyuv/source/scale.c +=================================================================== +--- libvpx-1.3.0.orig/third_party/libyuv/source/scale.c ++++ libvpx-1.3.0/third_party/libyuv/source/scale.c +@@ -25,6 +25,9 @@ extern "C" { + * Note: Defining YUV_DISABLE_ASM allows to use c version. + */ + //#define YUV_DISABLE_ASM ++#if defined(__x86_64__) && defined(__ILP32__) ++#define YUV_DISABLE_ASM ++#endif + + #if defined(_MSC_VER) + #define ALIGN16(var) __declspec(align(16)) var