From nobody Tue Nov 25 13:45:07 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 ESMTP id 4dG3pr06N6z6JB7s for ; Tue, 25 Nov 2025 13:45:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dG3pq5n2dz3K8N for ; Tue, 25 Nov 2025 13:45:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764078307; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mx2xVeYtLqGvzhQhTJ1vp9qsD9uKqanawisMiBlTLhQ=; b=qbsyzJmOfmvCWf1U7xxQMpIJH867lcAJRLlpQirPgPByFJVZQoAmwOAyzgPJisrlf4lFo7 lC3VbVLXzv0mZ7XegZk/+jF0kDQ0hManW8yb8Y9tjyBE83/OME0BzGKVvib41lNfGFoZCK a28kw5kzjhydQIqvPn+l/jY7W4MFhOL1wk6xSFDUvpJF8br63bmV7i7AkACoIlR17IzLkr 5HQ54wKIww+LxhJjTDAfFexcjU305cdADEI28Y9sGGMm9QFR81DNxjFrkx0ZM9vwG46SsN EuJ260Zk7Tz7/z7dGAvCj/kcEWhSpIJcePtEqAmDchQceBdkVvXnumaGc22Nxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1764078307; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mx2xVeYtLqGvzhQhTJ1vp9qsD9uKqanawisMiBlTLhQ=; b=mCDiuEoDvi5PeHa/lTZeEiuFxtkIz6AVvo6JlIQHgbR2u47Q1l218KhsUte0dsjgjl42aY epsTh3zrBmVwjaYt2MmJUl8j+zUYUyNrnunBcKqK6iFQEtcHVlIwwN7oOKfFbSQW6ZIfn2 4VrtxBitBRIydGmOTx0iG1+ZTVMp8UH4qinJp2EpRAkrCHtqOip+/U7YIBd9U/eQ7I6PJQ tNoxHDxn74X4vkCnXiE4k64VV6yKcGUzBJIFxW/L3qcQ06eNsi5yjqEjgaNsr+7N7X4jLt 5duiPutL3JZnBwxuEH0QR0fDLkbwcjdjcMSjQx7S6+3dGIRPW544XYw0SaZVSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1764078307; a=rsa-sha256; cv=none; b=BsKHMHQuIZ7Fie4njFD9KKfng8n3gQg3wUX0V1fhI80MkHhk7vDNcAoYlzl4R7Q11dVoBJ AeXFe1545aKhfFG7hsfx92V5fedNYsRMNssB380/RO9CXxOZIrNbyKLhLbME8lCe96eGem /3akaHhHJzYsOjahswCzpk5KR5C/daEYl4DThPV9QAJEiWBNvoq82+xJLzEcTSRv0YDVVZ TosV5JG+43yQ9Ce0E6iNM1f4ju+PNszATNUPuod8X31N0ADfRD5QT9RwXlAHgY1iD4vgne p0a/1kHr0Phco2Ty1OGGeXYMQ4IWzUceObNJulNZv0uXE027tNjHRaEikpVVdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4dG3pq5BMwz1363 for ; Tue, 25 Nov 2025 13:45:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5APDj7JB083671 for ; Tue, 25 Nov 2025 13:45:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5APDj7e8083670 for java@FreeBSD.org; Tue, 25 Nov 2025 13:45:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 266059] java/openjdk*: Create x11 FLAVOR to support headless (no-x11) default Date: Tue, 25 Nov 2025 13:45:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266059 --- Comment #14 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D558ad9ce89912a8c688d03c7e2560b5= 5d49c5541 commit 558ad9ce89912a8c688d03c7e2560b55d49c5541 Author: Harald Eilertsen AuthorDate: 2025-11-12 13:39:14 +0000 Commit: Harald Eilertsen CommitDate: 2025-11-25 13:44:21 +0000 java/openjdk25: Add jre_headless flavor Add flavor to make a headless jre package, where dev tools and x11 support is removed. As requested in Bug #266059. PR: 266059 Reviewed by: fuz, jrm Approved by: fuz (Mentor), jrm Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53707 java/openjdk25/Makefile | 50 +++++++++++++++++++++++++++++----------------= ---- 1 file changed, 30 insertions(+), 20 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Nov 27 12:34:54 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 UTF8SMTP id 4dHG985KqQz6JJWN for ; Thu, 27 Nov 2025 12:35:08 +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 4dHG945lJ0z3LhW for ; Thu, 27 Nov 2025 12:35:04 +0000 (UTC) (envelope-from haraldei@anduin.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=anduin.net header.s=dkim2021 header.b="dHYvG/lU"; 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=Content-Type:MIME-Version: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: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Heo8OT/QZg0LQZTWivAcvhXbrDpgPyi0x6sxQeNGPHU=; t=1764246904; x=1765110904; b=dHYvG/lUzVPqCmBm+T524WgEgMrix7xr3rZoO6NgVDX+aeCfigKz0ZOGaqpXe+CueXBOW/vos6Q O28l/E85LmHUDzxQA8vICJUFARHlWIDM675puVfo5vgdKUebDAW92ySh3DGz6I9OW6wECBKTMTUh9 V+DvAC2umwm9gcvhDMqARgPdTrpuqilrSLq/0rroMiEOK3k4zwmiPN0ER0UL8SfjyTQ8yIzdhA/zI JBnIgi9H2T/BDEoh7B0sPGorU/2LZPyEOqySd8bMYBBxmBO9EdlCiheOFXzUGrEESOWGOpDw5VAOc S9HR1A1mXjWDs5eGsMyO7iDuZu9R3fraaxxw==; Received: by mail.anduin.net with utf8esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.98.2 (FreeBSD)) (envelope-from ) id 1vObD5-00000000Cmn-05M6 for freebsd-java@freebsd.org; Thu, 27 Nov 2025 12:34:56 +0000 Date: Thu, 27 Nov 2025 13:34:54 +0100 From: Harald Eilertsen To: FreeBSD Java mailing list Subject: Introducing FLAVORS in the OpenJDK ports Message-ID: Mail-Followup-To: FreeBSD Java mailing list 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 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 [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; 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]; FREEFALL_USER(0.00)[haraldei]; RCVD_TLS_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; 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]; BLOCKLISTDE_FAIL(0.00)[185.42.170.45:server fail]; MLMMJ_DEST(0.00)[freebsd-java@freebsd.org]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[anduin.net:+] X-Rspamd-Queue-Id: 4dHG945lJ0z3LhW Hi, I've updated the java/openjdk25 port to use the FLAVORS mechanism to be able to build variants of the port. This allows for building the JRE variant, and headless variants of both the JRE and the full JDK. However, this also introduces som issues that currently are being discussed here: https://reviews.freebsd.org/D53782 I've also written a bit about my thoughts on this in a post on my blog: https://kodeknekkeriet.net/en/blog/introducing-flavors-in-openjdk-freebsd/ I'm not entirely sure this is the way to go, but I would really welcome input from the community on this. Both users of the OpenJDK, and people more familiar with the FreeBSD ports system than I am. Thanks a lot! Harald