Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 35 |
Nodes: | 6 (0 / 6) |
Uptime: | 29:24:54 |
Calls: | 322 |
Calls today: | 1 |
Files: | 959 |
Messages: | 81,834 |
Posted today: | 3 |
I recently converted a fully locally *slowly* built machine to a mixed prebuilt/local build
Of the 1857 packages on this machine, 1056 are now using prebuilt
packages and the others are local builds
USE flags and ~amd64 prevent use of prebuilt packages
But I adjusted USE flags until dev-qt/qtwebengine:6 found a prebuilt package!
And I switched manually to www-client/firefox-bin and dev-lang/rust-bin
Greetings,
I was delighted to see Gentoo's venture into prebuilt packages, having two small machines here. However, experience has rubbed some of the shine off.
Any time I update the system, if there's no package with the right USE flags,
or even no package at all, I've built from source in the traditional way. Later, on running 'eclean-pkg --deep --package-names', I get a load of invalid-package warnings. I just assumed that was harmless.
More serious, I'm sure, is the mess I'm getting into with 'emerge -k' and/or 'emerge -K'. It became so bad that I tried reinstalling from scratch today. I
couldn't make it work at all - at one stage I was told to emerge @preserved- rebuild, whereupon it insisted on installing the nouveau drivers. Preposterous.
Can portage not operate a mixed prebuilt and home-grown system?
emerge --getbinpkg is *already* a mixed prebuilt and home-grown system.
And emerge --getbinpkgonly is a modification to getbinpkg that says you
don't want a mixed system, you want exclusively prebuilt. Using the
*only variant is a personal choice you aren't obligated to make.
You haven't actually provided details about why you think there's a
problem though. You have said:
- if there are no packages available for your configuration, you have
"built from source in the traditional way", which emerge already does
*automatically* unless you explicitly tell it not to. Should I be
concluding from here that you first tried the *only variant, then when
that failed you disabled fetching binary packages altogether in a fit
of frustration?
8
If I'm reading that right, anyone who has either hardware acceleration or en- GB localisation set has to compile it himself. I can switch off the hwaccel but
I'm not willing to use the US variant of English.
You haven't actually provided details about why you think there's a
problem though. You have said:
- if there are no packages available for your configuration, you have
"built from source in the traditional way", which emerge already does
*automatically* unless you explicitly tell it not to. Should I be
concluding from here that you first tried the *only variant, then when
that failed you disabled fetching binary packages altogether in a fit
of frustration?
The problem seems to be that portage knows when a requested prebuilt package exists at gentoo.org, but over here the local mirrors take time to catch up. Perhaps I'm just causing trouble by trying to work around that latency myself.
I've just tried using distfiles.gentoo.org instead, and it looks promising.
On 2/11/25 12:06 PM, Peter Humphrey wrote:
If I'm reading that right, anyone who has either hardware acceleration or en- GB localisation set has to compile it himself. I can switch off the hwaccel but I'm not willing to use the US variant of English.
Ok yeah that is a nasty problem unfortunately. Maybe this should use the
same split design that libreoffice does, where libreoffice depends on libreoffice-l10n and the latter can be freely rebuilt and only installs
some small static files.
Did you try submitting a bug report?
8
The index of packages comes from the same website as the package files themselves, so in theory they should always be consistent with each
other. https://bugs.gentoo.org/936288 may be relevant.
If you aren't dealing with a broken mirror (bytemark was outright
dropping some directories via rsync!) then it's just a matter of time.
The binhost starts up at around 5am each day, runs for a bit, and
publishes all packages for the day. I usually sync around noon. More
details at
https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart#I_used_to_have_a_ binary_package_but_not_anymore.2C_what_happened.3F
If you aren't dealing with a broken mirror (bytemark was outright
dropping some directories via rsync!) then it's just a matter of time.
The binhost starts up at around 5am each day, runs for a bit, and
publishes all packages for the day. I usually sync around noon. More
details at
https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart#I_used_to_have_a_ >> binary_package_but_not_anymore.2C_what_happened.3F
I'm sure that works for you, but I'd have to wait until the afternoon to use the same approach. ;-(
I think Firefox is currently a special case, because there's also www-client/firefox-bin which obviously is precompiled.
So prebuilt packages probably aren't built for www-client/firefox
There're a few like this, compiled by Gentoo :
app-office/libreoffice-bin
dev-lang/rust-bin
mail-client/thunderbird-bin
I found about 200 packages ending with "-bin", I didn't check further
if non-bin packages are available and then if prebuilt packages for
them exist, but it seems logical to me to not compile twice.
However if you want the binary version, you have to switch manually,
because emerge sees them as different packages.