Bug 58508 - Xaos fails to launch on Sparc when compiled from x86 ebuild
Bug#: 58508 Product:  Gentoo Linux Version: unspecified Platform: Sparc
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sparc@gentoo.org Reported By: me@caphector.com
Component: Applications
URL: 
Summary: Xaos fails to launch on Sparc when compiled from x86 ebuild
Keywords:  
Status Whiteboard: 
Opened: 2004-07-26 23:54 0000
Description:   Opened: 2004-07-26 23:54 0000
Xaos can be compiled on Sparc with no issues after setting
/etc/portage/package.keyword. When it is launched it fails.

Reproducible: Always
Steps to Reproduce:
1. echo "<=x11-misc/xaos" >> /etc/portage/package.keyword && emerge xaos on a
Sparc box
2. Launch xaos.
3. There is no step 3
Actual Results:  
$ xaos
X Error of failed request:  BadAccess (attempt to access private resource
denied)
  Major opcode of failed request:  132 (MIT-SHM)
  Minor opcode of failed request:  1 (X_ShmAttach)
  Serial number of failed request:  31
  Current serial number in output stream:  32
$ 

Expected Results:  
Have it run and view pretty pictures



Portage 2.0.50-r9 (default-sparc64-2004.0, gcc-3.3.3,
glibc-2.3.3_pre20040420-r0, 2.6.6)
===============================================================
==
System uname: 2.6.6 sparc64 sun4u
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=ultrasparc"
CHOST="sparc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/
config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/bind /var/
qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=ultrasparc"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com ftp://gentoo.ccccom.com
ftp://mirror.iawnet.sandia.
gov/pub/gentoo/"
MAKEOPTS="-j2"PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""SYNC="rsync://rsync.gentoo.org/gentoo-portage"USE="X arts avi
berkdb crypt 
cups encode esd fbcon foomaticdb gdbm gif gnome gtk guile imlib jpeg libwww mad
mikmod motif 
mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python
readline sdl slang sparc 
spell ssl tcltk tcpd truetype xml2 xmms xv zlib"

------- Comment #1 From Ciaran McCreesh 2004-07-27 00:01:34 0000 -------
Added -sparc keyword, thanks for the report.