🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.user
Article #3

Re: [gentoo-user] www-client/chromium masking and removal

#3
From: Philipp Ludwig
Date: Fri, 09 Oct 2026 10:40
214 lines
11118 bytes
Thanks to you and to all the other maintainers for your hard work.
With my PCs, just compiling chromium once has always taken several 
hours.
Just imagining making one change in the ebuild, waiting again to 
compile,
fixing a small thing, compiling again ... I believe chromium releases
come faster than one person alone can do this.

Enjoy a nice chromium-free weekend!

Philipp

Am 2026-10-09 11:48, schrieb Matt Jolly:
> Hi all,
> 
> I've been absent for a bit due to personal and work circumstances, so
> sorry for the delay in any 'official' statement.
> 
> The TL;DR is that maintaining Chromium each week can take upwards of 
> six
> hours, counting only compilation of the three channels on a ramdisk 
> with
> a fast PC (16c32t) and an absurd amount of RAM. That estimate goes up
> for arm64 builds which can take more than 12 hours on my fastest
> hardware. Support for ppc64 has been spotty for years at best, and I've
> never succeeded in getting a proper Gentoo VM or prefix going on the
> hardware that I have access to (mostly as it impacts the fewest users
> and my available time is limited).
> 
> The longer version: maintaining Chromium really does need three 
> channels
> if you want to keep up, especially since September 2026 when the 
> release
> cycle was shortened to fortnightly. There may be value in the Chromium
> LTSC releases, but that involves bigger jumps between versions, and 
> I've
> found the incremental milestone releases to be challenging enough
> personally.
> 
> The main issue is that Chromium chews through maintainers. It's a
> commitment to volunteer at least a business day's worth of your free
> time each week when you include rebasing patches, cherry-picking fixes,
> iterating on `ebuild ... clean compile`, plus trying to identify and 
> fix
> any new bugs, working out how much you violate Gentoo policy by not
> unbundling more of the browser, spending time on automation to save 
> time
> and mistakes later, etc. There's immense pressure to keep builds up-to-
> date, especially in the age of hundreds of weekly browser CVEs.
> 
> For anyone that wants to pick this up in a form that we'd consider
> merging into ::gentoo, the current roadblock (M152) is that Rust
> bindings are now required to build Chromium. No, carrying reverts long
> term is not an option; the maintenance burden is just going to increase
> as a result - trust me. There is a solution, but it comes with its own
> trade-offs, and I sunk about a day into this while building on the
> shoulders of giants and still couldn't get it to 100% (thanks lnl!):
> 
> * Teaching Rust ebuilds how to fetch components for both bin and source
> (we need rustc-dev to build against Rust internals) - this is done and
> I'll probably push it to ::gentoo after some tidy-up because it's
> generally useful as a template for additional Rust components.
> * Pinning Chromium to a specific older Rust and carrying additional
> patches downstream.
> * Possibly introducing an llvm-r2 style rust_slot_x USE that can be 
> used
> to select a Rust slot that matches a new build tool, specifically for
> Chromium (though admittedly most of the Rust eclass came from 
> Chromium's
> needs, so there's a history of improving the wider ecosystem to make
> Chromium maintenance better).
> 
> The actual mechanics of this replacement involve mutilating a symlinked
> Rust sysroot until GN will accept it, regenerating the Rust GN files
> with `gnrt` (a completely new package we'd have to maintain just for
> Chromium), and then patching things that didn't exist in the earlier
> Rust, so it's not particularly straightforward.
> 
> My thanks to the people who made keeping Chromium going in Gentoo for
> this long possible, and apologies if I've missed anyone.
> 
> * A long list of Gentoo Chromium maintainers, contributors, and 
> everyone
> who has cared enough to submit or comment on a bug.
> * Maintainers of other distros who have provided advice, patches, and a
> shoulder to cry on.
> * And in particular to Sam, Lauren (lnl), and Daniel (iskunk) for their
> help and support.
> 
> Finally, a pre-emptive FAQ:
> 
> * Is there still value in Chromium ebuilds?
> 
> In my opinion, yes; absolutely. If we ever want to handle Electron
> properly, the ebuilds will need to build off Chromium work.
> 
> Work on an ebuild as complex as Chromium is a great experience: it
> touches on pretty much everything you'll find in an ebuild, and 
> provides
> some interesting opportunities for doing things that wouldn't make 
> sense
> elsewhere in ::gentoo. I've legitimately enjoyed working on some of the
> technical / automation solutions that I've come up with. As mentioned
> above, Chromium has had benefits to the wider Gentoo ecosystem through
> needing to solve problems that nobody else was dealing with regularly,
> so in that respect I'm sorry to see it go.
> 
> * Is Chromium gone forever?
> 
> There isn't an insurmountable technical issue. The truth is that the
> Chromium project needs multiple maintainers to be sustainable, with a
> reasonably broad set of skills:
> 
> * C
> * C++
> * Rust
> * Go
> * JS/TS
> 
> That's not necessarily a deal-breaker - you don't need to be an expert
> to be able to read and interpret code, and a lot of the patches are
> either trivial compile-time fixes, cherry-picks, or easily rebased. It
> can be a great way of getting exposure to things you haven't previously
> looked at if you're willing to dedicate the time; however, there are
> also a huge number of NIH Google tools that you'll develop skills for
> and never be able to use anywhere else - you have been warned.
> 
> The Gentoo Chromium project isn't going away - I'll be working to keep
> the binary ebuilds up-to-date and even have time to look at 
> improvements
> (like Opera for arm64), so if a few dedicated people step up I'd be
> willing to proxy and review commits and provide advice.
> 
> * If there's no insurmountable issue, why can't we just update the 
> ebuild?
> 
> As outlined above, the sustainable solution requires additional work to
> be ready. After several discussions it was decided that we were better
> off masking Chromium for removal rather than maintaining it on life
> support in hopes that I'd have the time and availability to fix it
> properly. We'd still welcome volunteers who wanted to maintain Chromium
> longer-term (and were willing to put in the effort to find long-term
> solutions), but I'd want to see at least three people looking after it
> personally. History has shown that one maintainer isn't working, and
> we've had the release cycle shorten twice since I started maintaining
> the package in 2023; it was bad then, and it's worse now.
> 
> * Why can't we just use the Google toolchain to avoid this?
> 
> Technically we could, but that would restrict the ebuild to amd64 only,
> as upstream cross-compiles for other architectures. We'd lose arm64,
> ppc64, and the RISC-V overlay - better to just rip the band-aid off now
> as it doesn't materially make the situation better (and we've had 
> issues
> with upstream not generating the tarballs for weeks at a time).
> 
> Additionally, this breaks distcc which a small, but dedicated segment 
> of
> the Gentoo Chromium userbase still use for Chromium builds, and it's
> questionable as to whether Gentoo users would even want to use a binary
> toolchain (ref: the outcry when I made the dev-lang/rust bootstrap
> dependency explicit!), and if we're trusting upstream binaries 
> _anyway_,
> Google Chrome is right there and comes with free PGO.
> 
> * Why isn't there a binary version?
> 
> Go ask upstream. The CI infrastructure exists; you might be able to
> convince them to provide release builds. The Chromium ebuilds were
> binpkg ready, but Portage doesn't currently support building it due to
> the way RESTRICT=bindist works - there are several proposals to fix 
> this
> currently.
> 
> * What should I use instead of Chromium?
> 
> You have a few options within ::gentoo:
> 
> * www-client/google-chrome variants will provide the most similar
> experience.
> * Other Chromium-based browsers:
>    www-client/microsoft-edge
>    www-client/opera variants
>    www-client/vivaldi
> * qtwebengine-based browsers (use Chromium's engine):
>    kde-apps/konqueror
>    www-client/falkon
>    www-client/qutebrowser
> * Other browsers:
>    www-client/firefox and www-client/firefox-bin
>    www-client/seamonkey
> 
> Additionally, the ungoogled variant exists in in the PF4Public
> repository, and there are several others that contain Chromium-related
> ebuilds.
> 
> * What happens if I keep using Chromium after it's been removed?
> 
> There are already hundreds of outstanding CVEs. Don't, just... don't.
> 
> * Can I get my favourite Chromium-based browser added to ::gentoo?
> 
> Yes! Well, maybe. Reach out on IRC and I'll outline what I need to make
> that maintainable long-term, though the short version is that we need a
> way to map CVEs for security bug automation, and a reliable way to
> extract the Chromium version from the binary package, changelogs, etc.
> 
> Thanks for your understanding, and for all of the testing and bug
> reports that have been submitted through the years, as well as the
> appreciation that the community has shown.
> 
> Cheers,
> 
> Matt
Technical Details
Message-ID: <NMgb7-4rGc-15@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NMfyp-4rfS-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Philipp Ludwig <gentoo@philippludwig.net>
Newsgroups: linux.gentoo.user
Subject: Re: [gentoo-user] www-client/chromium masking and removal
Date: Fri, 09 Oct 2026 12:40:01 +0200
Message-ID: <NMgb7-4rGc-15@gated-at.bofh.it>
References: <NMfyp-4rfS-3@gated-at.bofh.it>
X-Spam-Flag: NO
X-Spam-Score: -2.901
Authentication-Results: mx2f65;
        spf=pass (sender IP is 46.38.249.153) smtp.mailfrom=gentoo@philippludwig.net smtp.helo=webmail01.netcup.net
Received-Spf: pass (mx2f65: connection is authenticated)
List-ID: Gentoo Linux mail <gentoo-user.gentoo.org>
Reply-To: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
X-Sender: gentoo@philippludwig.net
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
X-Ppp-Message-ID: <179154204221.261807.12277126018271228590@mx2f65.netcup.net>
X-Nc-Cid: bfZcXyO0CCTt3vQURip6IqYuJG6jrcxDhSZ3yPdUbi8GOU2t5QU=
Approved: robomod@news.nic.it
Lines: 214
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 09 Oct 2026 12:34:01 +0200
X-Original-Message-ID: <2abc99d89d6c66e453773c4ce1f35232@philippludwig.net>
X-Original-References: <63ca65e7-59ad-4fe4-9fa0-9ce971f78fc1@gentoo.org>