1 |
Åsmund Grammeltvedt wrote: |
2 |
> On Wednesday 03 October 2007 14:00:58 Andrew Gaffney wrote: |
3 |
>> Åsmund Grammeltvedt wrote: |
4 |
>>> On Wednesday 19 September 2007 18:24:33 Chris Gianelloni wrote: |
5 |
>>>> On Wed, 2007-09-19 at 17:23 +0200, Ã…smund Grammeltvedt wrote: |
6 |
>>>>>> However, it may just create it with USE=build. Check the |
7 |
>>>>>> vdb in your stage1 to see what package owns the /root directory. |
8 |
>>>>> ccache, apparently. Baselayout _should_ also create /root, but |
9 |
>>>>> something seems to go wrong along the way. I guess I should rebuild and |
10 |
>>>>> check the logs. |
11 |
>>>> Please do. If you find it to be an issue with baselayout, please file a |
12 |
>>>> bug so we can get it fixed before we start our next release. |
13 |
>>> Hm, I haven't had time to actually check if this happens, but the current |
14 |
>>> theory is this: |
15 |
>>> |
16 |
>>> Baselayout creates /root, but avoids becoming the owner by |
17 |
>>> generating /usr/share/baselayout/mkdirs.sh and then running it in |
18 |
>>> pkg_preinst. |
19 |
>>> |
20 |
>>> When ccache is unmerged at the end of the stage build, it removes /root, |
21 |
>>> since its the sole owner. |
22 |
>>> |
23 |
>>> Does that seem plausible? |
24 |
>> Sure, that explanation is very plausible. Since ccache isn't enabled by |
25 |
>> default and most of us don't use it for release building, we never would |
26 |
>> have seen it. It may even be the reason that wolf31o2 recommends that it |
27 |
>> not be used. |
28 |
> |
29 |
> In that case, may I suggest the following? :) |
30 |
> |
31 |
> -# ccache = enables build time ccache support (highly recommended) |
32 |
> +# ccache = enables build time ccache support (not recommended) |
33 |
|
34 |
I just tried to reproduce it with a stage3-amd64-2007.0, and I can't. The only |
35 |
reason is that there is a .keep file in /root, which was put there by |
36 |
baselayout's mkdirs.sh script. Unless something has changed with baselayout in |
37 |
the tree since the 2007.0 snapshot, your problem lies elsewhere. Looking at the |
38 |
current stable in the tree (1.12.9-r2), it still does 'kdir /root' |
39 |
unconditionally. Are you using baselayout-2 or something? |
40 |
|
41 |
-- |
42 |
Andrew Gaffney http://dev.gentoo.org/~agaffney/ |
43 |
Gentoo Linux Developer Catalyst/Installer + x86 release coordinator |
44 |
-- |
45 |
gentoo-catalyst@g.o mailing list |