From nobody Thu Sep 11 09:26:16 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 4cMscq0B5gz62hWH for ; Thu, 11 Sep 2025 09:26:19 +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 4cMscp57F7z3D2X for ; Thu, 11 Sep 2025 09:26:18 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Authentication-Results: mx1.freebsd.org; none Received: from smtp-relay-int-backup.realworks.nl (crmpreview5.colo2.realworks.nl [10.2.52.35]) by mailrelayint1.colo2.realworks.nl (Postfix) with ESMTP id 4cMscm2gYfzV2; Thu, 11 Sep 2025 11:26:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1757582776; 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=JfZ8vtQKIyyPgqIbJH9wpx2pT/g2dAvKu2lAyaaHLXo=; b=OI0T5kX2i5NTIvBb5vFVIt1twx28V28azHLuE8DWK0gbKcuAmqyzR1AxrXiTMn762eB6Jv BhHXXoqEnPd/yZmVuGTEbzzdF03P1/7z7D5WfFmpYeX5OJP/3DIhAffWpK1paHR11i9Hwx weiNczIDr1Z3cYWLE+MUEY9ceMibOLx3PNtH4Tw6+pDnIQJFNzgfwgHEzHvifseceFMfGw cnbp4KkRka0vdaA5DkNMSJorz841qCPUGwryvvJRSpg5qx3JGpbgZYmB9RCER0xfYSZtrd ZNGBXASF3eR8JKVhauH5thYv1Qo2G9MlgFQSRFJIXHhxY0xwd1Za6vwgu6s9kg== Received: from crmpreview5.colo2.realworks.nl (localhost [127.0.0.1]) by crmpreview5.colo2.realworks.nl (Postfix) with ESMTP id 0E840C0480; Thu, 11 Sep 2025 11:26:16 +0200 (CEST) Date: Thu, 11 Sep 2025 11:26:16 +0200 (CEST) From: Ronald Klop To: Harald Eilertsen Cc: java@freebsd.org Message-ID: <246244335.3613.1757582776002@localhost> In-Reply-To: References: <1221594030.658.1756976173189@localhost> <1330428831.1750.1756980558066@localhost> <2053927433.1876.1757575928041@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_3612_1399460161.1757582775998" X-Mailer: Realworks (765.87) X-Originating-Host: from (83-81-212-149.cable.dynamic.v4.ziggo.nl [83.81.212.149]) by crmpreview5.colo2.realworks.nl [10.2.52.35] with HTTP; Thu, 11 Sep 2025 11:26:16 +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 [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:38930, ipnet:87.255.32.0/19, country:NL] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cMscp57F7z3D2X ------=_Part_3612_1399460161.1757582775998 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Datum: donderdag, 11 september 2025 10:15 Aan: Ronald Klop CC: java@freebsd.org 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! > > > ------=_Part_3612_1399460161.1757582775998 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit 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 <haraldei@anduin.net>
Datum: donderdag, 11 september 2025 10:15
Aan: Ronald Klop <ronald-lists@klop.ws>
CC: java@freebsd.org
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!


  ------=_Part_3612_1399460161.1757582775998--