Re: www/webkit2-gtk@40 fails to build on 14.2-STABLE

From: Kevin Oberman <rkoberman_at_gmail.com>
Date: Mon, 27 Jan 2025 05:08:53 UTC
On Sun, Jan 26, 2025 at 6:48 PM William Bulley <web@umich.edu> wrote:

> I am running 14.2-STABLE on an amd64 system using the
> GENERIC kernel.  Please note that www/webkit2-gtk@60
> builds and installs just fine.
>
> When I attempt to build www/webkit2-gtk@40 like this:
>
>    # portmaster www/webkit2-gtk@40
>
> it fails at about the 50% point like this:
>
>    ninja: build stopped: subcommand failed.
>    ===> Compilation failed unexpectedly.
>    Try to set MAKE_JOBS_UNSAFE=yes and rebuild before
>    reporting the failure to the maintainer.
>
> I tried to follow the above suggestion using make(1)
> inside the /usr/ports/www/webkit2-gtk directory, but
> it tries to build and install webkit2-gtk@60 which I
> already have.  I don't know how to tell it to do
> otherwise.  Please advise.  I looked for reports
> of this failure on the internet, but I did not find
> any.  Thank you in advance.  Have a great day!
>
> --
> William Bulley
> E-MAIL: web@umich.edu
> <web@umich.edu
>

You need to include the actual error. That is the reason (well, one of
them) for building with "MAKE_JOBS_UNSAFE=yes". It results will be in the
build log, near the bottom, but above what you included. This will include
the actual error.

Have you deleted the old webkit2-gtk3? While it is replaced by
webkit2-gtk@40, the name change (gtk3 to gtk) causes "portmaster" to fail
to understand this.
If this is hte problem, you can install it with:
# portmaster -o www/webkit2-gtk@40 webkit2-gtk3

This really should be noted in UPDATING, but it seems that maintainers are
often failing to do this, assuming that everyone installs frem packages.
-- 
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683