Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82232 - aspell-pt violates sandbox?
Summary: aspell-pt violates sandbox?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-16 03:49 UTC by Andre David
Modified: 2005-02-16 11:09 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 Andre David 2005-02-16 03:49:41 UTC
# emerge -Duvat world

These are the packages that I would merge, in reverse order:

Calculating world dependencies ...done!
[ebuild     U ] app-dicts/aspell-pt-20041027 [0.50.2] 1,001 kB

Total size of downloads: 1,001 kB

Do you want me to merge these packages? [Yes/No] Yes
>>> emerge (1 of 1) app-dicts/aspell-pt-20041027 to /
>>> Downloading http://mirror.switch.ch/mirror/gentoo/distfiles/aspell.pt.20041027.tar.gz
--12:15:55--  http://mirror.switch.ch/mirror/gentoo/distfiles/aspell.pt.20041027.tar.gz
           => `/usr/portage/distfiles/aspell.pt.20041027.tar.gz'
Resolving mirror.switch.ch... 130.59.10.35, 2001:620:0:8:203:baff:fe52:38e5
Connecting to mirror.switch.ch[130.59.10.35]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,025,249 [application/x-gzip]

100%[======================================================================================================>] 1,025,249     --.--K/s

12:15:56 (6.90 MB/s) - `/usr/portage/distfiles/aspell.pt.20041027.tar.gz' saved [1025249/1025249]

>>> md5 src_uri ;-) aspell.pt.20041027.tar.gz
>>> Unpacking source...
>>> Unpacking aspell.pt.20041027.tar.gz to /var/tmp/portage/aspell-pt-20041027/work
 * Applying Makefile-fix ...                                                                                                                [ ok ]
 * Applying configure-new ...                                                                                                               [ ok ]
>>> Source unpacked.
aspell --data-dir=/usr/share/aspell --lang=portugues create master ./portugues < portugues.aspell
>>> Test phase [not enabled]: app-dicts/aspell-pt-20041027

>>> Install aspell-pt-20041027 into /var/tmp/portage/aspell-pt-20041027/image/ category app-dicts
install -c -m 644 portugues_phone.dat /usr/share/aspell/
ACCESS DENIED  open_wr:   /usr/share/aspell/portugues_phone.dat
install: cannot create regular file `/usr/share/aspell/portugues_phone.dat': Permission denied
make: *** [install] Error 1

!!! ERROR: app-dicts/aspell-pt-20041027 failed.
!!! Function src_install, Line 35, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-app-dicts_-_aspell-pt-20041027-8986.log"

open_wr:   /usr/share/aspell/portugues_phone.dat
--------------------------------------------------------------------------------


Reproducible: Always
Steps to Reproduce:





# emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.40GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4
(#1, Feb 15 2005, 16:26:15)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.4_p6, 1.5, 1.6.3, 1.9.4, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4 -Os -pipe -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/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/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="-mcpu=pentium4 -Os -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j9"
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 X Xaw3d aac aalib acpi acpi4linux aim alsa apache2 arts audiofile
avantgo avi bash-completion bcmath bdf berkdb blender-game bootsplash bzip2
bzlib cacheemu calendar caps ccache cddb cdparanoia cdr chroot clanJavaScript
clanVoice codecs cpdflib cross crypt cscope css ctype curl curlwrappers dba dbm
dbx dga dio directfb distcache distribution divx4linux dlloader dmx dnd dts dv
dvb dvd dvdread editor eds emacs emacs-w3 encode erandom escreen esd ethereal
etwin evms2 evo evo2 exif extensions f2c f77 faac faad fam fb fbcon fbdev ffmpeg
fftw flac flash flatfile fluidsynth font-server foomaticdb foreign-package
foreign-sysvinit fortran fpx freetype fs ftp gatos gb gcj gd gdbm geoip gif gimp
gimpprint ginac gkrellm glgd gmail gmp gnokii gnome gnomedb gnuplot gphoto2 gpm
gps gs gsl gtk gtk2 gtkhtml guile hbci http icc icc-pgo icq ifc imagemagick imap
imlib imlib2 inifile innodb ipv6 irda java javacomm javascript jce jdepend jikes
jit jp2 jpeg junit kde kdepim kerberos lcms ldap ldirectord leim lesstif libcaca
libg++ libgda libsamplerate libwww live lzo lzw lzw-tiff mad matroska mcve
md5sum mdb mikmod mime ming mmap mmx mmx2 monkey mono motif mozilla moznocompose
moznoirc moznomail mp3 mpeg mpeg4 mplayer msn multi-tty mysql mysqli nas ncurses
net network nls nocd nptl ntlm objc odbc ofx ogg oggvorbis opengl opie oss pam
parse-clocks pcmcia pda pdf pdflib perl pic pie plotutils png pnp posix pthreads
python qt quicktime quotes radeon rdesktop readline real recode rtc ruby samba
sasl scanner sdl shaper shared sharedmem silc slang snmp soap sockets speedo
spell sqlite sse sse2 ssl svga sysvipc tcltk tcpd tetex threads tidy tiff
truetype truetype-fonts type1 type1-fonts usb v4l v4l2 vim-with-x wifi wmf xine
xinerama xml xml2 xmlrpc xmms xosd xpm xsl xv xvid yahoo yv12 zlib
video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Andre David 2005-02-16 06:01:21 UTC
Removed 'sandbox' from make.conf FEATURES and got exactly the same behavior.

Unmerged aspell-pt-0.50.2 and tried to reemerge aspell-pt: same result.

Tried (as root) to 'install -c -m 644 ~/root/foo /usr/share/aspell/' and worked.
Comment 2 Anders Rune Jensen (RETIRED) gentoo-dev 2005-02-16 07:18:25 UTC
My mistake. Is a problem with aspell 0.50. Will fix later today.
Comment 3 Anders Rune Jensen (RETIRED) gentoo-dev 2005-02-16 09:36:36 UTC
Please try latest version in cvs and see if it works now. Thanks.
Comment 4 Andre David 2005-02-16 11:09:29 UTC
Working! Thanks.