From nobody Mon Mar 17 03:41:13 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 4ZGLNz4BTbz5ktRm for ; Mon, 17 Mar 2025 03:41:23 +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 4ZGLNx5mCWz3ddk for ; Mon, 17 Mar 2025 03:41:21 +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 BFE5712578C for ; Mon, 17 Mar 2025 16:41:17 +1300 (NZDT) Received: from mail.chen.org.nz (localhost [127.0.0.1]) by filter.inside.chen.org.nz (Postfix) with ESMTP id D38FA280FB for ; Mon, 17 Mar 2025 16:41:13 +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 C6979280FA for ; Mon, 17 Mar 2025 16:41:13 +1300 (NZDT) Message-ID: <4dda4c06-fc1c-40e0-9960-048c9c776125@chen.org.nz> Date: Mon, 17 Mar 2025 16:41:13 +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 Content-Language: en-US To: freebsd-java@freebsd.org From: Jonathan Chen Subject: java/openjdk19 fails to build on aarch64 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [0.91 / 15.00]; NEURAL_SPAM_LONG(0.98)[0.983]; NEURAL_SPAM_MEDIUM(0.93)[0.933]; NEURAL_HAM_SHORT(-0.80)[-0.805]; 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: 4ZGLNx5mCWz3ddk X-Spamd-Bar: / Hi, I'm currently trying to build java/openjdk21 with ARCH=aarch64, on a recent version of STABLE-14/aarch64. The build process currently builds the bootstrap gradually, starting with java/openjdk18, java/openjdk19, .. until it reaches java/openjdk21. However, while java/openjdk18 completes its build, java/openjdk19 currently fails with: ===> Building for openjdk19-19.0.2+7.1_1 Error: The configuration is not up to date for 'bsd-aarch64-server-release'. Please rerun configure! Easiest way to do this is by running 'make reconfigure'. This behavior may also be changed using CONF_CHECK=. gmake: *** [/construction/xports/java/openjdk19/work/jdk19u-jdk-19.0.2-7-1/make/Init.gmk:145: /construction/xports/java/openjdk19/work/jdk19u-jdk-19.0.2-7- 1/build/bsd-aarch64-server-release/spec.gmk] Error 2 *** Error code 1 Stop. make: stopped in /xports/java/openjdk19 Is anyone else seeing this? -- Jonathan Chen From nobody Mon Mar 17 09:24:10 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 4ZGV121YJsz5qJvb for ; Mon, 17 Mar 2025 09:24:38 +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 ESMTPS id 4ZGV0z2rXlz3CX8 for ; Mon, 17 Mar 2025 09:24:35 +0000 (UTC) (envelope-from haraldei@anduin.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=anduin.net header.s=dkim2021 header.b=qaDz0lqN; dmarc=pass (policy=reject) header.from=anduin.net; spf=pass (mx1.freebsd.org: domain of haraldei@anduin.net designates 185.42.170.45 as permitted sender) smtp.mailfrom=haraldei@anduin.net 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:To:From:Date:Sender:Reply-To:Cc: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=q6FnXuDZlD0Qk+osnvReHXGWpiUpJSK6Adp4u9TmsPU=; t=1742203475; x=1743067475; b=qaDz0lqNh0R0T/Jhm5RKOeplR0RPVJSSaaxScxfJdNkDq50ILRu8CibuNQ7YY1A8lgTkwGXSv9P YCKHbqRlAD4LoiRpUC4b46j6LbzK4XRSOIjW4ToDo2cOANIkhx7XfxkKuik/3ykKHqLZ0QCv7RKq5 AhOK1XrcjuFlJoHEomMU842i8kDnmZHWvygHOJgk7+jxwU238LCVa97TIlVUtIZBxfZyI99CyNB3y dONDBV4D+StYz1m4SCb58FsrqPxnHEa02vjwpbuZygTdnFWw2EhvbCI/aWTDizS4IT3v/vmEM2w/n FfMrI61xgp8Cnod9H47N4MQyduayDXxqqRmw==; Received: by mail.anduin.net with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.97.1 (FreeBSD)) (envelope-from ) id 1tu6hu-00000000Oys-44V6 for freebsd-java@freebsd.org; Mon, 17 Mar 2025 09:24:28 +0000 Date: Mon, 17 Mar 2025 10:24:10 +0100 From: Harald Eilertsen To: freebsd-java@freebsd.org Subject: Re: java/openjdk19 fails to build on aarch64 Message-ID: <4hlocg4nehgpphsqkrsfjlpev4pvfijrkduvcobljujkdxg632@7z2eek6i4jtu> Mail-Followup-To: freebsd-java@freebsd.org References: <4dda4c06-fc1c-40e0-9960-048c9c776125@chen.org.nz> 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: <4dda4c06-fc1c-40e0-9960-048c9c776125@chen.org.nz> 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-Result: default: False [-3.53 / 15.00]; RBL_SENDERSCORE_REPUT_9(-1.00)[185.42.170.45:from]; NEURAL_HAM_LONG(-0.99)[-0.988]; NEURAL_HAM_MEDIUM(-0.96)[-0.957]; DMARC_POLICY_ALLOW(-0.50)[anduin.net,reject]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:185.42.170.45/32]; R_DKIM_ALLOW(-0.20)[anduin.net:s=dkim2021]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_SHORT(-0.09)[-0.090]; FREEFALL_USER(0.00)[haraldei]; RCVD_TLS_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:62248, ipnet:185.42.170.0/24, country:EE]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-java@freebsd.org]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[anduin.net:+] X-Rspamd-Queue-Id: 4ZGV0z2rXlz3CX8 X-Spamd-Bar: --- On Mon, Mar 17, 2025 at 04:41:13PM +1300, Jonathan Chen wrote: > However, while java/openjdk18 completes its build, java/openjdk19 currently > fails with: > > ===> Building for openjdk19-19.0.2+7.1_1 > Error: The configuration is not up to date for 'bsd-aarch64-server-release'. That's weird, I'll have a look at it. -- Harald From nobody Mon Mar 17 12:15:57 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 4ZGYpv0LZ1z5qW2g for ; Mon, 17 Mar 2025 12:16:07 +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 ESMTPS id 4ZGYpt4bwlz3nvp for ; Mon, 17 Mar 2025 12:16:06 +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=tGwldvo6WuCw0JYO5feXOGFF9/9OqYftNgN7Senx6JQ=; t=1742213766; x=1743077766; b=VZ0l0MmTsz1W2FmYCRux/opvOv9haZRbGFkfoegHLieEtUVv4XkyP4Fm9L8tctiQNFrzj71LDHM A3j9sC/1yVHXpbWqH2pOf8g7BNVDWTZhwizjdB/BT/+fY0VJ8PM79FpUVHVG2Yk5qfUVri8Ri2qs4 bD84khLk9IdGcj7dy8Mq1PGRLou3uoL8TAO/YS3inR8wyqthMaadiRtvI/fNmAWZhGmy7eVhny5fN XU3HEebgZChjyHYEw/WPu1O/Bh51Ip3ScIzQX8t8gG2+gud4WeP9R90DzGNFh3vMANAU8kTgTiz/O 2eKDS2mjzCzI/xpN+xsTOq4NswPc/WlO6h3w==; Received: by mail.anduin.net with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.97.1 (FreeBSD)) (envelope-from ) id 1tu9Ny-000000004Jh-2kUP; Mon, 17 Mar 2025 12:16:04 +0000 Date: Mon, 17 Mar 2025 13:15:57 +0100 From: Harald Eilertsen To: Jonathan Chen Cc: freebsd-java@freebsd.org Subject: Re: java/openjdk19 fails to build on aarch64 Message-ID: Mail-Followup-To: Jonathan Chen , freebsd-java@freebsd.org References: <4dda4c06-fc1c-40e0-9960-048c9c776125@chen.org.nz> 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: <4dda4c06-fc1c-40e0-9960-048c9c776125@chen.org.nz> 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-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated 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-Queue-Id: 4ZGYpt4bwlz3nvp X-Spamd-Bar: ---- 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. H! 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 From nobody Wed Mar 19 07:18:49 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 4ZHg722rhHz5qjnm for ; Wed, 19 Mar 2025 07:18:54 +0000 (UTC) (envelope-from SRS0=Cl8V=WG=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (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 4ZHg720dsHz3WXv for ; Wed, 19 Mar 2025 07:18:54 +0000 (UTC) (envelope-from SRS0=Cl8V=WG=klop.ws=ronald-lists@realworks.nl) Authentication-Results: mx1.freebsd.org; none Date: Wed, 19 Mar 2025 08:18:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1742368731; 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; bh=q/c3s+5DEZqOR+mrW6u0HUbA5aYOIaVWH36/f9AnAuc=; b=ksfg5K2qNPvNJzuNlkdQ3drmmTsQczOpTR15Z/qJlE+4TSBoiz6qjoy1UXvZMRsOvVkRgi KGK4YJhxh5l5WgoaBFlcMs55G79kYuJvxA3R5sPgnoe6d2+yio7bc+dIRfrTClkrkf3nse iIMhcC630yPh8KzKNdmS7EWgRIc9R3ZBW2Yrm1rp6ymdu2fS3qHcEIYMbvhUjZhtbqYl4y fDsTPZlW7p+Tr8DqMcxrxA0sAISoAw4KcsHtRuQwP5pW4XYe5z2CndQIu3tCMdD9yC5kog eX1rVVX9pi2CpOsajCsR/8600E5GqLXrewYJ3vKHZtgw+qfogFpX+SAdoQOeOA== From: Ronald Klop To: Jonathan Chen Cc: freebsd-java@freebsd.org Message-ID: <676433057.896.1742368729995@localhost> In-Reply-To: <82f3dead-8438-4ecb-91d4-ccc486c72c3f@chen.org.nz> Subject: Re: java/openjdk19 fails to build on aarch64 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_895_757565974.1742368729992" X-Mailer: Realworks (742.22) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL] X-Rspamd-Queue-Id: 4ZHg720dsHz3WXv X-Spamd-Bar: ---- ------=_Part_895_757565974.1742368729992 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Van: Jonathan Chen Datum: 19 maart 2025 07:27 Aan: freebsd-java@freebsd.org Onderwerp: Re: java/openjdk19 fails to build on aarch64 >=20 >=20 > On 18/03/25 01:15, Harald Eilertsen wrote: > > On Mon, Mar 17, 2025 at 04:41:13PM +1300, Jonathan Chen wrote: > >> =3D=3D=3D> Building for openjdk19-19.0.2+7.1_1 > >> Error: The configuration is not up to date for 'bsd-aarch64-server-rel= ease'. > >=20 > > Check /usr/ports/openjdk19/work/jdk19u-jdk-19.0.2-7-1/build/bsd-aarch64= -server-release/configure.log > >=20 > > To see if the configure step completes, and if not, what causes it to > > fail. >=20 > I've compared the configure.log+spec.gmk on aarch64 against amd64, and ha= ven't noted anything unusual. However, on my aarch64 system, gmake notices = that the files in make/autoconf are newer than build/bsd-aarch64-server-rel= ease/spec.gmk and this triggers the failure. To be fair, this is true, as l= ibraries.m4 has been patched. I do not know why this does not occur on amd6= 4. >=20 > I've forced the build to ignore the autoconf check, and this allows the b= uild to complete. >=20 > Cheers. > --=20 > Jonathan Chen=20 >=20 >=20 >=20 >=20 >=20 >=20 How did you enforce this? I could commit the =E2=80=9Cfix=E2=80=9D if it is= trivial. Regards, Ronald ------=_Part_895_757565974.1742368729992 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Van: Jonathan Chen = <jonc@chen.org.nz>
Datum: 19 maart 2025 07:27
= Aan: freebsd-java@freebsd.org
Onderwerp: Re: java/openjdk19 fails to build on aarch64

On 18/03/25 01:15, Harald Eilertsen wrote:
> On Mon, Mar 17, 2025 at 04:41:13PM +1300, Jonathan Chen wrote:
>> =3D=3D=3D>  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-aarch6= 4-server-release/configure.log
>
> To see if the configure step completes, and if not, what causes it to<= br> > fail.

I've compared the configure.log+spec.gmk on aarch64 against amd64, and have= n't noted anything unusual. However, on my aarch64 system, gmake notices th= at the files in make/autoconf are newer than build/bsd-aarch64-server-relea= se/spec.gmk and this triggers the failure. To be fair, this is true, as lib= raries.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 bui= ld to complete.

Cheers.
-- 
Jonathan Chen





How did you enforce this? I could commit the =E2=80=9C= fix=E2=80=9D if it is trivial.

Regards,
Ronald=

------=_Part_895_757565974.1742368729992-- From nobody Wed Mar 19 09:24:25 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 4ZHjwQ3jChz5qsd4 for ; Wed, 19 Mar 2025 09:24:54 +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 ESMTPS id 4ZHjwM1mpYz3R3f for ; Wed, 19 Mar 2025 09:24:51 +0000 (UTC) (envelope-from haraldei@anduin.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=anduin.net header.s=dkim2021 header.b=3+CwNiPM; dmarc=pass (policy=reject) header.from=anduin.net; spf=pass (mx1.freebsd.org: domain of haraldei@anduin.net designates 185.42.170.45 as permitted sender) smtp.mailfrom=haraldei@anduin.net 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:To:From:Date:Sender:Reply-To:Cc: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=2A09SAdXyHkZNZglDY/z8ETYHijXYk3H5HDGtVVo5Mw=; t=1742376291; x=1743240291; b=3+CwNiPM1rWjEe3IFWfmmADbqWHkSNHHKm+W9wIyXAzCeD+1vDqjxnPVWoi1IYAkAn7lsifqFVM HD67JgWIt43XsW07xEyg8AIUvi/x+BCmoXvfQvSNRuR9On3JpGo/+yg9jlkMXH5xy3zGSKzUs37KI nO80mvZBqQ+kwzw0Mv/C/z3YohBq/ioXgzxjoHbkL9c+H48M4W2PB4uYkGjVwv6ckzItkikQZ54OJ 3JKD5EFMOSlKYS9QUtD4N3zz6NXVsk+jTsUEcp/oPjuIoignX94IzzZgW+fLY0YZjWrEJX2ANqhwT RifE0U+FgSVF/7/xrfH3p+jLaMoV1C+CZpUg==; Received: by mail.anduin.net with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.97.1 (FreeBSD)) (envelope-from ) id 1tupfF-00000000PgB-2vuV for freebsd-java@freebsd.org; Wed, 19 Mar 2025 09:24:43 +0000 Date: Wed, 19 Mar 2025 10:24:25 +0100 From: Harald Eilertsen To: freebsd-java@freebsd.org Subject: Re: java/openjdk19 fails to build on aarch64 Message-ID: Mail-Followup-To: freebsd-java@freebsd.org References: <4dda4c06-fc1c-40e0-9960-048c9c776125@chen.org.nz> <82f3dead-8438-4ecb-91d4-ccc486c72c3f@chen.org.nz> 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: <82f3dead-8438-4ecb-91d4-ccc486c72c3f@chen.org.nz> 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-Result: default: False [-2.22 / 15.00]; RBL_SENDERSCORE_REPUT_9(-1.00)[185.42.170.45:from]; NEURAL_HAM_SHORT(-0.98)[-0.984]; NEURAL_SPAM_LONG(0.54)[0.542]; DMARC_POLICY_ALLOW(-0.50)[anduin.net,reject]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_MEDIUM(-0.28)[-0.276]; R_SPF_ALLOW(-0.20)[+ip4:185.42.170.45/32]; R_DKIM_ALLOW(-0.20)[anduin.net:s=dkim2021]; MIME_GOOD(-0.10)[text/plain]; FREEFALL_USER(0.00)[haraldei]; RCVD_TLS_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:62248, ipnet:185.42.170.0/24, country:EE]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-java@freebsd.org]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[anduin.net:+] X-Rspamd-Queue-Id: 4ZHjwM1mpYz3R3f X-Spamd-Bar: -- On Wed, Mar 19, 2025 at 07:27:00PM +1300, Jonathan Chen wrote: > 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. libraries.m4 should be patched before configure is run, which again produces spec.gmk. Otherwise it would be no point in patching it to begin with... Could it be that you already had a configuration, so the patch was applied, but the configure step skipped? -- Harald From nobody Thu Mar 20 03:33:15 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 4ZJB4K1X8Nz5rC1d for ; Thu, 20 Mar 2025 03:33:21 +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 4ZJB4J03fgz3KhK for ; Thu, 20 Mar 2025 03:33:20 +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 CD39112578B for ; Thu, 20 Mar 2025 16:33:22 +1300 (NZDT) Received: from mail.chen.org.nz (localhost [127.0.0.1]) by filter.inside.chen.org.nz (Postfix) with ESMTP id 8FEE7285F8 for ; Thu, 20 Mar 2025 16:33:16 +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 87339285F7 for ; Thu, 20 Mar 2025 16:33:16 +1300 (NZDT) Message-ID: <9bc59721-4428-4fda-9357-00e368c02d8f@chen.org.nz> Date: Thu, 20 Mar 2025 16:33:15 +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 Subject: Re: java/openjdk19 fails to build on aarch64 To: freebsd-java@freebsd.org References: <4dda4c06-fc1c-40e0-9960-048c9c776125@chen.org.nz> <82f3dead-8438-4ecb-91d4-ccc486c72c3f@chen.org.nz> Content-Language: en-US From: Jonathan Chen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [1.58 / 15.00]; NEURAL_SPAM_LONG(1.00)[0.998]; NEURAL_SPAM_MEDIUM(0.99)[0.990]; NEURAL_HAM_SHORT(-0.21)[-0.210]; R_SPF_ALLOW(-0.20)[+a:egress.chen.org.nz:c]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:174, ipnet:170.75.160.0/20, country:US]; MID_RHS_MATCH_FROM(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)[]; R_DKIM_NA(0.00)[]; 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: 4ZJB4J03fgz3KhK X-Spamd-Bar: + On 19/03/25 22:24, Harald Eilertsen wrote: > On Wed, Mar 19, 2025 at 07:27:00PM +1300, Jonathan Chen wrote: >> 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. > > libraries.m4 should be patched before configure is run, which again > produces spec.gmk. Otherwise it would be no point in patching it to > begin with... You are correct. I only realised this just after I pressed the "Send" button. So I dug into this a bit deeper, and it appears that make/autoconf/build-aux directory has a later timestamp than spec.gmk after the configure phase. There are no files within "build-aux" that have a later timestamp, so I guess either a file had been created or removed within the directory; resulting in the timestamp change. However, this is enough to trigger the "not up to date" warning and stopping the build. To force the build to ignore the warning, I applied the following patch: diff --git a/java/openjdk19/Makefile b/java/openjdk19/Makefile index 76e8910459..4b84b82092 100644 --- a/java/openjdk19/Makefile +++ b/java/openjdk19/Makefile @@ -48,7 +48,7 @@ MAKE_ENV= LANG="C" \ CC=${CC} \ CXX=${CXX} \ CPP=${CPP} \ - MAKEFLAGS="" + MAKEFLAGS="CONF_CHECK=ignore " JDK_OSARCH= bsd-${ARCH:S/amd64/x86_64/:S/i386/x86/:S/powerpc64/ppc64/} JDK_BUILDDIR= ${WRKSRC}/build/${JDK_OSARCH}-${JDK_BUILD_JVM}-${JDK_BUILD_TYPE} Cheers. -- Jonathan Chen From nobody Thu Mar 20 10:15:21 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 4ZJM0Q6vYzz5rbtj for ; Thu, 20 Mar 2025 10:15:34 +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 ESMTPS id 4ZJM0N0jdRz3S8V for ; Thu, 20 Mar 2025 10:15:31 +0000 (UTC) (envelope-from haraldei@anduin.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=anduin.net header.s=dkim2021 header.b=6o2twaNR; dmarc=pass (policy=reject) header.from=anduin.net; spf=pass (mx1.freebsd.org: domain of haraldei@anduin.net designates 185.42.170.45 as permitted sender) smtp.mailfrom=haraldei@anduin.net 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:To:From:Date:Sender:Reply-To:Cc: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=iloVUDhZJOlk2VHNCmHV7wy3SFSg8rmXpgguxfMKRaY=; t=1742465731; x=1743329731; b=6o2twaNRn8At2OCEQu/AOlwAUDzgp6e2/E0IRtOWoHwpjZzCyIIpXaKB9+OurFHUE/ppVxM7qzw IbjfBcLee8+L9toaRjihSeM9EuPomD3wKOwGP8YkoIk4V3cKg6HYAfGtqFgREx0e1qQUTFh6TGcQ2 KP/Wdiu6pLU66BKXK9PcpMGWm5FahRWvvy4K5ehVWKlodDadfp/SZdxJakFiUavogukd0WzjAtS8w JNsqxmgeJLod2loB+E5mYRr18iaZoC8dLZreSxPGkEDK+cuHu+5c6y1Zlodbd1SShe8SZedAyuaE5 2Wx/0w93KPDbUaxSyGHx/qF0AMiTtooKiIFA==; Received: by mail.anduin.net with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.97.1 (FreeBSD)) (envelope-from ) id 1tvCvq-00000000Ffu-1Typ for freebsd-java@freebsd.org; Thu, 20 Mar 2025 10:15:23 +0000 Date: Thu, 20 Mar 2025 11:15:21 +0100 From: Harald Eilertsen To: freebsd-java@freebsd.org Subject: Re: java/openjdk19 fails to build on aarch64 Message-ID: Mail-Followup-To: freebsd-java@freebsd.org References: <4dda4c06-fc1c-40e0-9960-048c9c776125@chen.org.nz> <82f3dead-8438-4ecb-91d4-ccc486c72c3f@chen.org.nz> <9bc59721-4428-4fda-9357-00e368c02d8f@chen.org.nz> 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: <9bc59721-4428-4fda-9357-00e368c02d8f@chen.org.nz> 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-Result: default: False [-3.85 / 15.00]; RBL_SENDERSCORE_REPUT_9(-1.00)[185.42.170.45:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[anduin.net,reject]; MID_RHS_NOT_FQDN(0.50)[]; NEURAL_HAM_LONG(-0.35)[-0.351]; R_SPF_ALLOW(-0.20)[+ip4:185.42.170.45/32]; R_DKIM_ALLOW(-0.20)[anduin.net:s=dkim2021]; MIME_GOOD(-0.10)[text/plain]; FREEFALL_USER(0.00)[haraldei]; RCVD_TLS_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:62248, ipnet:185.42.170.0/24, country:EE]; RCVD_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[freebsd-java@freebsd.org]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[anduin.net:+] X-Rspamd-Queue-Id: 4ZJM0N0jdRz3S8V X-Spamd-Bar: --- On Thu, Mar 20, 2025 at 04:33:15PM +1300, Jonathan Chen wrote: > On 19/03/25 22:24, Harald Eilertsen wrote: > > libraries.m4 should be patched before configure is run, which again > > produces spec.gmk. Otherwise it would be no point in patching it to > > begin with... > > You are correct. I only realised this just after I pressed the "Send" > button. So I dug into this a bit deeper, and it appears that > make/autoconf/build-aux directory has a later timestamp than spec.gmk after > the configure phase. This was from a clean work directory in the port? I see that gonfig.guess and config.sub for some reason is touched during the port build, but I'm not sure why. (This does not seem to happen when just building the jdk normally.) As you also observe this still happens before the spec is generated. Other than that I don't know what else that can happen to the dir during build. I'm not able to replicate this no matter what shenanigans I do to the work dir in the port. > To force the build to ignore the warning, I applied the following patch: > > diff --git a/java/openjdk19/Makefile b/java/openjdk19/Makefile > index 76e8910459..4b84b82092 100644 > --- a/java/openjdk19/Makefile > +++ b/java/openjdk19/Makefile > @@ -48,7 +48,7 @@ MAKE_ENV= LANG="C" \ > CC=${CC} \ > CXX=${CXX} \ > CPP=${CPP} \ > - MAKEFLAGS="" > + MAKEFLAGS="CONF_CHECK=ignore " What happens if you set CONF_CHECK=auto instead? Do you get a build cycle? Take care! H!