From nobody Fri Jul 3 09:37:51 2026 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 4gs7w02VZ3z6l3dt for ; Fri, 03 Jul 2026 09:37:52 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gs7w01wVGz42Wr for ; Fri, 03 Jul 2026 09:37:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1783071472; 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=2LMoo4nXVpuQYVLqhZM7826zbYwSbDrZXG2u1Ce4TH8=; b=weXtgDKTgm6oqKY//h5EouXvAitMhAhAro22liC2Op36G4Szh2+Pr0tTJhaZeH9b5APFc0 olwRRAqar61ks/F1YYy/oaTgJqXKHfsRzVU77RKtjMsmn3sGY6Su8sAXwgXpfRzOHCenNL LnkiJXMDGfnpAchQFcza69Xmux0g/SVKF/RDz/vOZOhO5nM33PV6vzfnObMMbN7YIvpQgb /2+kdsQuHRkvLY4pS3EOWuIo9+u3mb6rpmz54UPpQwGndRIlgdWrmYPHcnEPIICVuXISwD XXG0Bst/nmiinPhjIcKhS1CVaThk56K2IYB8YJ19sG1b/bSHrDD2TD2mGkVCVw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1783071472; a=rsa-sha256; cv=none; b=Kl3qewPWygn2rdb1Q5Rz20uXg1VYWbhHxZ/z4vXTjctTC2ji1yDBZxfvXzFH/RjDmb5qQ2 hoAiklZm0pNUQpqEsbpVzZxNLE9RfXxwtWiairPsIx1rgTSB5uutcgqWdTj2ySahw3GmHU maECMR+ANZ8UnnRzFx9ilOUGmpSAL6gudDmOEuxvx9Knh2M/grDDkfcdtIQOyrgh4otghj MaWU1MbzON4aOINPvms1o4CFgRaEKcHpg0BHn2tIrss1EDWTAbMYRHQ1moOFxrvSZF7pg2 hKZMtS48wmvEbECu7f92HsKUEoon71C1TZOhcK+PNphNjhvppHU7DlkfyUkZ5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1783071472; 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=2LMoo4nXVpuQYVLqhZM7826zbYwSbDrZXG2u1Ce4TH8=; b=Z2QOeOKNM7q5T27spwbiYLBXnxCJw4kVwmWW03xPdBe0WrOg8FhQLNanFGpJWmNeDU/3Rz eSE2y5shI/TVqgGMjNlyJs3hriwI6/ebkvLpByIU3+gEk2yllI1kA+49EJDm3ZV1HCEF7x e9IMlikPJ9r9dDVaFMPuzFnobsJmGg4ZWrRw5h52pR1clg6BFDYbIFdXIJLB1Ms/8HBima RhTDGbA+1rK/sUeUjnfUd/0IcT63l2A0bwITg+bbLZMheymJol1QAycTNEgQN6IcKSYnv2 ozd4vUDXSCjo3DsEHjDn8OGUMgEOQRDd74LbcnBFmzmIrm1thHTXuhxG8YS/mw== 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 4gs7w0074zzjgr for ; Fri, 03 Jul 2026 09:37:52 +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 6639bphC001972 for ; Fri, 3 Jul 2026 09:37:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 6639bpxp001971 for java@FreeBSD.org; Fri, 3 Jul 2026 09:37:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 296414] java/openjdk25: flavor headless doesn't get used Date: Fri, 03 Jul 2026 09:37:51 +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: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ronald@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: cc 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296414 Ronald Klop changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ronald@FreeBSD.org --- Comment #7 from Ronald Klop --- Well. It is pretty easy to extent /usr/ports/Mk/Uses/java.mk with support f= or something like JAVA_FLAVOR=3D-headless. https://cgit.freebsd.org/ports/tree/Mk/Uses/java.mk#n403 -DEPEND_JAVA=3D ${JAVA}:${JAVA_PORT} +DEPEND_JAVA=3D ${JAVA}:${JAVA_PORT}${JAVA_FLAVOR} I think we could even automate this a bit by handling OPTIONS_UNSET+=3DX11 = in java.mk. That will bring a lot of what you are looking for. Some issues that might arise: - -headless is only implemented for openjdk25 and 26. All older jdk versions don't have that. - the number of possible configurations increases a lot. Experience shows m= ost of these configurations will not be tested pro-actively. I'd expect if we add JAVA_FLAVOR, that in the near future we get bug reports like: port XYZ does not work with JAVA_FLAVOR=3D-jre-headless. Does somebody want to spent time on handling these issues when they are reported in the future? Or are we happy with the stability of the current situation of Java on Free= BSD? NB: this JAVA_FLAVOR is at compile time, so the package builders will choos= e 1 flavor and build all Java ports with it. This does not give a choice at pkg install time to run pkg X with java-headless. With the idea above you would need to build your own packages with JAVA_FLAVOR set. --=20 You are receiving this mail because: You are the assignee for the bug.=