WebKitGTK Build Issue - RESOLVED

"Randy McMurchy" ([email protected] via blfs-support Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
On 8/17/2025 9:24 PM, Xi Ruoyao ([email protected] via blfs-support 
Mailing List) wrote:
> On Sun, 2025-08-17 at 21:20 -0500, Bruce Dubbs wrote:
>> On 8/17/25 8:38 PM, Randy McMurchy ([email protected] via blfs-support Mailing List) wrote:
>>> Hi all,
>>>
>>> I had an issue when building the WebKetGTK package (linked to GTK-3) and perhaps this
>>> is worth mentioning.
>>> <snip>
>>> So, unless the machine I'm using to build just simply has insufficient resources, it
>>> might be a good idea to add something to the WebKetGTK instructions that warns there
>>> are times using some machines that building with 8 parallel jobs can cause the build
>>> to fail. I did not try to research the -dev archives to see if this situation has
>>> already been identified and discussed. If it has, my apologies for the noise. I'm now
>>> going to build the package again, this time linking GTK4 libraries, without using the
>>> cmake option but I will pass -j4 to ninja. I will update when I'm finished.
>> I removed a lot of the data to make this a little shorter.  First of all, webkit is
>> one of our most intensive packages.  There are 12 packages in BLFS with times that
>> exceed 10 SBU.  At 21 SBU webkit is the third most time consuming packages.  Only
>> libreoffice at 24 SBU and qtwebengine at 45 SBU are larger.  High SBU times indicate
>> lots of RAM usage also.  Running at j8 on a 4 CPU system will make things worse.
> The CPU has SMT so there are 8 logical cores.  Thus using -j8 is proper
> unless SMT is disabled via the BIOS or the kernel cmdline.
>
>> Two questions.  How much swap do you have?  Did you check dmesg for OOM (out of
>> memory) conditions terminating some programs?
> The problem is using swap can cause the build to be significantly
> slower, likely even slower than reducing the number of parallel jobs.
>
> I'll reword the <important> box a little.
Thanks to you both for such quick and helpful replies. Xi, thanks for 
clarifying the [Important] box in the instructions.

-- 
Randy

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page
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.