Package: mplayer2 Version: 2.0-554-gf63dbad-1 Severity: wishlist Tags: patch sid User: debian-powerpc...@breakpoint.cc Usertags: powerpcspe
Hi, mplayer2 FTBFS on powerpcspe[1] like this: [...] ./configure --prefix=/usr --confdir=/etc/mplayer --enable-translation --disable-svga --extra-cflags="`dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS`" --extra-ldflags="`dpkg-buildflags --get LDFLAGS`" --enable-debug=3 --enable-runtime-cpudetection Checking for cross compilation ... no Checking for cc version ... 4.6 Checking for working compiler ... yes Checking for host cc ... cc Detected operating system: Linux Detected host architecture: ppc Checking for CPU type ... Checking for GCC & CPU optimization abilities ... none Checking for byte order ... big-endian Checking for extern symbol prefix ... Checking for assembler support of -pipe option ... yes Checking for PIC ... no Checking for GCC AltiVec flags ... Error: You need a compiler that supports {} in AltiVec vector declarations. [...] The attached patch fixes this by disabling AltiVec code (not valid on powerpcspe) via --target=generic instead of --enable-runtime-cpudetection in the powerpcspe case. Thanks, Roland [1] http://wiki.debian.org/PowerPCSPEPort -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.7.0 (SMP w/4 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 Versions of packages mplayer2 depends on: ii libaa1 1.4p5-40 ii libasound2 1.0.25-4 ii libass4 0.10.0-3 ii libavcodec53 6:0.8.4-1 ii libavformat53 6:0.8.4-1 ii libavutil51 6:0.8.4-1 ii libbluray1 1:0.2.2-1 ii libc6 2.13-37 ii libcaca0 0.99.beta18-1 ii libcdio-cdda1 0.83-4 ii libcdio-paranoia1 0.83-4 ii libcdio13 0.83-4 ii libdca0 0.0.5-5 ii libdirectfb-1.2-9 1.2.10.0-5 ii libdvdnav4 4.2.0+20121016-1 ii libdvdread4 4.2.0+20121016-1 ii libenca0 1.14-2 ii libfaad2 2.7-8 ii libfontconfig1 2.9.0-7.1 ii libfreetype6 2.4.9-1 ii libfribidi0 0.19.2-3 ii libgif4 4.1.6-10 ii libgl1-mesa-glx [libgl1] 8.0.5-3 ii libjack-jackd2-0 [libjack-0.116] 1.9.8~dfsg.4+20120529git007cdc37-5 ii libjpeg8 8d-1 ii liblircclient0 0.9.0~pre1-1 ii libncurses5 5.9-10 ii libogg0 1.3.0-4 ii libpng12-0 1.2.49-3 ii libpostproc52 6:0.8.4-1 ii libpulse0 2.0-6 ii libsdl1.2debian 1.2.15-5 ii libsmbclient 2:3.6.6-3 ii libspeex1 1.2~rc1-7 ii libswscale2 6:0.8.4-1 ii libtheora0 1.1.1+dfsg.1-3.1 ii libtinfo5 5.9-10 ii libvdpau1 0.4.1-7 ii libvorbis0a 1.3.2-1.3 ii libx11-6 2:1.5.0-1 ii libxext6 2:1.3.1-2 ii libxinerama1 2:1.1.2-1 ii libxv1 2:1.0.7-1 ii libxvidcore4 2:1.3.2-9 ii libxxf86dga1 2:1.1.3-2 ii libxxf86vm1 1:1.1.2-1 ii zlib1g 1:1.2.7.dfsg-13 mplayer2 recommends no packages. mplayer2 suggests no packages. -- no debconf information
--- mplayer2-2.0-554-gf63dbad/debian/rules.orig 2013-02-24 21:01:52.735236032 +0100 +++ mplayer2-2.0-554-gf63dbad/debian/rules 2013-02-24 21:04:22.323273206 +0100 @@ -33,8 +33,12 @@ confflags += --enable-runtime-cpudetection endif ifeq ($(DEB_HOST_GNU_CPU),powerpc) +ifeq ($(DEB_HOST_ARCH),powerpcspe) + confflags += --target=generic +else confflags += --enable-runtime-cpudetection endif +endif ifeq ($(DEB_HOST_GNU_CPU),sparc) confflags += --target=generic endif