On Mon, Sep 21, 2015 at 08:55:37AM +0200, Alan McKinnon wrote:
> On 21/09/2015 08:41, Bryan Gardiner wrote:
> > On Mon, Sep 21, 2015 at 07:29:39AM +0200, J. Roeleveld wrote:
> >> On 21 September 2015 05:58:20 CEST, Bryan Gardiner <[email protected]> wrote:
> >>> Hi gentoo-users,
> >>>
> >>> I thought I would set FEATURES=keeptemp in make.conf so I would have
> >>> build logs around for reference.  This causes problems with Haskell
> >>> packages, which fail during the second build after setting this,
> >>> because the build's temp/ hasn't been cleaned from the previous build:
> >>>
> >>> <snip>
> >>>
> >>> Am I wrong in expecting ${T} to be wiped at the start of a build,
> >>> regardless of the package, so that this isn't a problem?  I'm not sure
> >>> why you'd want old temp/ state to carry forward to the next build.
> >>>
> >>> - Bryan
> >>
> >> Build logs usually (I didn't change anything for that) end up in
> >> /var/log/portage
> >>
> >> Did you check there?
> > 
> > All I have there is /var/log/portage/elog which is because I
> > explicitly added "save" to PORTAGE_ELOG_SYSTEM.  I want the build.log
> > files, not just the elog output, do you have those in
> > /var/log/portage?
> 
> That's not quite what PORTAGE_ELOG_SYSTEM does. That is for elogs, not
> build logs. You need this:
> 
> PORT_LOGDIR=/var/log/portage

Aha, of course it makes sense that Portage has a proper feature for
this, and that the warning for keeptemp is (perhaps) justified :).
Thanks all for your help, that plus FEATURES="split-log -unmerge-logs"
is perfect.

Cheers,
Bryan

Reply via email to