Re: openjdk build failures on "nm"

From: Harald Eilertsen <haraldei_at_anduin.net>
Date: Thu, 11 Sep 2025 08:15:33 UTC
On Thu, Sep 11, 2025 at 09:32:08AM +0200, Ronald Klop wrote:
> As it seems hard to debug, what do the java@ maintainers think of this experiment?
>
> diff --git a/java/openjdk17/Makefile b/java/openjdk17/Makefile
> index 5cb25e6aee72..ba7001ff2bd0 100644
> --- a/java/openjdk17/Makefile
> +++ b/java/openjdk17/Makefile
> @@ -38,7 +38,7 @@ GH_PROJECT=   jdk17u
>
> NO_CCACHE=     yes
>
> -_MAKE_JOBS=    #
> +MAKE_JOBS_UNSAFE=      yes
> MAKE_ENV=      LANG="C" \
>                LC_ALL="C" \
>                CLASSPATH="" \

That's well spotted! I think this is definitely worth trying. I'm no
expert on the ports Makefiles myself, but was told to use
MAKE_JOBS_UNSAFE instead in the review for openjdk24. Haven't gone
through all the ancient version yet, as my focus is mainly on mainline,
and these days on openjdk25.

> I can commit this today to openjdk17 and if builds start to succeed to other openjdk* ports.

I'm in favour!

H!