Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37997 - lincvs produces several qt sandbox violations
Summary: lincvs produces several qt sandbox violations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-12 12:15 UTC by Holly
Modified: 2004-02-20 10:18 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lincvs-1.3.0_rc2.ebuild (lincvs-1.3.0_rc2.ebuild,1.58 KB, text/plain)
2004-01-19 15:14 UTC, Carsten Lohrke (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Holly 2004-01-12 12:15:52 UTC
emerging lincvs results in countless errors like the following:
ACCESS DENIED  mkdir:     /usr/qt/3/etc/settings
QSettings::sync: failed to open '/root/.qt/qt_plugins_3.2rc.tmp' for writing

i tested it on 2 boxen.

Reproducible: Always
Steps to Reproduce:
1. emerge lincvs
2.
3.

Actual Results:  
[...]
ACCESS DENIED  mkdir:     /usr/qt/3/etc/settings
QSettings::sync: failed to open '/root/.qt/qt_plugins_3.2rc.tmp' for writing
[...]

emerge doesn't finish.

Expected Results:  
no errors, emerge finishes. ;)

Box 1:
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.1-rc2-gentoo)
=================================================================
System uname: 2.6.1-rc2-gentoo i686 VIA Nehemiah
Gentoo Base System version 1.4.3.10p1
distcc[4874] (dcc_trace_version) distcc 2.11.1 i686-pc-linux-gnu; built Oct 23
2003 23:49:56 [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium3 -pipe -mfpmath=sse -msse -mmmx -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -march=pentium3 -pipe -mfpmath=sse -msse -mmmx -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://ftp.easynet.nl/mirror/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://212.219.247.15/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://heartofgold.phren.net/gentoo-portage"
USE="X Xaw3d aalib acl acpi alsa altivec apache apm arts avi berkdb bonobo cdr
crypt cups curl dedicated dga directfb dvb dvd encode esd ethereal fbcon flash
foomaticdb gd gd-external gdbm ggi gif ginac gnome gphoto2 gpm gps gstreamer gtk
gtk2 gtkhtml imap imlib innodb ipv6 jack java joystick jpeg kde ladcca lcms ldap
libg++ libwww lirc mad maildir mcal mikmod mmx motif mozilla mpeg mysql nas
ncurses nls oav oggvorbis opengl oss pam pda pdflib perl plotutils png pnp ppds
python qhull qt quicktime readline samba sasl scanner sdl slang snmp socks5
spell src sse ssl svga tcltk tcpd tetex tiff truetype usb v4l videos wmf
wxwindows x86 xface xinerama xml xml2 xmms xosd xv xvid zlib"



######################################################################
Box 2:
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-r4)
=================================================================
System uname: 2.4.22-gentoo-r4 i686 Celeron (Mendocino)
Gentoo Base System version 1.4.3.10p1
distcc[12924] (dcc_trace_version) distcc 2.11.1 i686-pc-linux-gnu; built Nov 23
2003 22:40:14 [enabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://heartofgold.phren.net/gentoo-portage"
USE="X aavm afs altivec apache2 apm arts avi berkdb bonobo crypt cups curl dv
dvd encode esd faad flash foomaticdb gd gd-external gdbm gif gnome gpm gtk gtk2
gtkhtml imap imlib innodb ipv6 java jpeg kde ldap libg++ libwww mad maildir mcal
mikmod mmx motif mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pdflib
perl png postgres ppds python qt quicktime readline samba sasl sdl slang snmp
spell ssl svga tcltk tcpd tetex tiff truetype wmf x86 xml xml2 xmms xv zlib"
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-01-12 13:48:06 UTC
lincvs-?.?.?

Does it fail, if you add 'userpriv' to FEATURES, too?
Comment 2 Holly 2004-01-12 14:26:05 UTC
with "userpriv" it emerges fine.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-01-12 15:28:30 UTC
O.k. still , which version?
Comment 4 Holly 2004-01-12 22:47:15 UTC
oh, sorry...

i tested 1.2.0 (x86) and 1.3.0_rc2 (~x86) both with the same result. they work with userpriv, but not without it.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2004-01-19 15:14:07 UTC
Created attachment 24103 [details]
lincvs-1.3.0_rc2.ebuild

This should fix the problem. Additional the patch isn't needed anymore. Any
positive/negative feedback?
Comment 6 alexandre parente lima 2004-01-23 22:43:51 UTC
now this perfect one.  :)
tested and compiled it on 2 boxen.
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2004-02-11 12:34:13 UTC
added an addpredict to the ebuilds, should fix the sandbox violations.
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2004-02-14 17:48:19 UTC
Caleb: The ebuild tries to use a non-existing patch (1.3.0_rc2). Instead fixing this, please have a look at Bug 40186.
Comment 9 Sandino Araico Sanchez 2004-02-20 10:18:15 UTC
The problem is still present 

>>> emerge (2 of 34) dev-util/lincvs-1.3.0_rc2 to /
>>> md5 src_uri ;-) lincvs-1.3.0-rc2-generic-src.tgz
>>> Unpacking source...
>>> Unpacking lincvs-1.3.0-rc2-generic-src.tgz to /usr/src/portage/lincvs-1.3.0_rc2/work
>>> Source unpacked.
RUNNING FROM extra_functions.sh
 
 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/portage/dev-util/lincvs/files/lincvs-1.3.0-rc2-gentoo.diff
 
 
!!! ERROR: dev-util/lincvs-1.3.0_rc2 failed.
!!! Function epatch, Line 220, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!