View previous topic :: View next topic |
Author |
Message |
greg n00b
Joined: 16 Apr 2002 Posts: 42 Location: HFX/NS/CA
|
Posted: Wed Oct 16, 2002 7:36 pm Post subject: QT and KDE apps fail to install, access violation |
|
|
Hi, I was wondering if anyone might know why I keep getting access errors like:
open_wr: /usr/local/qt/etc/settings/.qtrc.lock
The above error will appear multible times in the sandbox log file.
When install QT or what appears to be any KDE app. I can actually get around this by emerging each package with the -b option to build a package file. I then emerge the package again (as it just failed due to the access violation) using the -k switch and the package installs fine. I actually emerged all of KDE beta2 except kdebingings which failed to completely build. I have been having this problem for a few months now, but since I decided to install KDE beta2 it became a bigger problem for me... |
|
Back to top |
|
|
Mustard007 Apprentice
Joined: 31 May 2002 Posts: 235 Location: Montreal, Quebec, Canada
|
Posted: Wed Nov 20, 2002 7:12 pm Post subject: |
|
|
I have the same trouble with the emerge of QT3.1.
How to solve it ? |
|
Back to top |
|
|
chrisjs n00b
Joined: 21 Jun 2002 Posts: 33
|
Posted: Sat Nov 23, 2002 4:51 am Post subject: |
|
|
I'm having the same issue too... |
|
Back to top |
|
|
greg n00b
Joined: 16 Apr 2002 Posts: 42 Location: HFX/NS/CA
|
Posted: Sat Nov 23, 2002 1:26 pm Post subject: |
|
|
Funny thing is since emerging QT3.1 I don't have to build the binary packages anymore and then install them. I don't know if I am getting the access violations for sure, but if I am, it nolonger prevents the package from being successfully emerged... I am going to delete all the sandbox logs that have built up in my tmp dir and see if any new ones appear! |
|
Back to top |
|
|
Damasz Tux's lil' helper
Joined: 24 Apr 2002 Posts: 91 Location: Groningen, the Netherlands
|
Posted: Wed Nov 27, 2002 5:09 pm Post subject: |
|
|
I searched bugzilla and found: https://bugs.gentoo.org/show_bug.cgi?id=11144
They suggest deleting the /usr/qt/3/etc/ directory before you start compiling.
Qt is building now, so let's hope it works.
Edit: It worked! |
|
Back to top |
|
|
EliasP Guru
Joined: 06 Dec 2002 Posts: 318 Location: South-West Germany
|
Posted: Mon Mar 01, 2004 7:49 pm Post subject: |
|
|
I found a section in the kde.eclass which seems to handle this problem:
Code: |
# fix the sandbox errors "can't writ to .kde or .qt" problems.
# this is a fake homedir that is writeable under the sandbox, so that the build process
# can do anything it wants with it.
REALHOME="$HOME"
mkdir -p $T/fakehome/.kde
mkdir -p $T/fakehome/.qt
export HOME="$T/fakehome"
addwrite "${QTDIR}/etc/settings"
|
Greetings
Elias P. |
|
Back to top |
|
|
|