From nobody Wed Mar 19 06:27:00 2025 X-Original-To: freebsd-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 4ZHdzN5Sg1z5qgPs for ; Wed, 19 Mar 2025 06:27:12 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from egress.chen.org.nz (egress.chen.org.nz [170.75.172.82]) by mx1.freebsd.org (Postfix) with ESMTP id 4ZHdzL3f21z3xwG for ; Wed, 19 Mar 2025 06:27:10 +0000 (UTC) (envelope-from jonc@chen.org.nz) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of jonc@chen.org.nz designates 170.75.172.82 as permitted sender) smtp.mailfrom=jonc@chen.org.nz Received: from mail.chen.org.nz (unknown [210.54.37.164]) by egress.chen.org.nz (Postfix) with ESMTP id D8E7B12578B for ; Wed, 19 Mar 2025 19:27:06 +1300 (NZDT) Received: from mail.chen.org.nz (localhost [127.0.0.1]) by filter.inside.chen.org.nz (Postfix) with ESMTP id 1F54628561 for ; Wed, 19 Mar 2025 19:27:01 +1300 (NZDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on ametrine.inside.chen.org.nz Received: from [192.168.1.10] (jade.inside.chen.org.nz [192.168.1.10]) by mail.chen.org.nz (Postfix) with ESMTPS id 0E2F728464 for ; Wed, 19 Mar 2025 19:27:01 +1300 (NZDT) Message-ID: <82f3dead-8438-4ecb-91d4-ccc486c72c3f@chen.org.nz> Date: Wed, 19 Mar 2025 19:27:00 +1300 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 User-Agent: Mozilla Thunderbird From: Jonathan Chen Subject: Re: java/openjdk19 fails to build on aarch64 To: freebsd-java@freebsd.org References: <4dda4c06-fc1c-40e0-9960-048c9c776125@chen.org.nz> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [1.23 / 15.00]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_SPAM_MEDIUM(1.00)[1.000]; NEURAL_HAM_SHORT(-0.57)[-0.574]; R_SPF_ALLOW(-0.20)[+a:egress.chen.org.nz]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; ASN(0.00)[asn:174, ipnet:170.75.160.0/20, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-java@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[chen.org.nz]; PREVIOUSLY_DELIVERED(0.00)[freebsd-java@freebsd.org]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4ZHdzL3f21z3xwG X-Spamd-Bar: + On 18/03/25 01:15, Harald Eilertsen wrote: > On Mon, Mar 17, 2025 at 04:41:13PM +1300, Jonathan Chen wrote: >> ===> Building for openjdk19-19.0.2+7.1_1 >> Error: The configuration is not up to date for 'bsd-aarch64-server-release'. > > Check /usr/ports/openjdk19/work/jdk19u-jdk-19.0.2-7-1/build/bsd-aarch64-server-release/configure.log > > To see if the configure step completes, and if not, what causes it to > fail. I've compared the configure.log+spec.gmk on aarch64 against amd64, and haven't noted anything unusual. However, on my aarch64 system, gmake notices that the files in make/autoconf are newer than build/bsd-aarch64-server-release/spec.gmk and this triggers the failure. To be fair, this is true, as libraries.m4 has been patched. I do not know why this does not occur on amd64. I've forced the build to ignore the autoconf check, and this allows the build to complete. Cheers. -- Jonathan Chen