public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
Cc: gentoo-pms@lists.gentoo.org
Subject: Re: [gentoo-pms] Variancy?
Date: Sun, 5 Dec 2010 23:13:30 +0100	[thread overview]
Message-ID: <19708.3722.816939.875731@a1i15.kph.uni-mainz.de> (raw)
In-Reply-To: <20101205220627.64452d13@snowcone>

>>>>> On Sun, 5 Dec 2010, Ciaran McCreesh wrote:

> That whole section was written before Portage got parallel jobs
> support, and was based around what ebuilds were actually doing.
> Portage's parallel jobs break those rules, and this has caused all
> kinds of weirdness.

> The implications are *supposed* to be that if you want to do parallel
> builds, you build binary packages in parallel (being sure to only run
> one lot of pkg_ functions at once), and then install those binary
> packages (the usual way, so rerunning pkg_setup) serially.

> Instead, Portage just installs directly, and has a whole load of
> convoluted hacks to try to avoid breakage. These don't actually work,
> but the bugs are hidden often enough that you can often go for quite a
> long time before you end up screwing your system up... In particular,
> Portage assumes that if a and b aren't in any way dependent upon each
> other, then they're not going to do anything to / that's going to break
> the other one, which isn't true.

Thank you for your quick response, but this doesn't answer my
questions:

>> Why is the second item needed? Changes to DISTDIR don't alter other
>> packages, so aren't they covered by the first item anyway? Or do I
>> misunderstand the first item's first sentence?

>> Which of the following examples count as "variancy"?
>>  - Calling enewuser() in pkg_setup,
>>  - Removing orphan files in pkg_setup,
>>  - Calling pkg_pretend.

Ulrich



  reply	other threads:[~2010-12-05 22:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-05 21:55 [gentoo-pms] Variancy? Ulrich Mueller
2010-12-05 22:06 ` Ciaran McCreesh
2010-12-05 22:13   ` Ulrich Mueller [this message]
2010-12-05 22:21     ` Ciaran McCreesh
2010-12-05 22:49       ` Ulrich Mueller
2010-12-05 22:53         ` Ciaran McCreesh

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=19708.3722.816939.875731@a1i15.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=ciaran.mccreesh@googlemail.com \
    --cc=gentoo-pms@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