On 1/20/2022 16:32, Rich Freeman wrote:
> On Thu, Jan 20, 2022 at 4:10 PM Piotr Karbowski <slashbe...@gentoo.org> wrote:
>>
>> Ideally we'd have some way to mark binary packages with new EAPI and
>> have FEATURES flag like 'prefer-binary' and go with -bin in case there's
>> || ( ) dependencies list, regardless of the original order in virtual.
>> This way everyone could be happy and not choose one workflow over another.
> 
> Ideally we'd just have a repository of binary builds for everything
> with default USE flags for a few profiles, and users could choose to
> configure portage to just download the binary package if the flags
> match, and of course this could be overridden per-package.  Then there
> would be no need for -bin anything.  We have to maintain half of that
> for the stage builds anyway.
> 
[snip]

I've learned from running FreeBSD on some of my network equipment that this
is the path they take.  They have flags called USES on their Ports system,
and for binary packages, defaults are selected and used for building binary
packages.  In a handful of cases, such as mtr, they'll offer both an
X11-enabled version as well as a non-X11 version of the binpkg.  For all
other cases, it's fairly straight forward to build a few packages yourself
via Ports with your own USES selections.  E.g., I don't need python support
in bind-tools, so I build that one on my appliances myself to reduce the
required dependencies that need to be installed.

-- 
Joshua Kinard
Gentoo/MIPS
ku...@gentoo.org
rsa6144/5C63F4E3F5C6C943 2015-04-27
177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943

"The past tempts us, the present confuses us, the future frightens us.  And
our lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic

Reply via email to