[Bug 286181] www/chromium: Outdated port message

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 03 May 2025 16:12:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286181

--- Comment #3 from Gunther Nikl <gnikl@justmail.de> ---
Created attachment 260121
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=260121&action=edit
Exclude unused parts during extract

(In reply to Oliver Fromme from comment #0)
> I just installed Chromium 135.0.7049.95 from ports (latest)
> [...]
> My first attempt failed because I ran out of disk space -- not the actual
> space in GB, but inodes.
This report prompted me to check a local Chromium build myself. I used the
slightly older version 132 in my build.

The first surprise was the size of the source archive, for which was not enough
space on the system partition. The source archive grew considerably since v91:
 91: 906M
 92: 914M
 94: 992M
106: 1.5G
116: 1.6G
117: 2.9G
132: 6.4G

The extracted source for v132 require:
21G (tmpfs)
22G (ufs)

Patched sources for ungoogled-chromium:
7.4G
The patch step for ungoogled-chromium removes some big (and with FreeBSD
unused) parts, like llvm, rust-src or debian sysroots. The attached patch omits
these parts during extraction. Chromecast sources are retained since these are
used with normal Chromium.

The build files created in the configuration step are enormous
943M (out/Release)

With the unused parts removed building Chromium in a tmpfs is still possible if
sufficient memory is available.

-- 
You are receiving this mail because:
You are the assignee for the bug.