Re: www/chromium 148.0.7778.96 compile failure on 14.3-RELEASE-p11

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <[email protected]>
On 5/9/26 12:35, Mark Millard wrote:
> On 5/9/26 08:00, Bugs Beastie wrote:
>> May 9, 2026 14:52:53 George Mitchell <[email protected]>:
>>
>>> On 5/9/26 08:47, George Mitchell wrote:
>>>> On 5/8/26 16:08, George Mitchell wrote:
>>>>> On 5/8/26 16:06, George Mitchell wrote:
>>>>>> I wasn't running under script, so I can't find the exact failure.  I
>>>>>> will run it again more under script.  And I'll file a bug.   -- George
>>>>> World version is 14.3-RELEASE-p13, and the kernel will be 14.3-RELEASE-
>>>>> p13 after next reboot (yes, stupid move on my part but that's the
>>>>> situation at the moment).
>>>> Build log available at https://m5p.com/~george/typescript.xz
>>>> There's an unhelpful "FAILED" message at line 54473.  It's not at all
>>>> clear to me exactly what failed.                              -- George
>>> Found this in my system log:
>>>
>>> May  8 19:45:25 sullivan kernel: swap_pager: out of swap space
>>> May  8 19:45:25 sullivan kernel: swp_pager_getswapspace(2): failed
>>> May  8 20:04:10 sullivan kernel: swp_pager_getswapspace(3): failed
>>> May  8 20:04:12 sullivan kernel: swp_pager_getswapspace(13): failed
>>> May  8 20:04:20 sullivan kernel: pid 40641 (clang-22), jid 0, uid 0, was killed: failed to reclaim memory
>>> May  8 20:04:21 sullivan kernel: pid 40645 (clang-22), jid 0, uid 0, was killed: failed to reclaim memory
>>> May  8 20:04:22 sullivan kernel: pid 40643 (clang-22), jid 0, uid 0, was killed: failed to reclaim memory
>>>
>>> But it's hard to believe.  I've never run out of swap space on this
>>> machine before.                                          -- George
>>
>> Hi!
>>
>> From my experience safe level is 64 Gb of virtual space (RAM+SWAP) for the build of (ungoogled-)chromium with 4 build threads (-j4).
> 
> For what assignment of USE_TMPFS= ? tmpfs competes for RAM+SWAP.
> 
> Last that I sampled an example of a USE_TMPFS=all chromium builder in
> poudriere-devel of the time was of chromium-137.0.7151.119:
> 
> Total peak tmpfs: 43.00 GiB (there are multiple tmpfs mounts involved)
> usr/local/ tmpfs:  4.43 GiB
> 
> Those are independent of MAKE_JOBS_NUMBER_LIMIT (or analgous) for
> ALLOW_MAKE_JOBS use. Other builders would have their own tmpfs use over
> the same time.
> 
> As stands, an builder waiting for a jobs to work on holds on to its
> prior tmpfs use for the prior job until it is started or deleted.
> 
> Last that I sampled the Total tmpfs use for chromium builder with
> chromium in TMPFS_BLACKLIST was for: chromium-124.0.6367.60
> (I did not separately also look up usr/local/ back then):
> 
> 8.06 GiB
> 
> Being in TMPFS_BLACKLIST does not eliminate all the tmpfs use by the
> builder.
> 
>>
>> HTH
>>
>>
> 
> 

I'll add to the notes: When -jN for 1<N is in use and USE_TMPFS=all (or
other large tmpfs usage selections) it can be appropriate to list large
tmpfs packages in MUTUALLY_EXCLUSIVE_BUILD_PACKAGES= in a poudriere.conf
file.

Example large-scale USE_TMPFS=all tmpfs usage have included (data not
from recent activity) . . .

TMPFS: 43.00 GiB usr/local/ SIZE: 4.43 GiB chromium-137.0.7151.119
TMPFS: 39.25 GiB usr/local/ SIZE: 2.07 GiB riscv64-rust-bootstrap-1.87.0
TMPFS: 39.11 GiB usr/local/ SIZE: 1.85 GiB powerpc64le-rust-bootstrap-1.87.0
TMPFS: 38.77 GiB usr/local/ SIZE: 1.81 GiB powerpc-rust-bootstrap-1.87.0
TMPFS: 38.74 GiB usr/local/ SIZE: 1.84 GiB powerpc64-rust-bootstrap-1.87.0
TMPFS: 38.61 GiB usr/local/ SIZE: 1.89 GiB aarch64-rust-bootstrap-1.87.0
TMPFS: 37.13 GiB usr/local/ SIZE: 1.74 GiB armv7-rust-bootstrap-1.87.0
TMPFS: 36.61 GiB usr/local/ SIZE: 1.75 GiB i386-rust-bootstrap-1.87.0
TMPFS: 35.93 GiB usr/local/ SIZE: 4.18 GiB electron35-35.6.0
TMPFS: 35.29 GiB usr/local/ SIZE: 0.32 GiB rust-nightly-1.90.0.20250624
TMPFS: 34.01 GiB usr/local/ SIZE: 0.32 GiB rust-1.87.0
TMPFS: 31.48 GiB usr/local/ SIZE: 4.43 GiB iridium-browser-2025.06.137.3
TMPFS: 31.05 GiB usr/local/ SIZE: 1.34 GiB clickhouse-22.1.3.7
TMPFS: 30.84 GiB usr/local/ SIZE: 0.35 GiB gcc-arm-embedded-14.2r1_1
TMPFS: 27.01 GiB usr/local/ SIZE: 1.51 GiB mongodb70-7.0.21_1
TMPFS: 26.35 GiB usr/local/ SIZE: 4.43 GiB ungoogled-chromium-137.0.7151.103
TMPFS: 23.98 GiB usr/local/ SIZE: 1.89 GiB amd64-rust-bootstrap-1.87.0
TMPFS: 22.55 GiB usr/local/ SIZE: 2.53 GiB linux-ai-ml-env-1.0.0
TMPFS: 16.66 GiB usr/local/ SIZE: 2.75 GiB 0ad-0.27.0_9
TMPFS: 15.31 GiB usr/local/ SIZE: 3.48 GiB deno-2.2.9_1
TMPFS: 15.28 GiB usr/local/ SIZE: 4.08 GiB thunderbird-140.0_1
TMPFS: 14.69 GiB usr/local/ SIZE: 4.08 GiB librewolf-139.0.4
TMPFS: 14.65 GiB usr/local/ SIZE: 0.28 GiB grafana-12.0.2
TMPFS: 14.64 GiB usr/local/ SIZE: 4.14 GiB tor-browser-14.5.4
TMPFS: 14.44 GiB usr/local/ SIZE: 4.08 GiB thunderbird-esr-128.11.1
TMPFS: 13.93 GiB usr/local/ SIZE: 4.08 GiB firefox-140.0.2,2
TMPFS: 13.81 GiB usr/local/ SIZE: 4.18 GiB gstreamer1-plugins-rust-0.13.6
TMPFS: 13.71 GiB usr/local/ SIZE: 0.67 GiB llvm-devel-21.0.d20250403
TMPFS: 13.68 GiB usr/local/ SIZE: 2.04 GiB xtensa-esp-elf-13.2.0.20240530_8
TMPFS: 13.63 GiB usr/local/ SIZE: 3.24 GiB qt6-webengine-6.9.1
TMPFS: 13.46 GiB usr/local/ SIZE: 4.08 GiB waterfox-6.5.9_1,1
TMPFS: 13.09 GiB usr/local/ SIZE: 0.62 GiB alloy-1.6.1_3
TMPFS: 13.04 GiB usr/local/ SIZE: 4.08 GiB firefox-esr-128.12.0,1
TMPFS: 12.78 GiB usr/local/ SIZE: 0.28 GiB awslim-0.4.0
TMPFS: 12.52 GiB usr/local/ SIZE: 0.28 GiB telegraf-1.35.1
TMPFS: 12.50 GiB usr/local/ SIZE: 0.11 GiB texlive-docs-20250308
TMPFS: 12.47 GiB usr/local/ SIZE: 0.33 GiB ghc96-9.6.7
TMPFS: 12.17 GiB usr/local/ SIZE: 0.06 GiB nerd-fonts-3.3.0
TMPFS: 12.12 GiB usr/local/ SIZE: 0.33 GiB ghc94-9.4.8_1
TMPFS: 11.92 GiB usr/local/ SIZE: 0.28 GiB vault-1.19.5
TMPFS: 11.78 GiB usr/local/ SIZE: 0.33 GiB ghc92-9.2.8_1
TMPFS: 11.35 GiB usr/local/ SIZE: 0.28 GiB grafana-loki-2.9.2_13
TMPFS: 11.01 GiB usr/local/ SIZE: 3.31 GiB virtualbox-ose-71-7.1.10_1
TMPFS: 10.92 GiB usr/local/ SIZE: 0.28 GiB trivy-0.63.0_1
TMPFS: 10.38 GiB usr/local/ SIZE: 0.28 GiB vuls-0.33.1
TMPFS: 10.29 GiB usr/local/ SIZE: 0.67 GiB llvm20-20.1.6
TMPFS: 10.27 GiB usr/local/ SIZE: 0.67 GiB llvm19-19.1.7_1
TMPFS: 10.24 GiB usr/local/ SIZE: 0.67 GiB llvm18-18.1.8_2
TMPFS: 10.15 GiB usr/local/ SIZE: 1.75 GiB ringrtc-2.53.0
. . .


-- 
===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.