Source: libav Version: 6:0.8.5-1 Severity: wishlist Tags: patch sid User: debian-powerpc...@breakpoint.cc Usertags: powerpcspe
Hi, libav FTBFS on powerpcspe[1] like this: [...] dh_testdir mkdir -p debian-static cd debian-static && CFLAGS="-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" /«PKGBUILDDIR»/configure \ --arch='powerpc' --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.8.5-1' --libdir=/usr/lib/powerpc-linux-gnuspe --prefix=/usr --disable-yasm --enable-bzlib --enable-libdc1394 --enable-libdirac --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-swscale --enable-libcdio --enable-x11grab --enable-libxvid You need a compiler that supports {} in AltiVec vector declarations. [...] The attached patch fixes this by assing support for powerpcspe in the Debian packaging, but omitting Altivec (not available on powerpcspe) in this case. Thanks, Roland [1] http://wiki.debian.org/PowerPCSPEPort -- System Information: Debian Release: 7.0 APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: powerpcspe (ppc) Kernel: Linux 3.8.0 (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
diff -ruN test/libav-0.8.5/debian/confflags libav-0.8.5/debian/confflags --- test/libav-0.8.5/debian/confflags 2013-01-13 11:50:42.000000000 +0100 +++ libav-0.8.5/debian/confflags 2013-02-15 14:40:15.094319046 +0100 @@ -62,6 +62,8 @@ else ifeq ($(DEB_HOST_ARCH),powerpc) FLAVORS += altivec nooptflags += --disable-altivec +else ifeq ($(DEB_HOST_ARCH),powerpcspe) + nooptflags += --disable-altivec else ifeq ($(DEB_HOST_ARCH),sparc) FLAVORS += vis nooptflags += --disable-vis @@ -113,6 +115,11 @@ confflags += --enable-pic endif +ifeq ($(DEB_HOST_ARCH),powerpcspe) +confflags += --enable-pic +confflags += --disable-altivec +endif + # Additional features confflags += $(call cond_enable,/usr/include/bzlib.h,bzlib) confflags += $(call cond_enable,/usr/include/dc1394/dc1394.h,libdc1394)