Comments on: Gentoo Linux, Now A Bit Less For The 1337 https://hackaday.com/2023/12/29/gentoo-linux-now-a-bit-less-for-the-1337/ Fresh hacks every day Wed, 03 Jan 2024 19:54:12 +0000 hourly 1 https://wordpress.org/?v=6.6.2 By: Twisty Plastic https://hackaday.com/2023/12/29/gentoo-linux-now-a-bit-less-for-the-1337/#comment-6714529 Wed, 03 Jan 2024 19:54:12 +0000 https://hackaday.com/?p=653654#comment-6714529 Ok. Why?

Is there going to be a binary for every use-flag combo?
If not then what’s the point? It would be a lot like Debian but not Debian. And Debian already exists.

There has long been binary packages for the really-long-building stuff. That makes sense. But binary for the whole thing?

Actually, I have had ideas about a binary Gentoo. But I am pretty sure they are not what is being talked about.

I was imagining a repo-tree where you can point one machine at one or more others to serve as it’s repo. They could even in turn point to others so long as all are trusted. Gentoo’s source repos would be at the bottom. Anyway, when you go to emerge something it would check whatever machines it is configured to talk to and see if they have the package already emerged AND what the use flags were. It would then download the binaries only if the use flags matched. Otherwise those computers would check whoever they talked to on down the tree.

I think it is already possible to set up a build server that creates binaries for some number of other devices. The new thing was having it check the use flags, go down the tree looking for ones that match and automatically fall back to source if none do.

Obviously trust is huge with this. You only want to include people you know.

]]>
By: DerAxeman https://hackaday.com/2023/12/29/gentoo-linux-now-a-bit-less-for-the-1337/#comment-6712984 Sun, 31 Dec 2023 03:19:55 +0000 https://hackaday.com/?p=653654#comment-6712984 In reply to Dog Carter.

There are differences in cpu architecture that targeted binary code shows gains. This is where Gentoo shined. In compute intensive applications is where this shows the most. Things like CFD or eloctromagnetic simulation can show gains of over 5%.

]]>
By: jsled https://hackaday.com/2023/12/29/gentoo-linux-now-a-bit-less-for-the-1337/#comment-6712899 Sat, 30 Dec 2023 21:10:01 +0000 https://hackaday.com/?p=653654#comment-6712899 In reply to Dog Carter.

No, I’ve never thought there’s a performance reason to do so, though the recent popularity of PGO might change that…

The value is in the USE flags, that allow whole features of multiple packages to be conditionally en/dis-abled across the system. Don’t want anything to include alsa support? `-alsa` in /etc/portage/make.conf or package.use. Similarly kde, qt, jack, gtk, gnome, cups, djvu, ftp, ocaml (bindings), … the list goes on. 392 use flags that are “system wide”, and a bunch of others that are package-specific or only shared across a few packages and haven’t matriculated.

Also, package slotting is great.

And deep-dependency updates and the requisite rebuilds all the way up the stack if something bad happens.

The idea that building from source is about `-O7 -finsane` gcc flags is really not where it’s at, no matter how much the fanboys may beleat.

]]>
By: EBo https://hackaday.com/2023/12/29/gentoo-linux-now-a-bit-less-for-the-1337/#comment-6712876 Sat, 30 Dec 2023 20:00:16 +0000 https://hackaday.com/?p=653654#comment-6712876 In reply to Dog Carter.

I ran Gentoo as my primary OS from Dec 2001 through about a year ago when I got a new System-76 laptop running Pop!_OS (an Ubuntu spin off). The only reason I switched is that the laptop came with Linux pre-installed and I thought I would try it…

At this point I am having *so many* issues with the window manager crashing that I am *seriously* looking at ditching Pop!_OS and replacing it back with Gentoo. The reason I run Gentoo is not only to squeeze performance from old hardware, but to also give me explicit control over the dependency chain. It is trivial for me to unmask, or mask, individual ebuilds and have explicit version control. Writing my own portage ebuilds, I can also patch source code to fix problems I run into, or install projects not in the main tree (including the stuff I write myself). It also gives me more information and control over when to update critical pieces of the OS and my development tool chains, so that I can choose to update the compiler from gcc-12.3 to gcc-13.0 (or wait until 13.1 comes out, and if I do not like it, switch back by masking…)

I will also add that I have found setting up Gentoo on a new machine a bit of a pain, but once it is set up I can sync my portage trees daily, and keep everything up to date for several years at a time. I have also been able to update the system live, and only need to reboot the servers when needing to update the OS, or a few key services.

So I am a long time Gentoo guy, and miss not having it now…

]]>
By: echodelta https://hackaday.com/2023/12/29/gentoo-linux-now-a-bit-less-for-the-1337/#comment-6712865 Sat, 30 Dec 2023 19:04:49 +0000 https://hackaday.com/?p=653654#comment-6712865 Qualified reader here as to the second paragraph but I prefer Ubuntustudio ready to drive. I don’t have to look under the hood and figure things out. But! Certain things in the later versions have me needing to don a cape and become superuser to just to change the default setting of screen time on my own computer.

Debbie and Ian probably had their best time here in town whilst he cranked out the code before they went west.

]]>
By: Augu5te https://hackaday.com/2023/12/29/gentoo-linux-now-a-bit-less-for-the-1337/#comment-6712848 Sat, 30 Dec 2023 18:20:13 +0000 https://hackaday.com/?p=653654#comment-6712848 In reply to Kryptylomese.

Nan not Debian, it’s NixOS which has the biggest and fresher package list accordingly to Repology (https://repology.org/repositories/graphs). Also IMHO, Nix or Guix are the game changers in distros world these last years…

]]>
By: Feinfinger (M-x butterfly) https://hackaday.com/2023/12/29/gentoo-linux-now-a-bit-less-for-the-1337/#comment-6712836 Sat, 30 Dec 2023 17:25:53 +0000 https://hackaday.com/?p=653654#comment-6712836 In reply to The Commenter Formerly Known As Ren.

I might try “adiabatic” next…

]]>