Page MenuHomeFreeBSD

java/openjdk21-25: Bootstrap from prebuilt packages
Needs ReviewPublic

Authored by haraldei on Thu, Jan 15, 1:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Feb 4, 2:27 AM
Unknown Object (File)
Sun, Jan 25, 3:32 PM
Unknown Object (File)
Thu, Jan 22, 5:28 PM
Unknown Object (File)
Wed, Jan 21, 9:19 AM
Unknown Object (File)
Mon, Jan 19, 8:46 PM
Unknown Object (File)
Sun, Jan 18, 9:49 PM
Unknown Object (File)
Sun, Jan 18, 9:26 AM
Unknown Object (File)
Fri, Jan 16, 1:04 AM
Subscribers
None

Details

Summary

Completes the transition to using prebuilt packages to bootstrap OpenJDK ports.

PR: 289731
Sponsored by: The FreeBSD Foundation

Test Plan
  • Test builds for as many platforms as possible

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 70545
Build 67428: arc lint + arc unit

Event Timeline

haraldei created this revision.

I'd love to get some feedback on this one.

Thanks in advance!

LGTM, sorry for the delay.
BTW, a bunch of Java ports are failing to build on armv7 due to Java crashes. How can I best let you know about them?

@haraldei, look at the diffs, nothing problematic stands out to me. I can do i386/amd64 build tests in about a day or so, if that's helpful. (I recently upgraded all my systems from 15 to 16-CURRENT, so all packages are rebuilding.)

In D54731#1254985, @fuz wrote:

LGTM, sorry for the delay.

No worries :)

BTW, a bunch of Java ports are failing to build on armv7 due to Java crashes. How can I best let you know about them?

The best is probably to report it on bugs.freebsd.org. I don't have an armv7 system to test though, but I may be able to figure out what the issue is.

In D54731#1255008, @jrm wrote:

@haraldei, look at the diffs, nothing problematic stands out to me. I can do i386/amd64 build tests in about a day or so, if that's helpful. (I recently upgraded all my systems from 15 to 16-CURRENT, so all packages are rebuilding.)

Nice, build tests on 16-CURRENT would be really useful. I have built them all on amd64 (and most of them on aarch64) on FreeBSD 15.

Harald, this doesn't apply for me.

jrm@ser /usr/src [main|✔] % git arc patch -bc D54731
Switched to a new branch 'gitarc-D54731'
Applying D54731...
 INFO  Base commit is not in local repository; trying to fetch.
Checking patch java/openjdk25/distinfo...
error: java/openjdk25/distinfo: does not exist in index
Checking patch java/openjdk25/Makefile...
error: java/openjdk25/Makefile: does not exist in index
Checking patch java/openjdk24/distinfo...
error: java/openjdk24/distinfo: does not exist in index
Checking patch java/openjdk24/Makefile...
error: java/openjdk24/Makefile: does not exist in index
Checking patch java/openjdk23/distinfo...
error: java/openjdk23/distinfo: does not exist in index
Checking patch java/openjdk23/Makefile...
error: java/openjdk23/Makefile: does not exist in index
Checking patch java/openjdk22/distinfo...
error: java/openjdk22/distinfo: does not exist in index
Checking patch java/openjdk22/Makefile...
error: java/openjdk22/Makefile: does not exist in index
Checking patch java/openjdk21/distinfo...
error: java/openjdk21/distinfo: does not exist in index
Checking patch java/openjdk21/Makefile...
error: java/openjdk21/Makefile: does not exist in index

 Patch Failed!
Usage Exception: Unable to apply patch!

@jrm Hoping it's because it's been a while, so rebased on main again and hope it works better now?

Yup.

jrm@ser /usr/ports [gitarc-D54731|✔] % git show --stat HEAD
commit 1a3ffbf76eb18ad6f1d90e9386abc4188b1e6e99 (HEAD -> gitarc-D54731)
Author:     Harald Eilertsen <haraldei@FreeBSD.org>
AuthorDate: 2026-01-28 15:03
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2026-01-28 15:03

    java/openjdk21-25: Bootstrap from prebuilt packages

    Completes the transition to using prebuilt packages to bootstrap OpenJDK ports.

    PR:             289731
    Sponsored by:   The FreeBSD Foundation

    Differential Revision:  https://reviews.freebsd.org/D54731

 java/openjdk21/Makefile | 23 +++++++----------------
 java/openjdk21/distinfo | 10 ++++++++++
 java/openjdk22/Makefile | 24 +++++++-----------------
 java/openjdk22/distinfo | 10 ++++++++++
 java/openjdk23/Makefile | 24 +++++++-----------------
 java/openjdk23/distinfo |  8 ++++++++
 java/openjdk24/Makefile | 28 +++++++++-------------------
 java/openjdk24/distinfo |  8 ++++++++
 java/openjdk25/Makefile | 20 +++++---------------
 java/openjdk25/distinfo |  8 ++++++++
 10 files changed, 79 insertions(+), 84 deletions(-)

Testing now.

Is there anything else needed for this review, or could I get it accepted?

Thanks!

Rebase on main again for updated openjdk21