Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37191 - x11-libs/qt-3.3.0_beta1 violates sandbox
Summary: x11-libs/qt-3.3.0_beta1 violates sandbox
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-04 06:39 UTC by Peter Beekman
Modified: 2004-02-11 12:20 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 Peter Beekman 2004-01-04 06:39:33 UTC
many entries of:
ACCESS DENIED  mkdir:     /usr/qt/3/etc/settings
QSettings::sync: failed to open '/root/.qt/qt_plugins_3.3rc.tmp' for writing
Conflict in /usr/qt/3/plugins/designer/libcppeditor.so:
  Plugin uses incompatible Qt library!
  expected build key "i686 Linux g++-3.* full-config no-ipv6", got "i686 Linux g++-3.* full-config".

Followed by many entries of:
ACCESS DENIED  mkdir:     /usr/qt/3/etc/settings
QSettings::sync: failed to open '/root/.qt/qt_plugins_3.3rc.tmp' for writing

Then:
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-qt-3.3.0_beta1-15273.log"

The above log file contains 152 kb of the repeated line (4597 times):
mkdir:     /usr/qt/3/etc/settings


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




# emerge info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0,
2.6.1-rc1-mm1)
=================================================================
System uname: 2.6.1-rc1-mm1 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.4.3.12
distcc 2.12 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -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
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://planetmirror.com/pub/gentoo
ftp://mirror.aarnet.edu.au/pub/gentoo
ftp://ftp.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/root/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage/"
USE="X aalib acpi alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dvd
emacs encode esd foomaticdb gdbm gif gpm gtk gtk2 gtkhtml guile imlib java jpeg
kde libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls nptl oggvorbis
opengl oss pam pdflib perl png python qt quicktime readline scanner sdl slang
spell sse ssl svga tcltk tcpd truetype vanilla x86 xml2 xmms xv zlib"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-01-04 06:51:59 UTC
I knew this would come up sooner or later.  I've just committed a few changes, can you please resync and try it again.

Also, do you already have a version of qt installed?  If so, what version?
Comment 2 Tassilo Horn 2004-01-04 07:44:16 UTC
Hi,

here the same. I have qt-3.2.3 installed and wanted to update.

emerge info here:
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.0-gentoo-r1)
=================================================================
System uname: 2.6.0-gentoo-r1 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.40GHz
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -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/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/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -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/ http://ftp.easynet.nl/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://212.219.247.11/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa arts avi berkdb cdr cups dvd emacs encode faad foomaticdb freetype gdbm gif gtk2 imagemagick imap imlib java jikes jpeg libg++ libwww mad maildir mbox mikmod mmx motif mpeg ncurses nls offensive oggvorbis opengl pam pcmcia pdflib perl pic png pnp python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype type1 usb wmf wxwindows x86 xml2 xmms xosd xv zlib linguas_de"
Comment 3 Claes Mogren 2004-01-04 07:45:42 UTC
Same problem for me. :'/
Comment 4 Peter Beekman 2004-01-04 08:31:24 UTC
Re-synced, got the new/updated ebuild, and tried again.

Many less errors listed, but still got this:
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-qt-3.3.0_beta1-1531.log"

mkdir:     /usr/qt/3/etc/settings
mkdir:     /usr/qt/3/etc/settings
mkdir:     /usr/qt/3/etc/settings
mkdir:     /usr/qt/3/etc/settings
mkdir:     /usr/qt/3/etc/settings
mkdir:     /usr/qt/3/etc/settings
mkdir:     /usr/qt/3/etc/settings
mkdir:     /usr/qt/3/etc/settings
mkdir:     /usr/qt/3/etc/settings
mkdir:     /usr/qt/3/etc/settings
mkdir:     /usr/qt/3/etc/settings
mkdir:     /usr/qt/3/etc/settings
--------------------------------------------------------------------------------

There were no other errors listed.  Better, but still broken... :(

I am at the first stage of the below update, and I'm currently running qt-3.2.3.
# emerge -puDv world

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

Calculating world dependencies ...done!
[ebuild     U ] x11-libs/qt-3.3.0_beta1 [3.2.3] +cups -nas -postgres +opengl -mysql -odbc +gif -doc -firebird +zlib -icc -sqlite -oci8
[ebuild     U ] media-libs/audiofile-0.2.5 [0.2.4]
[ebuild     U ] dev-libs/nspr-4.4.1 [4.3]
[ebuild     U ] media-libs/imlib2-1.1.0.20040103 [1.1.0.20031225] +nls -doc +mmx +gif +png +jpeg -tiff -static +X
[ebuild     U ] net-libs/libpcap-0.8.1 [0.7.2]
[ebuild     U ] media-sound/grip-3.1.4 [3.1.3] +nls +oggvorbis
[ebuild     U ] net-im/gaim-0.74-r2 [0.74-r1] +nls +perl +spell -nas +ssl +mozilla -cjk -debug
[ebuild     U ] net-misc/rsync-2.6.0 [2.5.7]
Comment 5 David Solomon 2004-01-04 09:25:24 UTC
mkdir /usr/qt/3/etc
mkdir /usr/qt/3/etc/settings

Then re-emerge to get it to compile.

Comment 6 David Solomon 2004-01-04 09:25:58 UTC
mkdir /usr/qt/3/etc
mkdir /usr/qt/3/etc/settings

Then re-emerge to get it to compile.

Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2004-01-04 09:40:05 UTC
ok, i've updated the ebuild yet again.  let me know if it works better for you.
Comment 8 Peter Beekman 2004-01-04 12:03:49 UTC
The newest qt ebuild completed successfully, without having to manually create any directories.

It did not create, or write anything to /usr/qt/3/etc/settings.

KDE then started "behaving badly", so I'm re-emerging kdelibs and kdebase.  The first try of _kdelibs_ failed with a similar attempt to write to /usr/qt/3/etc/settings.  I have now created that dir, and am re-trying kdelibs.  ccache should make it quicker this time around.
Comment 9 Peter Beekman 2004-01-04 12:37:09 UTC
With the /usr/qt/3/etc/settings directory created, kdelibs still failed with many write errors to that dir.

For the time being, I'm masking this qt on my system, as I need KDE to work.  Specifically, panel wouldn't work with just this qt emerged, so I tried emerging kdelibs & kdebase, but couldn't get kdelibs to compile, and kdebase wanted kdelibs re-emerged first.

I am willing to retry with subsequent updates that hope to resolve this issue.
Comment 10 Caleb Tennis (RETIRED) gentoo-dev 2004-01-04 19:17:58 UTC
I think we've addressed the major issues, all should be fixed within that ebuild.  But I still think it's not ready yet for prime time, so I've remasked it in package.mask.  Thanks for your help through this.
Comment 11 Peter Beekman 2004-01-04 19:51:49 UTC
Given its impact to KDE on this system, masking it has my full support.

Feel free to change status of this bug as you see fit.  Glad I could be of some help. :) 
Comment 12 Caleb Tennis (RETIRED) gentoo-dev 2004-02-11 12:20:15 UTC
ok, qt-3.3 final is out, stable, and should fix this problem.
Comment 13 Caleb Tennis (RETIRED) gentoo-dev 2004-02-11 12:20:40 UTC
marking fixed.