Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127689 - dev-lang/mercury-0.12.2 ebuild violates the sandbox
Summary: dev-lang/mercury-0.12.2 ebuild violates the sandbox
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Keri Harris
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-26 16:02 UTC by Brian Danilko
Modified: 2006-03-26 23:29 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Danilko 2006-03-26 16:02:34 UTC
Hi

When building dev-lang/mercury-0.12.2 using the sandbox feature (or just NOT turning it off), the build fails. I remembered this problem when submitting bug 127673 and I saw that sandbox was off in my emerge info.

Sandbox Violation:
------------------
gmake[2]: Entering directory `/var/tmp/portage/mercury-0.12.2/work/mercury-compiler-0.12.2/tmp_dir/runtime'
ilasm      /dll /quiet /OUT=mercury_il.dll mercury_il.il
ACCESS DENIED  open_wr:   /root/.wapi/shared_data-emu-Linux-i686-308-10-0

** (/usr/lib/mono/1.0/ilasm.exe:8621): CRITICAL **: _wapi_shm_file_open: shared file [/root/.wapi/shared_data-emu-Linux-i686-308-10-0] open error: Permission denied

** (/usr/lib/mono/1.0/ilasm.exe:8621): CRITICAL **: _wapi_shm_attach: shared file [/root/.wapi/shared_data-emu-Linux-i686-308-10-0] open error

** ERROR **: file handles.c: line 154 (shared_init): assertion failed: (_wapi_shared_layout != NULL)
aborting...
gmake[2]: *** [mercury_il.dll] Aborted
gmake[2]: Leaving directory `/var/tmp/portage/mercury-0.12.2/work/mercury-compiler-0.12.2/tmp_dir/runtime'
T

Emerge info:
------------
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4, 2.4.2-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/grass60/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/source/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d acl acpi adns alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzip2 cdr crypt cscope cups curl div4linux doc dri dvd dvdr eds emacs emacs-w3 emboss encode esd ethereal evo exif expat fam ffmpeg flac foomaticdb fortran gb gd gdbm ginac glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl icq idn imagemagick imagemagik imap imlib ipv6 jabber java jpeg kde kerberos lcms ldap lesstif libg++ libwww mad mbox mcal mhash mikmod mmx mng mono motif mozilla mp3 mpeg mpi msn mysql mysqli ncurses nls no_wxgtk1 nptl nptlonly nsplugin offensive ogg oggvorbis openal opengl oscar ose pam pcre pdf pdflib perl pic plotutils png ppds prelude python qt quicktime readline recode reiserfs samba sasl scanner sdl slang speex spell sqlite ssl svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vhosts vorbis wmf wxwindows xine xinerama xml xml2 xmms xosd xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Keri Harris gentoo-dev 2006-03-26 23:29:54 UTC
This is fixed in cvs. Or rather, we're ensuring not to build the offending dotnet grades (bug #127673). (mercury-0.13 promises to have a more supportive environment for mono).

Keri.