Article View: linux.gentoo.dev
Article #5[gentoo-dev] www-client/chromium masking and removal
From: Matt Jolly
Date: Fri, 09 Oct 2026 10:00
Date: Fri, 09 Oct 2026 10:00
184 lines
12957 bytes
12957 bytes
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:
<NMfyp-4rfS-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Matt Jolly <kangie@gentoo.org> Newsgroups: linux.gentoo.dev,linux.gentoo.user Subject: [gentoo-dev] www-client/chromium masking and removal Date: Fri, 09 Oct 2026 12:00:01 +0200 Message-ID: <NMfyp-4rfS-3@gated-at.bofh.it> X-Original-To: gentoo-dev <gentoo-dev@lists.gentoo.org>, gentoo-user@lists.gentoo.org List-ID: Gentoo Linux mail <gentoo-dev.gentoo.org> Reply-To: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-AU Autocrypt: addr=kangie@gentoo.org; keydata= xsFNBF6BjksBEAC1QaqF3zKOgdunRhkt9nXkdlsL1sriTBk3WSy4De6wYLjiSofGRJY5pAiH EnlD/oW+sxDQ1DQQ3jNW/xlLUKFKYRnWhmkUv7iy0VDFrdj3mZic1pWr5a+sFX9DZNdYxLaa RIVgkstsLbf0ks5EvIqk5d7Ty8B48CgZZL7RXpAP7xrOgmat+JXNovX4djPW7HyNfblcAbzj tsLcQf7/4Q0LfK7wW3MVJmpmNK7dSKKaWgSXY7IICird0tNMF41vuMRJIta0NtIARq+AjCxV 0iEb5odYIbrbamCpzhupJM8M5LPZkbQERIF+OTzGiXhlGVloxlB+vpTzv2oY+fQkLBSSL+NS P2Pv01exA+ezA+5r+KUClA7qUnC8UriwixjJuWfoe03sYRPb91z4nlBKiCP6+jcJpS4+KsgT +//r2PdHBQDC4kVimjWDfbfXoVUhtxbQ3t/Y1vro5WQvOsgNl53hWcuHd1O+zPS1d7x5xj7a otyLJbDwtNDtApHxNYld/w/uj0QpIlz1hj9QX/NthYe6nHYgPVtEmAXjqtdIxrlS6Qx/Gaqf xVhaxtLJVDWqba4GsVA1xlFuQKJ+RTT9OXGhpQNkLPo7rt5FP3C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akm7NGQcwtpHgYaY7G99CRFcNFVCMvsEpJfubEl1gJx+tnQZ8/YX0s zhsnTGtKrEP9LZSDKQ3/FFROPLSsvJQH3aD7oHppGg5x93URqDOXWMI3Jrs++0kFk8vJqAn4 PTpgg5L9eS712g/nmbPaAFC16d6bsBSSLa6s08hV3bgtS8+yiWZpivCDTKPsdSIPXc9GNXzO E5sHHfdG082nS740iDoDzo552KzrhKCA4Mn7XgNdbtddKTG/TDfNvrr3jMlMMjJl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: robomod@news.nic.it Lines: 184 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 9 Oct 2026 19:48:53 +1000 X-Original-Message-ID: <63ca65e7-59ad-4fe4-9fa0-9ce971f78fc1@gentoo.org>