[Slackbuilds-users] Issues with webkit2gtk / webkit2gtk4.1 in a Slackware 32 bit

B. Watson urchlay at slackware.uk
Fri Jan 12 05:31:41 UTC 2024



On Thu, 11 Jan 2024, Qun-Ying wrote:

> "${NINJA:=ninja}" -j$(expr $(nproc) / 2)

What maniac wrote this? If you run it on a single-core box, nproc says
1, integer-divided by 2... means it runs "ninja -j0". And according to
ninja's --help, -j0 means "infinity". This might be the cause of the
OP's problem.

It'd be better to extract the -j# from MAKEFLAGS (if set) and use that
for ninja's -j option (or, if MAKEFLAGS not set, don't pass ninja a -j
at all, which works the same way as make: 1 job).


More information about the SlackBuilds-users mailing list