On Wednesday 03 October 2007 14:00:58 Andrew Gaffney wrote:
> Åsmund Grammeltvedt wrote:
> > On Wednesday 19 September 2007 18:24:33 Chris Gianelloni wrote:
> >> On Wed, 2007-09-19 at 17:23 +0200, Ã…smund Grammeltvedt wrote:
> >>>> However, it may just create it with USE=build. Check the
> >>>> vdb in your stage1 to see what package owns the /root directory.
> >>>
> >>> ccache, apparently. Baselayout _should_ also create /root, but
> >>> something seems to go wrong along the way. I guess I should rebuild and
> >>> check the logs.
> >>
> >> Please do.  If you find it to be an issue with baselayout, please file a
> >> bug so we can get it fixed before we start our next release.
> >
> > Hm, I haven't had time to actually check if this happens, but the current
> > theory is this:
> >
> > Baselayout creates /root, but avoids becoming the owner by
> > generating /usr/share/baselayout/mkdirs.sh and then running it in
> > pkg_preinst.
> >
> > When ccache is unmerged at the end of the stage build, it removes /root,
> > since its the sole owner.
> >
> > Does that seem plausible?
>
> Sure, that explanation is very plausible. Since ccache isn't enabled by
> default and most of us don't use it for release building, we never would
> have seen it. It may even be the reason that wolf31o2 recommends that it
> not be used.

In that case, may I suggest the following? :)

--- catalyst-2.0.5_pre3.orig/files/catalyst.conf        2007-10-03 
14:23:34.060538959 +0200
+++ catalyst-2.0.5_pre3/files/catalyst.conf     2007-10-03 14:24:07.503755367 
+0200
@@ -31,7 +31,7 @@
 #      the -a option to the catalyst cmdline.  -p will clear the autoresume 
flags
 #      as well as your pkgcache and kerncache
 #      ( This option is not fully tested, bug reports welcome )
-# ccache = enables build time ccache support (highly recommended)
+# ccache = enables build time ccache support (not recommended)
 # distcc = enable distcc support for building. You have to set distcc_hosts in
 #      your spec file.
 # kerncache = keeps a tbz2 of your built kernel and modules (useful if your

-- 
Åsmund Grammeltvedt
Snap TV

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to