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

Christoph Willing 475.chris.willing at gmail.com
Fri Jan 12 08:28:27 UTC 2024


On 12/1/24 15:31, B. Watson 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).

Is this idiom a thing that sbolint could check for and warn about (or 
fail)? I thought using -j option like this in SBo SlackBuilds was banned 
(or at least highly discouraged).

chris



More information about the SlackBuilds-users mailing list