Date: Thu, 11 Sep 2025 09:32:08 +0200 (CEST) From: Ronald Klop <ronald-lists@klop.ws> To: Harald Eilertsen <haraldei@anduin.net> Cc: java@freebsd.org Subject: Re: openjdk build failures on "nm" Message-ID: <2053927433.1876.1757575928041@localhost> In-Reply-To: <efoy4e5mqaa5xen277swrpj3w2mgthmkxza5p3k3hbxfpc7hn5@joytibqygluz> References: <1221594030.658.1756976173189@localhost> <wy6tjmjqq3temf3smm7vbohvxd5hvvaplrycx66zmfffkwg4sn@2lfjlx3fp7xr> <1330428831.1750.1756980558066@localhost> <efoy4e5mqaa5xen277swrpj3w2mgthmkxza5p3k3hbxfpc7hn5@joytibqygluz>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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="" \
openjdk23 and openjdk24 also use MAKE_JOBS_UNSAFE instead of _MAKE_JOBS
It was added in https://cgit.freebsd.org/ports/commit/java/openjdk23/Makefile?id=7451fa59a5a08e9ecf9711fc213d46dcb48cfc3d with the commit message of "Minor Makefile improvements".
I can commit this today to openjdk17 and if builds start to succeed to other openjdk* ports.
NB: I can't reproduce the issue locally, so can't make sure it fixes the issue.
Regards,
Ronald.
Van: Harald Eilertsen <haraldei@anduin.net>
Datum: donderdag, 4 september 2025 12:54
Aan: Ronald Klop <ronald-lists@klop.ws>
CC: java@freebsd.org
Onderwerp: Re: openjdk build failures on "nm"
>
> On Thu, Sep 04, 2025 at 12:09:18PM +0200, Ronald Klop wrote:
> > The portsfallout website has a lot of build logs linked.
> >
> > https://portsfallout.com/fallout?port=java%2Fopenjdk17%24
>
> Thanks, but I don't really see anything that gives me more information
> there. I'll take a look at the relevant makefiles though to see if
> something stands out.
>
> > BTW: I failed to reproduce the issue on my RPI4 poudriere, but maybe
> > it needs more parallel CPUs to trigger the error. I don't know.
>
> I'm also wondering if this can be a race condition, or if there's
> something about particular build machines that cause this to happen.
>
> Take care!
> H!
>
>
>
[-- Attachment #2 --]
<html><head></head><body>As it seems hard to debug, what do the java@ maintainers think of this experiment?<br>
<br>
diff --git a/java/openjdk17/Makefile b/java/openjdk17/Makefile<br>
index 5cb25e6aee72..ba7001ff2bd0 100644<br>
--- a/java/openjdk17/Makefile<br>
+++ b/java/openjdk17/Makefile<br>
@@ -38,7 +38,7 @@ GH_PROJECT= jdk17u<br>
<br>
NO_CCACHE= yes<br>
<br>
-_MAKE_JOBS= #<br>
+MAKE_JOBS_UNSAFE= yes<br>
MAKE_ENV= LANG="C" \<br>
LC_ALL="C" \<br>
CLASSPATH="" \<br>
<br>
<br>
openjdk23 and openjdk24 also use MAKE_JOBS_UNSAFE instead of _MAKE_JOBS<br>
<br>
It was added in https://cgit.freebsd.org/ports/commit/java/openjdk23/Makefile?id=7451fa59a5a08e9ecf9711fc213d46dcb48cfc3d with the commit message of "Minor Makefile improvements".<br>
<br>
I can commit this today to openjdk17 and if builds start to succeed to other openjdk* ports.<br>
NB: I can't reproduce the issue locally, so can't make sure it fixes the issue.<br>
<br>
Regards,<br>
Ronald.<br>
<br>
<p><strong>Van:</strong> Harald Eilertsen <haraldei@anduin.net><br>
<strong>Datum:</strong> donderdag, 4 september 2025 12:54<br>
<strong>Aan:</strong> Ronald Klop <ronald-lists@klop.ws><br>
<strong>CC:</strong> java@freebsd.org<br>
<strong>Onderwerp:</strong> Re: openjdk build failures on "nm"</p>
<blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px">
<div class="MessageRFC822Viewer" id="P">
<div class="TextPlainViewer" id="P.P">On Thu, Sep 04, 2025 at 12:09:18PM +0200, Ronald Klop wrote:<br>
> The portsfallout website has a lot of build logs linked.<br>
><br>
> <a href="https://portsfallout.com/fallout?port=java%2Fopenjdk17%24">https://portsfallout.com/fallout?port=java%2Fopenjdk17%24</a><br>
<br>
Thanks, but I don't really see anything that gives me more information<br>
there. I'll take a look at the relevant makefiles though to see if<br>
something stands out.<br>
<br>
> BTW: I failed to reproduce the issue on my RPI4 poudriere, but maybe<br>
> it needs more parallel CPUs to trigger the error. I don't know.<br>
<br>
I'm also wondering if this can be a race condition, or if there's<br>
something about particular build machines that cause this to happen.<br>
<br>
Take care!<br>
H!</div>
<hr></div>
</blockquote>
<br>
</body></html>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2053927433.1876.1757575928041>
