Re: openjdk build failures on "nm"

Harald Eilertsen <[email protected]>
Newsgroups gmane.os.freebsd.devel.java
Message-ID <mxss65u22c5oy4gvokvpc472yospz5mtyv7aionej5qgq7ycx2@jpxajffsomeh>
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!
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.