Re: openjdk build failures on "nm"

Ronald Klop <[email protected]>
Newsgroups gmane.os.freebsd.devel.java
Message-ID <246244335.3613.1757582776002@localhost>
I committed the change.

Looking through https://portsfallout.com/fallout?port=java/openjdk again, I noticed that it does not fail on main, only on 13.5 and 14.2. I don't know if that is a coincidence, a difference in the pkg cluster on main or some difference in clang/llvm or other build tooling.

But I thought it is worth mentioning.

Regards,
Ronald.

 
Van: Harald Eilertsen <[email protected]>
Datum: donderdag, 11 september 2025 10:15
Aan: Ronald Klop <[email protected]>
CC: [email protected]
Onderwerp: Re: openjdk build failures on "nm"
> 
> 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.