Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180098 - packages under dev-ada cause a sandbox violation
Summary: packages under dev-ada cause a sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: ada team [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-28 10:50 UTC by Nick Schwindt
Modified: 2007-05-28 23:41 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 Nick Schwindt 2007-05-28 10:50:05 UTC
Packages in dev-ada all produce a sandbox violation right after ">>Source Compiled" is displayed.  Observed with adasockets, aunit, booch_components, xmlada, gtkada, charles, & florist.  The compilers currently installed are gnat-gpl-4.1, gnat-gpl-3.4, & gnat-gcc-4.1.  I believe this is a problem related to gnat.eclass, but I am not familiar enough with portage to know exactly how everything works.

Reproducible: Always

Steps to Reproduce:
1.emerge a package that depends on gnat.eclass (e.g. emerge dev-ada/aunit)


Actual Results:  
Example output with dev-ada/aunit:

Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) dev-ada/aunit-1.03 to /
 * aunit-1.03p-src.tgz RMD160 ;-) ...                                                     [ ok ]
 * aunit-1.03p-src.tgz SHA1 ;-) ...                                                       [ ok ]
 * aunit-1.03p-src.tgz SHA256 ;-) ...                                                     [ ok ]
 * aunit-1.03p-src.tgz size ;-) ...                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                    [ ok ]
 * checking aunit-1.03p-src.tgz ;-) ...                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking aunit-1.03p-src.tgz to /var/tmp/portage/dev-ada/aunit-1.03/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-ada/aunit-1.03/work/AUnit ...
>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-ada_-_aunit-1.03-16152.log"

open_wr:   /etc/profile.env.16317
open_wr:   /etc/profile.env.16453
open_wr:   /etc/profile.env.16541
--------------------------------------------------------------------------------


Expected Results:  
Package should compile and install normally

emerge --info output:

Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.
20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 AMD Athlon(tm) processor
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 28 May 2007 08:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-tbird -pipe -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/shu
tdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
LANG="en_US.utf8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/di
stfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi ada alsa arts asf berkdb bitmap-fonts blas ca                                               iro cdr cli cracklib crypt cups dbus doc dri dvd dvdr dvdread eds emboss encode                                                esd evo fam firefox flac fortran fortran95 gd gdbm gif gpm graphviz gstreamer gt                                               k gtk2 hal iconv ipv6 isdnlog java jpeg kde kerberos lapack ldap libg++ mad matr                                               oska midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin                                                nvidia ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt                                               4 quicktime readline real reflection rtc samba sdl session spell spl ssl subvers                                               ion svg tcltk tcpd tetex tiff tk truetype truetype-fonts type1 type1-fonts unico                                               de vcd vorbis win32codecs x86 xine xml xorg xv zlib" ALSA_CARDS="ali5451 als4000                                                atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938                                                es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx vi                                               a82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop em                                               pty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null                                                plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse"                                                KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 m                                               txorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COM                                               PRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2007-05-28 12:58:38 UTC
Well, I cannot reproduce this. Besides, what exactly is happening, the /etc/profile.env in all cases? Nothing else?
Please update your tree, as there were changes just today/yesterday. In particular I added new versions of gtkada. Did not see anything like that happening with that or aunit, that I just tested. Btw, I am about to add new versions of aunit as well..

Oh, and btw, what version of eselect-gnat you have installed? Try upgrading to at least 0.9 if you have one older than that.

George
Comment 2 Nick Schwindt 2007-05-28 23:41:36 UTC
Looks like I was a little to eager.  Updating the tree fixed this.  Thank you though for the work.