From nobody Thu Sep 11 07:32:08 2025 X-Original-To: java@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cMq5G4M7lz62ZKs for ; Thu, 11 Sep 2025 07:32:18 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp-relay-int-backup.realworks.nl (smtp-relay-int-backup.realworks.nl [87.255.56.188]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4cMq5F1FHKz4DYy for ; Thu, 11 Sep 2025 07:32:16 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=PhhOoZoC; dmarc=pass (policy=quarantine) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 87.255.56.188 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws Received: from smtp-relay-int-backup.realworks.nl (crmpreview6.colo2.realworks.nl [10.2.52.36]) by mailrelayint1.colo2.realworks.nl (Postfix) with ESMTP id 4cMq5445FLzR7; Thu, 11 Sep 2025 09:32:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1757575928; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=oun8sDysJjNeVX8FSbK36oG3QGRd1kyV9TZLE7g80Kk=; b=PhhOoZoCLN9b/yVeOH85n1Zy/8mjRd7/wqadQyJ58PDaWbreIGp17pDg9bN4/EQpwAJPSZ ioHdOVX4x0r5vGJ75s9B1ipLy9MKw0opdBa7rTSxKDYZfmukewYJZPSGWHjuiFNGLQq/uP 3wO4YR98PmXGABELIbZzg6yPajWh2Mc9l8O5rSynENZRl8B5gos1rJrUhJKhDTmZxsBhEF /UURPC8fJIRyUhGLg5GGBFL80B4le4XwzwApuizV4iWe7EP/RvGPdpdlUReXTJDmIS6hLo Phc+7JR0FFy5DkPVVOsL5UYhNCVwvGpDgKHwE2w0beRV4LhIGnKm2Z9mr66F+g== Received: from crmpreview6.colo2.realworks.nl (localhost [127.0.0.1]) by crmpreview6.colo2.realworks.nl (Postfix) with ESMTP id 24F3720069B; Thu, 11 Sep 2025 09:32:08 +0200 (CEST) Date: Thu, 11 Sep 2025 09:32:08 +0200 (CEST) From: Ronald Klop To: Harald Eilertsen Cc: java@freebsd.org Message-ID: <2053927433.1876.1757575928041@localhost> In-Reply-To: References: <1221594030.658.1756976173189@localhost> <1330428831.1750.1756980558066@localhost> Subject: Re: openjdk build failures on "nm" List-Id: Porting Java to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-java List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-java@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1875_1832518064.1757575928016" X-Mailer: Realworks (765.87) X-Originating-Host: from (83-81-212-149.cable.dynamic.v4.ziggo.nl [83.81.212.149]) by crmpreview6.colo2.realworks.nl [10.2.52.36] with HTTP; Thu, 11 Sep 2025 09:32:08 +0200 Importance: Normal X-Priority: 3 (Normal) X-Originating-User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:142.0) Gecko/20100101 Firefox/142.0 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; R_SPF_ALLOW(-0.20)[+ip4:87.255.56.128/26]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:38930, ipnet:87.255.32.0/19, country:NL]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_TWO(0.00)[2]; HAS_X_PRIO_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MLMMJ_DEST(0.00)[java@freebsd.org]; DKIM_TRACE(0.00)[klop.ws:+] X-Rspamd-Queue-Id: 4cMq5F1FHKz4DYy ------=_Part_1875_1832518064.1757575928016 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Datum: donderdag, 4 september 2025 12:54 Aan: Ronald Klop 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! > > > ------=_Part_1875_1832518064.1757575928016 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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!


  ------=_Part_1875_1832518064.1757575928016--