Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
QT and KDE apps fail to install, access violation
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
greg
n00b
n00b


Joined: 16 Apr 2002
Posts: 42
Location: HFX/NS/CA

PostPosted: Wed Oct 16, 2002 7:36 pm    Post subject: QT and KDE apps fail to install, access violation Reply with quote

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
View user's profile Send private message
Mustard007
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 235
Location: Montreal, Quebec, Canada

PostPosted: Wed Nov 20, 2002 7:12 pm    Post subject: Reply with quote

I have the same trouble with the emerge of QT3.1.

How to solve it ?
Back to top
View user's profile Send private message
chrisjs
n00b
n00b


Joined: 21 Jun 2002
Posts: 33

PostPosted: Sat Nov 23, 2002 4:51 am    Post subject: Reply with quote

I'm having the same issue too... :(
Back to top
View user's profile Send private message
greg
n00b
n00b


Joined: 16 Apr 2002
Posts: 42
Location: HFX/NS/CA

PostPosted: Sat Nov 23, 2002 1:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Damasz
Tux's lil' helper
Tux's lil' helper


Joined: 24 Apr 2002
Posts: 91
Location: Groningen, the Netherlands

PostPosted: Wed Nov 27, 2002 5:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
EliasP
Guru
Guru


Joined: 06 Dec 2002
Posts: 318
Location: South-West Germany

PostPosted: Mon Mar 01, 2004 7:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum