On 15/11/2024 15:41, Eli Schwartz wrote:
gentoo-sources is not part of the guaranteed package set for the binhost. Any package*may* end up built on the binhost, either as a dependency for another package that stops being a dependency because the other package has changed, or due to the fact that we run a few different build configurations, including choosing a couple packages by lottery each day. Those may be available only for an older version in the ::gentoo tree if they don't get lucky a second time.
Indeed, also why shortly after my response I also added "--usepkg-exclude 'sys-kernel/gentoo-sources virtual/*" to EMERGE_DEFAULT_OPTS, as was recommended by one of the guides anyway :)
I did suspect packages may or may not be built from source anyway depending on the current state of dependencies and what's available on the upstream binhost. This is already the case for about 300 or so packages that I have.
I was mostly interested in the binary builds due to usual suspects that take forever to build. But also out of general curiosity, having previously dabbled a bit into having a local binhost a few years back. I have to admit, the flexibility is pretty sweet.
It is only the default when using --getbinpkg, not when you are instead using --getbinpkgonly.
Ah! Of course, you're right. Should have calibrated my eyes better while reading the man page.
Your CFLAGS are irrelevant here. CFLAGS on the binhost server must be compatible with your local machine, or you will successfully install packages that then abort with SIGILL when you try to run the programs. The reverse is not true -- CFLAGS on your local machine just need to be compatible with, well, your local machine (where they get installed), not the binhost, where they don't get installed. 🙂 ... Keep your existing CFLAGS that you were using before enabling the binhost. It's a free optimization for any packages that you ended up building from source anyway.
Just what I suspected 🙂 All working perfectly like a charm.Thanks again to everyone for the responses! That, and having kept an eye on some other discussions, the Gentoo community never seizes to positively amaze. Unlike the respective communities of some other... popular distros, that I shall refrain from mentioning.
Cheers, Victor
signature.asc
Description: OpenPGP digital signature