public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Cc: Alan McKinnon <alan.mckinnon@gmail.com>
Subject: Re: [gentoo-user] initial compile time
Date: Mon, 28 Aug 2017 14:55:31 -0400	[thread overview]
Message-ID: <CAGfcS_nsDnBiF+hnzcqdhZ91vSqgOjSB5gHrJwHxuWgCPc=z0A@mail.gmail.com> (raw)
In-Reply-To: <87inh71qtx.fsf@nyu.edu>

On Mon, Aug 28, 2017 at 2:37 PM, allan gottlieb <gottlieb@nyu.edu> wrote:
> On Mon, Aug 28 2017, Alan McKinnon wrote:
>
>> I forgot to mention there are things that /significantly/ improve
>> compile times. Top of the list is /var/tmp/portage on tmpfs.
>
> Does this mean that, if the build fails, you build again not on tmpfs so
> as to capture build.log?
>

Just copy the build log off the tmpfs.  Portage doesn't remove it
automatically.  Unless you reboot the system before inspecting it the
file will still be there unless you have a really overzealous
tmpreaper.

(Or if you're doing the build in a systemd unit.  I actually build
binary packages overnight from a unit and was always puzzled about why
the build was gone from /var/tmp/portage when I'd inspect errors.
Then I realize the default is for units to have a private /var/tmp -
so it was gone when the unit terminated.  That can of course be
disabled.)



-- 
Rich


  parent reply	other threads:[~2017-08-28 18:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-28 11:41 [gentoo-user] initial compile time mad.scientist.at.large
2017-08-28 16:08 ` Alan McKinnon
2017-08-28 16:47   ` Rich Freeman
2017-08-28 16:48     ` Alan McKinnon
2017-08-28 18:37       ` allan gottlieb
2017-08-28 18:45         ` J. Roeleveld
2017-08-28 20:34           ` mad.scientist.at.large
2017-08-28 18:55         ` Rich Freeman [this message]
2017-08-28 20:31           ` mad.scientist.at.large
2017-08-29  0:18           ` allan gottlieb
2017-08-28 20:20   ` mad.scientist.at.large
2017-08-29  5:50     ` J García
2017-08-29 11:17       ` Rich Freeman
2017-08-29 11:08     ` Alan McKinnon
2017-08-29 16:47       ` Mick
2017-08-29 19:30         ` Dale
2017-08-30 22:05           ` Alan McKinnon
2017-08-30 22:03         ` Alan McKinnon
2017-08-28 16:55 ` John Blinka
2017-08-28 20:09   ` Alan McKinnon
2017-08-28 20:25     ` mad.scientist.at.large

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGfcS_nsDnBiF+hnzcqdhZ91vSqgOjSB5gHrJwHxuWgCPc=z0A@mail.gmail.com' \
    --to=rich0@gentoo.org \
    --cc=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox