From nobody Wed Apr 23 12:07:46 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 4ZjHtB3zmcz5tHt6 for ; Wed, 23 Apr 2025 12:07:46 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZjHtB2zHKz468D for ; Wed, 23 Apr 2025 12:07:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1745410066; 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=kjSqAjZC0jGJhIf3b6DlzCZYIEBEePrTWPeaQs3uZuk=; b=SH/XJFhdve6fm0Ouvnr4nFzW4esiDvsYnuHRNfw+DuLcBbHepnNkTLFJ5lyIgRVqECQXyd eT41xrVdKAPpO82J2YmXZIDUNgHZ7uvI32m+03XAJNMERwhk7AOHBJJOHg5kBNexUPgDrZ vjLp/6uuPmviSeMqPXhW0CGYeTDc1xKVH/lt3S830BmOoUQrl+AaGp1xel9yyycsqV3b+b qShr6K0jpJXeLo54yXY6NX1Uot5lz1T7FGcF28N0cBc3UMi3SPTb5lgWC5bZyUAeGPwKrf OjEaPzQTd5aBIDZ8IudSO0yZOAOgVNB9jMSaLRkrdn/IlRHxaeJ4tgAZT66rIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1745410066; a=rsa-sha256; cv=none; b=j8e+2MQjIY4u45OJkykSTKgRPue/uODoHi5KBEWTbQkwGBcOwIkyXvMNASYpdiKdaGsB44 nqr/9YfvqVEm6pM6HpbxPMTiq42riVGtztvy20L+Z3f8s+B/ivScJBLlrh70U6OhKvACiL VqB1c1gstjZy2zrlBxgDfdgqEVRFJntkVDte9xd2i2ins3FcIRtjxSQXQaKCizwFn0UnrC ffdy1+WweBirIqfVj+5iMcleTtWu9EY5gtYgcpAHR+XSjxSyNcD1dr/bWEIAAwpz9nKu8H YVlnVEOyMSQ02iZ09+WfKr6UlGXSqLMooG8r3p3+II06RB5If30qcWRsylhCaQ== 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=1745410066; 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=kjSqAjZC0jGJhIf3b6DlzCZYIEBEePrTWPeaQs3uZuk=; b=bzJel4L/sSjx0bCddt8snJrHLD+GLTJZNqYNtrSnJgZ91YcsNtOZR94QGKyygdm+2iFUv1 6r92gqvAt5r9pr0JfBc5REbQm82MK3gK4NrllH/iXlBn1DZKuLS0vPcf7r5ENEacLOeU5s nxHbo79wUMFo1MOlF7CvJHJTNmhNs4KNGW1BA0oEGItf0Z4anmY4qmZQMckMYbgfxBSCdu 4y4DV7qtKi5I6AMT9Md+PZLhsuGg5r4/wCeMH5FAP75GtlyhVdR8Kbkq727mdYG8roJQPP 4YivW9OXK809krTcMZ65vNO4TksOoxBVdv7Yj7es5vcYCrbr3ulcvPDgSOLq9Q== 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 4ZjHtB26whz12v7 for ; Wed, 23 Apr 2025 12:07:46 +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 53NC7kAs045050 for ; Wed, 23 Apr 2025 12:07:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 53NC7kps045049 for java@FreeBSD.org; Wed, 23 Apr 2025 12:07:46 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 286288] java/openjdk11: use system harfbuzz, ccache, etc. Date: Wed, 23 Apr 2025 12:07:46 +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: freebsd-2024@virtual-estates.net X-Bugzilla-Status: New 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 MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D286288 Mikhail T. changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd-2024@virtual-estate | |s.net --- Comment #2 from Mikhail T. --- (In reply to Harald Eilertsen from comment #1) > The ports for OpenJDK 17 and upwards already use the system harfbuzz I just tested java/openjdk17 and found the same problem I alluded to earlie= r. In the absence of the bundled libharfbuzz -- which absence can (and should!= ) be achieved by adding the --exclude libharfbuzz to the EXTRACT_AFTER_ARGS -- t= he build fails due to absence of the library's main header: /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.15-6-1/src/java.desktop/shar= e/native/libfontmanager/HBShaper.c:28:10: fatal error: 'hb.h' file not found 28 | #include "hb.h" | ^~~~~~ 1 error generated. Clearly, this error does not occur, when the bundled library is not exclude= d, which means, the bundled header is always used, even when --with-harfbuzz=3Dsystem is used. The patch I submitted yesterday modifies the make/lib/Awt2dLibraries.gmk to avoid the build-failure, when libharfbuzz is omitted, which should be good enough for our port. However, it may not be enough for when the bundled code is extracted as usu= al -- and the bundled header may be used with the system-provided library. The problem should be communicated upstream -- but their ticketing system is not open... --=20 You are receiving this mail because: You are the assignee for the bug.=