Bug 222941 - media-sound/museseq-0.9 emerge fails with ACCESS VIOLATION
Bug#: 222941 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sound@gentoo.org Reported By: rose@rz.uni-potsdam.de
Component: Applications
URL: 
Summary: media-sound/museseq-0.9 emerge fails with ACCESS VIOLATION
Keywords:  
Status Whiteboard: 
Opened: 2008-05-20 10:08 0000
Description:   Opened: 2008-05-20 10:08 0000
emerge museseq-0.9 fails with:

make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory
`/var/tmp/portage/media-sound/museseq-0.9/work/muse-0.9'
make[1]: Leaving directory
`/var/tmp/portage/media-sound/museseq-0.9/work/muse-0.9'
>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE = "/var/log/sandbox/sandbox-24318.log"

unlink:    /var/lib/xkb/server-0.xkm
open_wr:   /var/lib/xkb/server-0.xkm


Reproducible: Always




root@cheetah:/root(26)# emerge --info
Portage 2.1.5 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.26-rc2
i686)
=================================================================
System uname: 2.6.26-rc2 i686 AMD Athlon(tm) XP 1800+
Timestamp of tree: Tue, 20 May 2008 00:35:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r12, 2.5.2-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-
active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/
/etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.fi.muni.cz/
pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
rsync://gd.tuwien.ac.at/opsys/linux/gentoo
ftp://sunsite.informatik.rwth-aachen.de/pub
/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo
http://gentoo.oregonstate.edu"
LDFLAGS=""
LINGUAS="de fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages/All"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfil
es --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/local/portage
/usr/local/portage/xeffects /usr/local/sci"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amrr
ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-co
mpletion beagle berkdb bjam blas bluetooth bonobo boo boost bzip2 c++ cairo
cdda cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cran crypt cu
ps curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi dri ds3490
dv dvb dvd dvdr dvi dxr3 dynagraph eds effects elf emacs emboss encode e
piphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits
flac fltk foomaticdb fortran fpx galago gd gdal gdbm geos gif gimp gimppri
nt ginac glade glitz gml gmp gnokii gnome gnuplot gnutls gphoto2 gpm graphics
graphviz gs gsl gsm gstreamer gtk guile hal hardened hddtemp hdf hdf5 hl
api http iconv icq icu id3 imagemagick imap innodb ipv6 irda irmc isdnlog
ithreads jabber java jbig john jpeg jpeg2k kerberos kexi keyring ladspa lame
 lapack latex lcms ldap libgda libsamplerate lirc lm_sensors lua lzo lzw mad
maildir math matroska matrox midi mmx mmxext mng mod mono motif mozdevelo
p mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap
musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkman
ager nfs nls nntp nptl nptlonly nsplugin ntfs numarray numeric obex ocaml
octave odbc ogdi ogg ole opengl openmp pam pcre pda pdf perl plotutils plugi
ns png posix postgres postscript pppd preview-latex proj projectx pstricks
python qhull quicktime readline real reflection reiserfs rhythmbox rle rpc 
rrdcgi rrdtool samba sasl science sdl session slang slp sndfile snmp soup sox
speex spell spl sqlite sse sse2 ssl stlport subtitles subversion suexec 
svg t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode
userlocales utempter v4l2 vorbis win32codecs wmf wxwindows x86 xattr x
emacs xext xine xml xmlreader xmlrpc xorg xpm xv xvid xvmc zlib zvbi"
ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop 
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol" APACHE2_MODULES="actions alias a
uth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file
authz_dbm authz_default authz_groupfile authz_host authz_owner authz_use
r autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires
ext_filter file_cache filter headers ident imagemap include info log_conf
ig logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer
proxy_connect proxy_http rewrite setenvif so speling status unique_id us
erdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse       
        " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44
780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" LIRC_DEVICES="hauppauge"
USERLAND="GNU" VIDEO_CARDS="mga vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Peter Volkov 2008-05-21 06:54:33 0000 -------
Juergen, please, don't assign bugs if you don't know how to do that. Leave this
task to bug-wranglers. Thank you.

------- Comment #2 From Peter Volkov 2008-05-21 07:03:35 0000 -------
Ah, you missed component, next time use Gentoo Linux. As bold text states
there:
"If you're unsure where your bugs go, then file them here."

------- Comment #3 From Samuli Suominen 2008-05-26 15:36:59 0000 -------
Does it work if you replace "Xeconf" with "econf" in the ebuild and remove the
"virtualx" from "inherit"s ?

Or.. if you add "addpredict /var/lib/xkb/server-0.xkm" before "Xeconf" ? Last
resort.

Or.. is your xorg-server built with USE minimal?

------- Comment #4 From Juergen Rose 2008-05-27 14:56:29 0000 -------
I can not find any Xeconf in museseq-0.9.ebuild.  
xorg-server was build with the following USE flags:

root@cheetah:/root(6)# emerge -pvD xorg-server

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-base/xorg-server-1.4.0.90-r3  USE="dri hal ipv6 sdl xorg
-3dfx -debug -dmx -kdrive -minimal (-nptl) -xprint" INPUT_DEVICES="keyboard
mouse -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300
-elographics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -microtouch
-mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse
-void -wacom" VIDEO_CARDS="fbdev mga vesa -apm -ark -chips -cirrus -cyrix
-dummy -epson -fglrx -geode -glint -i128 -i740 -i810 (-impact) -imstt -mach64
-neomagic (-newport) -nsc -nv -nvidia -r128 -radeon -rendition -s3 -s3virge
-savage -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6)
(-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -vermilion -vga
-via -vmware -voodoo -xgi" 0 kB 

------- Comment #5 From Samuli Suominen 2008-05-27 17:14:51 0000 -------
(In reply to comment #4)
> I can not find any Xeconf in museseq-0.9.ebuild.  

Check again..

$ grep Xeconf museseq-0.9.ebuild 
Xeconf --disable-suid-build --disable-optimize \
|| die "Xeconf failed."

------- Comment #6 From Juergen Rose 2008-05-27 21:25:40 0000 -------
Sorry, I took muse-0.9.ebuild for museseq-0.9.ebuild. Replacing "Xeconf" with
"econf" seems to solve my problem.

------- Comment #7 From Samuli Suominen 2008-06-16 17:29:57 0000 -------
I hope I won't have to regret this, but..

+  16 Jun 2008; Samuli Suominen <drac@gentoo.org> museseq-0.9.ebuild:
+  Stop using Xeconf since it's causing sandbox violations wrt #222941 by
+  Juergen Rose. Works here with and without DISPLAY set when X is not
+  running.

Solves your problem for now.