Gentoo Archives: gentoo-dev

From: John Davis <zhen@g.o>
To: Chris Bainbridge <C.J.Bainbridge@×××××.uk>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] catalyst stage2 livecd error
Date: Tue, 22 Jun 2004 19:59:39
Message-Id: 40D88F92.6030401@gentoo.org
In Reply to: [gentoo-dev] catalyst stage2 livecd error by Chris Bainbridge
1 Chris Bainbridge wrote:
2 > Hi, I'm trying to build a livecd stage2. The reference spec file at
3 > http://www.gentoo.org/proj/en/releng/docs/livecd-stage2_template.spec.txt
4 > does:
5 >
6 > livecd/empty:
7 > /var/cache
8 > /var/db
9 > /var/empty
10 > /var/cache
11 > /var/lock
12 > /tmp
13 > /usr/portage
14 >
15 > catalyst runs fine until it gets up to the /usr/portage bit, then says:
16 >
17 > Emptying directory /var/cache
18 > Emptying directory /var/lock
19 > Emptying directory /tmp
20 > Emptying directory /usr/portage
21 > Traceback (most recent call last):
22 > File "/usr/bin/catalyst", line 117, in ?
23 > mytarget.run()
24 > File "/usr/lib/catalyst/modules/generic_stage_target.py", line 351, in run
25 > self.clean()
26 > File "/usr/lib/catalyst/modules/livecd_stage2_target.py", line 79, in clean
27 > generic_stage_target.clean(self)
28 > File "/usr/lib/catalyst/modules/generic_stage_target.py", line 268, in clean
29 > shutil.rmtree(myemp)
30 > File "/usr/lib/python2.3/shutil.py", line 140, in rmtree
31 > raise exc[0], (exc[1][0], exc[1][1] + ' removing '+arg)
32 > OSError: [Errno 16] Device or resource busy
33 > removing /var/tmp/catalyst/tmp/default/livecd-stage2-pentium3-20040604/usr/portage/packages
34 >
35 > It appears that catalyst has already mounted this directory:
36 >
37 > # mount
38 > /var/tmp/catalyst/packages/default/livecd-stage2-pentium3-20040604
39 > on /var/tmp/catalyst/tmp/default/livecd-stage2-pentium3-20040604/usr/portage/packages
40 > type none (rw,bind)
41 >
42 > Has anybody else seen this? Shouldn't catalyst be unmounting anything it
43 > mounts or is there something wrong with the spec file?
44 >
45 > --
46 > gentoo-dev@g.o mailing list
47 >
48
49 Are you by chance using distcc in your Catalyst build?
50
51 Cheers,
52 --
53 John Davis
54 Gentoo Linux Developer
55 <http://dev.gentoo.org/~zhen>
56
57 ----
58 GnuPG Public Key: <http://dev.gentoo.org/~zhen/zhen_pub.asc>
59 Fingerprint: 4F9E 41F6 D072 5C1A 636C 2D46 B92C 4823 E281 41BB
60
61 --
62 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] catalyst stage2 livecd error Chris Bainbridge <C.J.Bainbridge@×××××.uk>