Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87716 - nasm/i386 mistakenly required to emerge psemu-peopssoftgpu on PPC
Summary: nasm/i386 mistakenly required to emerge psemu-peopssoftgpu on PPC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-02 13:17 UTC by Mietek Bak
Modified: 2005-04-02 23:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild that does apply non-x86 patches (psemu-peopssoftgpu-1.16-r1.ebuild,1.67 KB, text/plain)
2005-04-02 14:23 UTC, Wormo (RETIRED)
Details
old patch for non-x86 builds, but with formatting corrected (1.16-makefile-cflags.patch,909 bytes, patch)
2005-04-02 14:25 UTC, Wormo (RETIRED)
Details | Diff
new patch for non-x86 builds (1.16-fix-noxf86vm.patch,399 bytes, patch)
2005-04-02 14:28 UTC, Wormo (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mietek Bak 2005-04-02 13:17:48 UTC
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
Comment 1 Wormo (RETIRED) gentoo-dev 2005-04-02 14:21:59 UTC
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)
 
Comment 2 Wormo (RETIRED) gentoo-dev 2005-04-02 14:23:59 UTC
Created attachment 55136 [details]
ebuild that does apply non-x86 patches
Comment 3 Wormo (RETIRED) gentoo-dev 2005-04-02 14:25:49 UTC
Created attachment 55137 [details, diff]
old patch for non-x86 builds, but with formatting corrected
Comment 4 Wormo (RETIRED) gentoo-dev 2005-04-02 14:27:34 UTC
Comment on attachment 55136 [details]
ebuild that does apply non-x86 patches

don't return early from src_unpack and also added new patch
Comment 5 Wormo (RETIRED) gentoo-dev 2005-04-02 14:28:17 UTC
Created attachment 55138 [details, diff]
new patch for non-x86 builds
Comment 6 SpanKY gentoo-dev 2005-04-02 23:47:50 UTC
fixed in cvs, thanks :)