From nobody Sun Sep 14 11:29:49 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 UTF8SMTP id 4cPmD83HPvz67n0Y for ; Sun, 14 Sep 2025 11:30:00 +0000 (UTC) (envelope-from haraldei@anduin.net) Received: from mail.anduin.net (mail.anduin.net [185.42.170.45]) (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 UTF8SMTPS id 4cPmD81KZ2z45VC for ; Sun, 14 Sep 2025 11:30:00 +0000 (UTC) (envelope-from haraldei@anduin.net) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=anduin.net; s=dkim2021; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=jEotbLaOeaMkLmrsXFnYhJvYLnpKikXU6wgC5gdyZLI=; t=1757849400; x=1758713400; b=tXQuSJPedjhramZUHWUSjADRJyK+/PlL+KKmUBN8S9fR39P2mm3/5ZEJwK3sXDdp80uFOdDs2Uw p5hBOFEQQgBXH3lUd0VZebaisZaxC3W3OlZcM094YruvVx8vgnYKGYKCUwdCEq3iIBHDALKcmJFEs utgC7drq81tf80sdW2JBHxHN2ed1DueREPv345pv0/u3f4o3ybKA/upMXkw5NnpL1Rq81AZV0qkQn 156QGkVjuybAQiC+xDtTnENxl8xWEzBvAO0pjOHws8760sNgoZoyI6FdjDjexnm3lWWjSLnerCByH 8jI4ABW1ovewO5FkPXkuTnQ68aUDiVHVGL8g==; Received: by mail.anduin.net with utf8esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.98.2 (FreeBSD)) (envelope-from ) id 1uxkvW-00000000LoO-3wSU; Sun, 14 Sep 2025 11:29:52 +0000 Date: Sun, 14 Sep 2025 13:29:49 +0200 From: Harald Eilertsen To: Ronald Klop Cc: java@freebsd.org Subject: Re: openjdk build failures on "nm" Message-ID: References: <1221594030.658.1756976173189@localhost> <1330428831.1750.1756980558066@localhost> <2053927433.1876.1757575928041@localhost> <246244335.3613.1757582776002@localhost> <699985539.12442.1757766372478@localhost> 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: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <699985539.12442.1757766372478@localhost> X-SA-Authenticated: Yes X-Spam-Score: -1.9 X-Spam-Level: - X-Spam-Report: host: mail.modirum.com | contact: hostmaster@modirum.com | scores: BAYES_00=-1.9,NO_RELAYS=-0.001 | autolearn=no autolearn_force=no, score=0 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:62248, ipnet:185.42.170.0/24, country:EE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cPmD81KZ2z45VC On Sat, Sep 13, 2025 at 02:26:12PM +0200, Ronald Klop wrote: > Ok. > > Change didn't work. Did learn a bit more. > > The openjdk build totally ignores MAKE_JOBS_UNSAFE and MAKE_JOBS_NUMBER. :-) Yes, the OpenJDK itself has no knowledge of these port specific variables. But I thought perhaps the problem was that the port Makefile tried to do more than one thing at the time? > I now added these lines to the openjdk17/Makefile and tested in my poudriere that this makes the build take these variables into account. > +.if defined(MAKE_JOBS_UNSAFE) > +CONFIGURE_ARGS+= --with-jobs=1 > +.elif defined(MAKE_JOBS_NUMBER) > +CONFIGURE_ARGS+= --with-jobs=${MAKE_JOBS_NUMBER} > +.endif > Any objections or is everybody happy if I add this? I'm fine with it. At least as an experiment to see if this fixes the issues with the pkg builds. If it does, it makes me even more curious about why this problem only seems to affect certain versions though. H!