Source: libpostproc Version: 6:0.git20120821-4 Severity: wishlist Tags: patch sid User: debian-powerpc...@breakpoint.cc Usertags: powerpcspe
Hi, libpostproc currently FTBFS on powerpcspe like this: ============================================================================== dh build-arch dh_testdir -a debian/rules override_dh_auto_configure make[1]: Entering directory `/«PKGBUILDDIR»' ./configure --enable-shared --prefix=/usr You need a compiler that supports {} in AltiVec vector declarations. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the libav-u...@libav.org mailing list or IRC #libav on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solving the problem. make[1]: *** [override_dh_auto_configure] Error 1 make[1]: Leaving directory `/«PKGBUILDDIR»' make: *** [build-arch] Error 2 ============================================================================== AltiVec is not available on powerpcspe (only on powerpc). Therefore propposing the attached patch. Roland -- System Information: Debian Release: 7.0 APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: powerpcspe (ppc) Kernel: Linux 3.9.0-dirty (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8) Shell: /bin/sh linked to /bin/dash
--- libpostproc-0.git20120821/debian/rules 2013-10-09 14:47:03.000000000 +0200 +++ libpostproc-0.git20120821/debian/rules 2013-11-11 21:47:28.361869637 +0100 @@ -4,11 +4,16 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +CONFFLAGS = +ifeq ($(shell dpkg-architecture -qDEB_HOST_ARCH),powerpcspe) +CONFFLAGS += --disable-altivec +endif + override_dh_auto_clean: ! test -f config.mak || dh_auto_clean override_dh_auto_configure: - ./configure --enable-shared --prefix=/usr + ./configure --enable-shared --prefix=/usr $(CONFFLAGS) override_dh_auto_build: $(MAKE) V=1