the gnu_asm_fix.patch for PPC is already included in gstreamer-0.8.0 release. use ppc && epatch ${FILESDIR}/gnu_asm_fix.patch needs to be removed from the ebuild because the patch doesnt apply any longer and so the ebuild breaks. Reproducible: Always Steps to Reproduce: 1. emerge sync 2. USE="ppc" ACCEPT_KEYWORDS="-* ppc ~ppc" emerge gstreamer Actual Results: >>> Unpacking gstreamer-0.8.0.tar.bz2 to /var/tmp/portage/gstreamer-0.8.0/work ppc * Applying gnu_asm_fix.patch... * Failed Patch: gnu_asm_fix.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/gstreamer-0.8.0/temp/gnu_asm_fix.patch-24818.out Expected Results: successfully emerged gstreamer Portage 2.0.50-r1 (default-ppc-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-benh2) ================================================================= System uname: 2.6.3-benh2 ppc 740/750 Gentoo Base System version 1.4.3.13p1 distcc 2.13 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -mcpu=750 -fPIC" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/lib/pbbuttons /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -mcpu=750 -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distcc" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X aalib accessibility acl adns aim alsa apache2 apm berkdb cdr cjk crypt cscope cups curl dga directfb dvd dvdr encode esd extlib fam fbcon fbdev foomaticdb freetype gatos gd gdbm gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hbci icq imap imlib imlib2 ipv6 jabber java jpeg ldap libgda libwww maildir mitshm mozcalendar mozilla moznocompose moznoirc mozsvg mpeg mule mysql ncurses nls nogcj oggvorbis opengl oss pam pcmcia pda pdflib perl png pnp ppc ppds python quicktime readline samba scanner sdk sdl sheep slp snmp socks5 spell ssl tcltk tcpd tetex tiff truetype trusted usb vim-with-x wavelan wmf xface xml xml2 xmms xv zlib"
hmm yeah, thats the ppc teams job, not ours.
*** Bug 45705 has been marked as a duplicate of this bug. ***
i just realised it was a dup two minutes after ti cc'ed the bug. anyway, i've got parts of gnome 2.6 running on ppc with some patches, this included. patches should be un-arch-specific imo. diff -u -B -r1.1 gstreamer-0.8.0.ebuild --- gstreamer-0.8.0.ebuild 22 Mar 2004 00:10:28 -0000 1.1 +++ gstreamer-0.8.0.ebuild 25 Mar 2004 14:25:36 -0000 @@ -31,7 +31,7 @@ src_unpack() { unpack ${A} - use ppc && epatch ${FILESDIR}/gnu_asm_fix.patch + epatch ${FILESDIR}/${P}-ppc_gnu_asm_fix.patch # docs hack, disable dirs without html output # cd ${S}/docs # mv Makefile.in Makefile.in.old
Created attachment 27993 [details, diff] gstreamer-0.8.0-ppc_gnu_asm_fix.patch removes the invalid last part of the patch. the first hunk still works.
the whole patch is unecessary, now gst configure fix the issue using the appropriate flags instead. Committed and closed. (Sorry for the delay)