Re: java/openjdk19 fails to build on aarch64

Jonathan Chen <[email protected]>
Newsgroups gmane.os.freebsd.devel.java
Message-ID <[email protected]>
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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.