Gentoo Archives: gentoo-alt

From: Johan Hattne <johan@××××××.se>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Problem installing Gentoo Prefix
Date: Mon, 14 Jul 2014 19:05:28
Message-Id: 2893F627-7263-4C71-8348-5A4D21559AFB@hattne.se
In Reply to: [gentoo-alt] Problem installing Gentoo Prefix by Anders Bo Rasmussen
1 On Jul 14, 2014, at 8:20, Anders Bo Rasmussen <abr@×××××××.com> wrote:
2
3 > Hi.
4 >
5 > I tried to install Gentoo prefix on Centos 5.9. The installation runs fine for a long time, but then ends with:
6 >
7 > >>> Installing (19 of 19) dev-python/python-exec-10000.1
8 > * checking 0 files for package collisions
9 > >>> Merging dev-python/python-exec-10000.1 to /
10 > >>> dev-python/python-exec-10000.1 merged.
11 > rm: cannot remove ‘/home/abr/gentoo/var/tmp/portage/dev-python/python-exec-10000.1/temp’: Directory not empty
12
13 [snip]
14
15 > >>> No outdated packages were found on your system.
16 >
17 > * IMPORTANT: 2 config files in '/home/abr/gentoo/etc' need updating.
18 > * See the CONFIGURATION FILES section of the emerge
19 > * man page to learn how to update config files.
20 >
21 > * IMPORTANT: 6 news items need reading for repository 'gentoo_prefix'.
22 > * Use eselect news to read news items.
23 >
24 > rm: cannot remove ‘/home/abr/gentoo/tmp/usr/bin’: Directory not empty
25 >
26 > Hmmmm, I was already afraid of this to happen. Running
27 > /home/abr/gentoo/bin/bash ./bootstrap-prefix.sh "/home/abr/gentoo" stage3
28 > somewhere failed :( Details might be found in the build log:
29 > (no build logs found?!?)
30 > I have no clue, really. Please find friendly folks in #gentoo-prefix on
31 > irc.gentoo.org, gentoo-alt@l.g.o mailing list, or file a bug
32 > at bugs.gentoo.org under Gentoo/Alt, Prefix Support. This is most
33 > inconvenient, and it crushed my ego. Sorry, I give up.
34 >
35 >
36 > Any hint on what I can do to get rid of this problem?
37
38 I’ve only ever seen this error when I’ve got PORTAGE_TMPDIR on NFS. If this is indeed the case (you’d have one or more .nfsXXX files left over in your PORTAGE_TMPDIR, /home/abr/gentoo/var/tmp in your case), you may be able to work around it by setting PORTAGE_TMPDIR to something non-networked in etc/portage/make.conf, e.g. PORTAGE_TMPDIR=/tmp.
39
40 I’m guessing this due to a race in the code, but I’ve never actually tried to sort it out.
41
42 // Johan

Replies

Subject Author
Re: [gentoo-alt] Problem installing Gentoo Prefix Anders Bo Rasmussen <abr@×××××××.com>