Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 132230

Summary: slang sandbox violation with USE=unicode
Product: Gentoo Linux Reporter: Marti Raudsepp <marti>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marti Raudsepp 2006-05-04 04:36:34 UTC
Emerging slang fails with a sandbox violation error (below) when merged with USE=unicode, but works without it.

After merging with USE=-unicode, it merges again with USE=unicode. Odd, huh.

# emerge slang
[...]
libslang-utf8.so.1.4.9 created in /var/tmp/portage/slang-1.4.9-r2/image//usr/lib.
The links libslang-utf8.so and libslang-utf8.so.1 to libslang-utf8.so.1.4.9 were also created.

make[1]: Leaving directory `/var/tmp/portage/slang-1.4.9-r2/work/slang-1.4.9/src'

On some systems, e.g., linux, you may also have to run ldconfig.

ACCESS DENIED  symlink:   /var/tmp/portage/slang-1.4.9-r2/image/usr/lib/libslang.a
ln: creating symbolic link `/var/tmp/portage/slang-1.4.9-r2/image//usr/lib/libslang.a' to `/usr/lib/libslang-utf8.a': Permission denied
man:
strip: i686-pc-linux-gnu-strip --strip-unneeded
   /usr/lib/libslang-utf8.so.1.4.9
   usr/lib/libslang-utf8.a
making executable: /usr/lib/libslang-utf8.so.1.4.9
>>> Completed installing slang-1.4.9-r2 into /var/tmp/portage/slang-1.4.9-r2/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-sys-libs_-_slang-1.4.9-r2-6284.log"

symlink:   /var/tmp/portage/slang-1.4.9-r2/image/usr/lib/libslang.a (symlink to /usr/lib/libslang-utf8.a)
--------------------------------------------------------------------------------


# emerge --info
Portage 2203-svn (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.12-gentoo-r6-a-1 i686)
=================================================================
System uname: 2.6.12-gentoo-r6-a-1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2
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-r1, 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.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O2 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig confcache distcc distlocks parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/                 http://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US"
LC_ALL="en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 acl apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 cli crypt dri eds emboss encode expat foomaticdb gd gdbm gmp gstreamer gtk2 imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod mmx motif mp3 ncurses nptl ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python quicktime quotas readline reflection samba sasl sdl session slang spl sqlite ssl threads truetype truetype-fonts type1-fonts udev unicode usb vorbis xml xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-04 04:37:41 UTC

*** This bug has been marked as a duplicate of 114730 ***