Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wrong /etc directory?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
<guard>
n00b
n00b


Joined: 18 Sep 2003
Posts: 11

PostPosted: Mon Sep 22, 2003 8:50 pm    Post subject: Wrong /etc directory? Reply with quote

I have recently changed my ACCEPT_KEYWORDS to "~x86" to compile Gnome 2.4 But now some packages (like libbonobo or kahakai) are looking for their config files at /var/tmp/portage/...//image/etc

Someone knows what is happening?
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1623
Location: U.S.A.

PostPosted: Mon Sep 22, 2003 10:32 pm    Post subject: Reply with quote

Did you uncomment this in /etc/make.conf?

# Portage Directories
# ===================
#
# Each of these settings controls an aspect of portage's storage and file
# system usage. If you change any of these, be sure it is available when
# you try to use portage. *** DO NOT INCLUDE A TRAILING "/" ***
#
# PORTAGE_TMPDIR is the location portage will use for compilations and
# temporary storage of data. This can get VERY large depending upon
# the application being installed.
PORTAGE_TMPDIR=/var/tmp


Mine is like that.
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
<guard>
n00b
n00b


Joined: 18 Sep 2003
Posts: 11

PostPosted: Mon Sep 22, 2003 11:36 pm    Post subject: Reply with quote

I will try it! Thank you :wink:
Back to top
View user's profile Send private message
<guard>
n00b
n00b


Joined: 18 Sep 2003
Posts: 11

PostPosted: Tue Sep 23, 2003 6:30 am    Post subject: Reply with quote

It doesn't work :cry: . In fact, this variable was defined in make.globals.

Someone have this problem? How can I tell portage where real /etc directory is?
Back to top
View user's profile Send private message
dma
Guru
Guru


Joined: 31 Jan 2003
Posts: 437
Location: Charlotte, NC, USA

PostPosted: Fri Sep 26, 2003 1:27 am    Post subject: Reply with quote

The sandboxing(?) code keeps everything in /var/tmp/portage/whatever.

It is installed into "/var/tmp/portage/whatever/image/" I think.

Perhaps it is storing the sandboxed directory in the config file in the install phase based on the current directory. This cannot be fixed during merge.

Other stuff like this happens:

Code:
emerge fortune
man 6 fortune

...
FILES
       Note: these are the defaults as defined at compile time.

       /var/tmp/portage/fortune-mod-9708-r1/image//usr/share/fortune
              Directory for innoffensive fortunes.
       /var/tmp/portage/fortune-mod-9708-r1/image//usr/share/fortune/off
              Directory for offensive fortunes.


See? This stuff happens more often than it should.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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