Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage/emerge doesn't seem to like sym link
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
jondkent
Apprentice
Apprentice


Joined: 26 Jul 2002
Posts: 289
Location: London

PostPosted: Thu Oct 24, 2002 8:44 pm    Post subject: Portage/emerge doesn't seem to like sym link Reply with quote

Hiya,

Trying to upgrade the system level with

emerge -u system

however, some build such as gettext seem to baff with ACCESS VIOLATION errors. Had a look at this and it seems to be because Portage does not link symbolic links which I have in place for /usr/lib due to disk space problems. I disabled the sandbox for one build, gettext, and everything installed OK so its not the source itself.

OK I thought lets put lib back into /usr/lib proper and sym link /var/tmp/portage to my emptier partition. No joy there either, complains about the path when it tries to patch a build or create the working directory (no idea why as I can do it manually).

This looks like a bug to me within portage as it seems to take the actual path name not the relative path name, which is a bit odd.

If anyone has any ideas that would be great as I've had to call off the upgrade for the moment. Reinstalling is not a preferred option at the moment :D

Thanks

Jon
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Oct 25, 2002 2:41 am    Post subject: Reply with quote

Does explicitly setting PORTAGE_TMPDIR work better than symlinking /var/tmp/portage somewhere?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
jondkent
Apprentice
Apprentice


Joined: 26 Jul 2002
Posts: 289
Location: London

PostPosted: Fri Oct 25, 2002 8:22 am    Post subject: Reply with quote

Thats interesting, I'll give that variable a try tonight.

Anyone have any ideas which sym linking /usr/lib should give Portage grief :?:

Cheers

Jon
Back to top
View user's profile Send private message
dreamer3
Guru
Guru


Joined: 24 Sep 2002
Posts: 553

PostPosted: Fri Nov 15, 2002 10:38 am    Post subject: Reply with quote

I'm not sure, but symlinks aren't 100% real... try mount --bind... cool stuff :-) It can remount one part of the file system to another.

I use it to keep the parts of my file system that change the most on hda2.

mount except:
Code:
/dev/hda2 on /.extra type ext3 (rw,noatime)
/.extra/tmp/var on /var/tmp type bind (rw,bind)
/.extra/tmp on /tmp type bind (rw,bind)
/.extra/portage on /usr/portage type bind (rw,bind)
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