Bug 78880 - dev-lang/gnu-smalltalk-2.1.8 sandbox violation
|
Bug#:
78880
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: CLOSED
|
Severity: blocker
|
Priority: P2
|
|
Resolution: TEST-REQUEST
|
Assigned To: mkennedy@gentoo.org
|
Reported By: yselkowitz@hotmail.com
|
|
Component: Unspecified
|
|
|
URL:
|
|
Summary: dev-lang/gnu-smalltalk-2.1.8 sandbox violation
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-01-20 16:18 0000
|
While running an 'emerge --newuse world' today, I got a sandbox violation
during the install step of dev-lang/gnu-smalltalk.
# emerge -pv --newuse gnu-smalltalk
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] dev-lang/gnu-smalltalk-2.1.8 -debug +emacs +gmp +gtk +readline
+tcltk* 0 kB
Total size of downloads: 0 kB
[snip]
Processing
/var/tmp/portage/gnu-smalltalk-2.1.8/image/usr/share/smalltalk/kernel/PkgLoader.st
Processing
/var/tmp/portage/gnu-smalltalk-2.1.8/image/usr/share/smalltalk/kernel/DLD.st
ACCESS DENIED open_wr: /usr/share/smalltalk/gst.im
gst: Couldn't open file /usr/share/smalltalk/gst.im
"Scavenging... 55% reclaimed, done"
Processing /var/tmp/portage/gnu-smalltalk-2.1.8/work/smalltalk-2.1.8/Finish.st
"Scavenging... 61% reclaimed, done"
"Scavenging... 38% reclaimed, done"
ACCESS DENIED open_wr: /usr/share/smalltalk/gst.im
make[3]: Leaving directory
`/var/tmp/portage/gnu-smalltalk-2.1.8/work/smalltalk-2.1.8'
[snip]
--------------------------- ACCESS VIOLATION SUMMARY --------------------------
LOG FILE = "/tmp/sandbox-dev-lang_-_gnu-smalltalk-2.1.8-3727.log"
open_wr: /usr/share/smalltalk/gst.im
open_wr: /usr/share/smalltalk/gst.im
--------------------------------------------------------------------------------
Also, in the src_compile function, there's a typo -- tclk instead of tcltk.
Reproducible: Always
Steps to Reproduce:
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1,
2.4.28-gentoo-r5 i686)
=================================================================
System uname: 2.4.28-gentoo-r5 i686 AMD Athlon(TM)
Gentoo Base System version 1.4.16
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers: sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /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/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo
http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aac aalib accessibility acl acpi aim alsa apache2 apm arts
audiofile avi berkdb bidi bitmap-fonts bonobo bootsplash bzlib cdr clamav crypt
cups curl dillo doc dvd dvdr eds emacs encode esd evo exif f77 fam fbcon fftw
flac flash font-server foomaticdb fortran freetype ftp gcj gd gdbm ggi gif gimp
ginac glade glut gmp gnome gnomedb gnuplot gnustep gnutls gphoto2 gpm graphviz
gs gsl gsnd gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib iodbc ipv6
jabber jack java jikes jpeg jpeg2k junit kde koffice-plugin latex lcms ldap
leim
lesstif libcaca libg++ libgda libwww mad mailwrapper mbox mhash mikmod mime
ming
mixer mmap mmx mng mnogosearch mono motif mozcalendar mozdevelop mozilla mp3
mpeg mplayer msn mule mysql ncurses nls nntp objc ocaml odbc ofx oggvorbis
openal opengl oscar oss pam pcre pda pdf pdflib perl php png postgres povray
ppds python qt quicktime quotes readline real ruby sasl sdl shared silc slang
smartcard sndfile sox speex spell sqlite ssl svg svga t1lib tcltk tcpd tetex
tga
tidy tiff timidity transcode truetype truetype-fonts type1-fonts unicode wmf
wxwindows xforms xine xml xml2 xmms xpm xprint xrandr xsl xv xvid yahoo zlib"
FWIW, this problem only exists when built with the tcltk USE flag, but fixing
the typo doesn't help.
For me this happens regardless of the tcltk USE flag, with the typo fixed or
not
emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Mobile Intel(R) Pentium(R) 4 - M CPU
1.80GHz
Gentoo Base System version 1.6.10
Python: dev-lang/python-2.3.5,dev-lang/python-2.4-r3 [2.4 (#1, Mar
27 2005, 16:39:18)]
dev-lang/python: 2.3.5, 2.4-r3
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.8.5-r3, 1.7.9-r1, 1.5, 1.4_p6, 1.9.5, 1.6.3
sys-devel/binutils: 2.15.92.0.2-r7
sys-devel/libtool: 1.5.14
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fstack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /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/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sandbox
sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm atm avi bash-completion berkdb bitmap-fonts
cdparanoia cdr crypt curl dhcp directfb divx4linux doc dvd emboss encode fam
fbcon foomaticdb gdbm gif gpg gpm gtk2 imagemagick imap imlib jpeg ldap libg++
libwww live lzo mad maildir mailwrapper mbox mikmod mjpeg mmx mmx2 mp3 mpeg
ncurses network nls nptl offensive oggvorbis pdflib perl png python quicktime
readline real ruby sdl slang spell sse sse2 ssl svga tcltk tcpd theora tiff
truetype truetype-fonts type1-fonts unicode usb utf8 v4l v4l2 vcd vidix x86
xine xml2 xmms xv xvid zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
A gnu-smalltalk-2.1.10 ebuild was committed just now which should fix the
sandbox
violation.
FYI the tclk typo in src_compile is still present in 2.1.10.
Will post results when I get a chance to emerge.
The new version works for me (with USE="tcltk", haven't tried with -tcltk)
WFM with tcltk. Thanks for the fix.