It's impossible to emerge psemu-peopssoftgpu on PPC because nasm is mistakenly required by the ebuild. Reproducible: Always Steps to Reproduce: 1. emerge psemu-peopssoftgpu Actual Results: <skipped> nasm -f elf i386.asm make: nasm: Command not found make: *** [i386.o] Error 127 make: *** Waiting for unfinished jobs.... !!! ERROR: games-emulation/psemu-peopssoftgpu-1.16 failed. !!! Function src_compile, Line 49, Exitcode 2 !!! x11 build failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: It should have compiled and installed successfully. Portage 2.0.51.19 (default-linux/ppc/2004.3, gcc-3.4.1, glibc-2.3.3.20040420-r2, 2.6.9-gentoo-r9 ppc) ================================================================= System uname: 2.6.9-gentoo-r9 ppc 7400, altivec supported Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.3 [2.3.3 (#1, Dec 15 2004, 10:28:42)] dev-lang/python: 2.3.3 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.90.0.3-r3 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-mcpu=7400 -mabi=altivec -maltivec -mpowerpc-gfxopt -O2 -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=7400 -mabi=altivec -maltivec -mpowerpc-gfxopt -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl" LANG="en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa altivec bash-completion berkdb bigger-fonts bitmap-fonts cscope curl directfb divx4linux emacs emboss fbcon flac font-server gdbm ggi gif gpm gtk gtk2 guile javascript jpeg libwww mad mikmod motif mp3 mpeg ncurses nls offensive oggvorbis opengl oss pam perl png ppc python qt readline ruby sdl slang ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vim-with-x xinerama xml2 xmms xprint xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Ok, I have some fixes to make this compile on non-x86. * the ebuild was skipping the part of src_unpack that patches for non-x86 * the existing patch file had a format problem and wasn't applying (no doubt this inspired the above hack...) * there is an additional patch needed to get the thing to compile with one of the non-x86 settings (mode switching disabled)
Created attachment 55136 [details] ebuild that does apply non-x86 patches
Created attachment 55137 [details, diff] old patch for non-x86 builds, but with formatting corrected
Comment on attachment 55136 [details] ebuild that does apply non-x86 patches don't return early from src_unpack and also added new patch
Created attachment 55138 [details, diff] new patch for non-x86 builds
fixed in cvs, thanks :)