From: Zac Medico <zmedico@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] [RFC] New file layout for PKGDIR and binhosts
Date: Sun, 28 Dec 2014 19:53:06 -0800 [thread overview]
Message-ID: <54A0D022.30701@gentoo.org> (raw)
In-Reply-To: <549EC172.80004@gentoo.org>
On 12/27/2014 06:25 AM, Rick "Zero_Chaos" Farina wrote:
> On 12/23/14 20:51, Zac Medico wrote:
>> Hi,
>>
>> As discussed in bug 150031 [1], it would be useful if PKGDIR could
>> accommodate multiple binary packages built from the same source ebuild.
>> Use cases for preserving multiple builds typically involve supporting
>> multiple clients (with partially compatible configurations) from a
>> single unified binhost. In this context, some of the reasons to retain
>> multiple builds are:
>>
>> * Different USE flag combinations enabled (--newuse/--binpkg-respect-use
>> needed)
>>
>> * Different versions of installed dependencies (EAPI 5 slot := operators
>> needed)
>>
>> * Different repositories/overlays, with variance in the time of the last
>> sync (--changed-deps/--binpkg-changed-deps needed if dependencies change
>> due to eclass changes or ebuild modifications without revbump)
>
> I'm not saying don't take this into account, but in reality, this isn't
> a problem we should have to deal with.
Who is we? How do you know that whatever practices you use will also be
utilized by everyone else out there?
> if users want to rely on binpkgs
> they should be syncing to the same rev the binhost used to generate
> them. it's a reasonably trivial task to do this, even as simple as
> daily webrsync or something.
The --changed-deps/--binpkg-changed-deps are also useful for the same
reason that emerge --dynamic-deps is enabled by default:
* On the binhost server side, --changed-deps is an easy way to rebuild
packages so the resulting binary packages have the latest deps, which
may be necessary in order for the dependencies to be *satisfiable*.
* On the binhost client side, --binpkg-changed-deps can be used to
reject binary packages that haven't been rebuilt with the latest
dependency specifications, avoiding inconsistent dependencies that may
not be *satisfiable*.
Sure, the --binpkg-changed-deps thing may not be needed for whatever
limited use cases you are thinking of, but lets not force the same
limits on everyone else.
> To handle users with a different class or
> ebuild version will prove difficult I believe, and worse, it will make
> possibly dozens of extra binpkg revs for basically no reason.
As discussed the above, these "extra binpkg revs" may be needed in order
for the dependencies to be *satisfiable*. The cost of rebuilding
packages can be considered negligible in comparison to the time that
people would otherwise have to spend in order to manually resolve issues
involving dependencies that are unsatisfiable.
--
Thanks,
Zac
prev parent reply other threads:[~2014-12-29 3:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-24 1:51 [gentoo-portage-dev] [RFC] New file layout for PKGDIR and binhosts Zac Medico
2014-12-24 5:16 ` Matthew Thode
2014-12-24 8:13 ` Zac Medico
2014-12-24 12:01 ` vivo75
2014-12-24 16:07 ` Zac Medico
2014-12-24 18:36 ` vivo75
2014-12-24 19:17 ` Zac Medico
2014-12-25 10:03 ` [gentoo-portage-dev] " Duncan
2014-12-25 11:04 ` Zac Medico
2014-12-26 5:20 ` Duncan
2015-01-07 5:32 ` Brian Dolbec
2014-12-27 14:25 ` [gentoo-portage-dev] " Rick "Zero_Chaos" Farina
2014-12-29 3:53 ` Zac Medico [this message]
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=54A0D022.30701@gentoo.org \
--to=zmedico@gentoo.org \
--cc=gentoo-portage-dev@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