Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252574 - sci-mathematics/gretl-1.7.9: Sanbox violation in src_install
Summary: sci-mathematics/gretl-1.7.9: Sanbox violation in src_install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-26 09:30 UTC by David Kredba
Modified: 2009-02-02 23:53 UTC (History)
1 user (show)

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 David Kredba 2008-12-26 09:30:27 UTC
sci-mathematics/gretl-1.7.9 on ~amd64 buildsfine.
Last messages from emerge:

 * Installing Elisp files for GNU Emacs support ...                                                                                                                                                                                   [ ok ]
 * Installing site initialisation file for GNU Emacs ...                                                                                                                                                                              [ ok ]
>>> Completed installing gretl-1.7.9 into /var/tmp/portage/sci-mathematics/gretl-1.7.9/image/

After that is reported:

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-8369.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /usr/share/gtksourceview-2.0/language-specs/gretl.lang
A: /usr/share/gtksourceview-2.0/language-specs/gretl.lang
R: /usr/share/gtksourceview-2.0/language-specs/gretl.lang
C: /usr/bin/install -c -m 644 gretl.lang.2 /usr/share/gtksourceview-2.0/language-specs/gretl.lang
--------------------------------------------------------------------------------

The folder /usr/share/gtksourceview-2.0/language-specs/ exists:

ls -l /usr/share/gtksourceview-2.0:  drwxr-xr-x 2 root root 2136 Dec 21 19:42 language-specs


Reproducible: Always

Steps to Reproduce:
1. Emerge sci-mathematics/gretl on ~amd64
2.
3.

Actual Results:  
Builds fine, installation fails for access violation.

Expected Results:  
Installs fine.

emerge --info                                
Portage 2.1.6.3 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r0, 2.6.28-gentoo x86_64)
=================================================================                                            
System uname: Linux-2.6.28-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-glibc2.2.5          
Timestamp of tree: Fri, 26 Dec 2008 07:40:01 +0000                                                           
app-shells/bash:     3.2_p48                                                                                 
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                                     
dev-lang/python:     2.5.2-r8                                                                                
dev-util/cmake:      2.6.2                                                                                   
sys-apps/baselayout: 2.0.0                                                                                   
sys-apps/openrc:     0.4.1                                                                                   
sys-apps/sandbox:    1.3.2                                                                                   
sys-devel/autoconf:  2.13, 2.63                                                                              
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                               
sys-devel/binutils:  2.19                                                                                    
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -g -pipe -mtune=core2 -march=core2 -mssse3 -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -g -pipe -mtune=core2 -march=core2 -mssse3 -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages nostrip parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://gentoo.inode.at/ http://gentoo.lagis.at/ http://gentoo.mirror.web4u.cz/"
LDFLAGS="-Wl,-O1"
LINGUAS="cs en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 arts berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus doc dri dvd dvdr dvdread eds emboss encode esd evo examples fam fftw firefox fltk fortran gdbm gif gimp gmp gnome gpm gs gstreamer gtk hal htmlhandbook iconv idn isdnlog ithreads java jpeg kde kdeprefix lapack latex ldap libedit libnotify mad mbox midi mikmod mmx mp3 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin objc objc++ objc-gc ogg opengl openmp pam pch pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sasl sdl session slang spell spl sse sse2 ssl startup-notification svg sysfs tcl tcpd threads tiff tk truetype unicode usb vorbis wxwindows xattr xcb xcomposite xinerama xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="sony_dscf1 sony_dscf55" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv radeon savage sis tdfx trident vesa vga via vmware voodoo nvidia v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2008-12-26 13:34:23 UTC
Please, also submit your "emerge -pv sci-mathematics/gretl" output. 
Comment 2 David Kredba 2008-12-26 16:42:55 UTC
There it is: [ebuild  N    ] sci-mathematics/gretl-1.7.9  USE="emacs gmp gnome gtk nls odbc readline sourceview -accessibility -debug" 0 kB
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2009-02-02 23:53:33 UTC
fixed. thanks.