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

Bug 39572

Summary: media-sound/rosegarden has sandbox violations on /usr/qt/3/settings
Product: Gentoo Linux Reporter: ferret <ferret-bgo>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix compile problem & rosegardensequencer crash
Part of an emerge log.

Description ferret 2004-01-27 09:11:52 UTC
Near the end of the emerge, there are lines like this:

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

Obviously I can get around it with

FEATURES="-sandbox" emerge rosegarden

But the fact remains this shouldn't happen, of course :)

(Please note that I'm reporting this on behalf of someone else in #gentoo)
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-01-27 09:17:01 UTC
This is caused because you don't have an /usr/qt/3/etc/settings directory.  The newer ebuilds now create it, but older ones didnt.

You can either make the directory by hand or emerge a new version of Qt.
Comment 2 Bartosch Pixa (RETIRED) gentoo-dev 2004-01-30 13:38:44 UTC
nope, that just shifts the access violation to:
open_wr:   /usr/qt/3/etc/settings/.qt_plugins_3.2rc.lock
open_wr:   /usr/qt/3/etc/settings/qt_plugins_3.2rc.tmp
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2004-02-09 08:35:08 UTC
Try adding the line:

addwrite ${QTDIR}/etc/settings

in the src_compile portion of the ebuild.
Comment 4 Dominik Stadler (RETIRED) gentoo-dev 2004-02-20 07:38:46 UTC
I couldn't test this yet, but I think that a similar fix as in 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/dev-db/tora/tora-1.3.13.ebuild?r1=1.2&r2=1.3
could solve this.
Comment 5 Pascal Martineau 2004-02-20 09:47:38 UTC
Created attachment 25990 [details]
Fix compile problem & rosegardensequencer crash
Comment 6 Georg Sahli 2004-02-24 13:04:54 UTC
Created attachment 26278 [details]
Part of an emerge log.

Do have same bug, like the other person.
Comment 7 Georg Sahli 2004-02-24 13:08:10 UTC
This QT version I do have installed:

emerge qt --pretend

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

Calculating dependencies ...done!
[ebuild   R   ] x11-libs/qt-3.3.0-r1
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2004-02-25 04:50:07 UTC
sandbox errors fixed now.