From nobody Fri Oct 01 12:29:28 2021 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 B443417E8B2E for ; Fri, 1 Oct 2021 12:29:40 +0000 (UTC) (envelope-from barulheira@gmail.com) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HLTvR3mR3z3rhm for ; Fri, 1 Oct 2021 12:29:39 +0000 (UTC) (envelope-from barulheira@gmail.com) Received: by mail-qk1-x72f.google.com with SMTP id i132so8923595qke.1 for ; Fri, 01 Oct 2021 05:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=QpuSDE+sujG7Atzr4IWxMy+aSJKdzkO63Z/cdyCO9/s=; b=JNaPsSJMVAR3ODglWC3h+nlWoqfTaNbBZXOwHvLv1Xh3NN31a2M24xPI+yy5zOZgJE /i410+rgAWiASWnsz6RW5jyyagV8RMXYYxNvznynJidWfwtV3r0nN4X4KOOndS4DsafE EmywudWJ64IBOWpPLnaXn/z36DtE+9h9L4kwFlr3reLafWqFtCIMKyzK4cAU23EApEiK fYV8oU5V+hk0GltFpfLvcpuk3dFMRjM8OfAiNFW1xUjExWeoLZwAAbZu+y6akaK+26fz bnI9WPIpWYdwLPyWMYH8cfzKGmaG26n3ma8ZnnvQYOYZqIpMDTz1BNcMrkurKxZhzStP tZ4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=QpuSDE+sujG7Atzr4IWxMy+aSJKdzkO63Z/cdyCO9/s=; b=QF2uTdGSq5osSownY5PTrOZTH1zi4llXSkfvW2BXnOZRM1mfX1LgadsrB0UbL1eabh YJVTsRe1hblJ0g7EgS5QV2y9ZtklFRTDYUT3Ag0RGldl8p6Vpfm787pnwN/z6+o3W4Jw HY+xB259p2IKO+ufNWfTcbp01c+BKD81EuuYmVwAJfq3Ib0VdyMmCRlO/kVLHwPYcHAo 2eY1ZaZgaLiXuamTcmEa5OZk0bfVVqGJFpyUFYngCcoQdPZVXqvX32Gv1WCcuDNDn+KH cwzzV2Gy+bGeJC8gR6PRAofcKaK6DV4Lo3dIcW8xIhV4McC0fal3jDrVNO45VDFSdoQc ny2Q== X-Gm-Message-State: AOAM5300tvGZWY+XGOvbw9CTLYKTTOppm/8XS/qCSTj3pZLVaKza7X6g 50H+hHqlIJyJ0kpfRg2d55VjMOkjMpo= X-Google-Smtp-Source: ABdhPJwdPXEgcrH20TLneQco3tsJUArsQf7h3FkBuVE0RcbIy4Fggx7AnqC0MIfba+/ANn4tAIqzBQ== X-Received: by 2002:a37:681:: with SMTP id 123mr9093034qkg.508.1633091372716; Fri, 01 Oct 2021 05:29:32 -0700 (PDT) Received: from [192.168.6.1] ([177.40.9.188]) by smtp.gmail.com with ESMTPSA id b20sm3139089qtt.2.2021.10.01.05.29.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Oct 2021 05:29:31 -0700 (PDT) To: java@FreeBSD.org From: =?UTF-8?Q?S=c3=a9rgio_Siegrist?= Subject: java/openjdk17: Undefined symbol "hb_face_create_for_tables" in GTK2 Message-ID: Date: Fri, 1 Oct 2021 09:29:28 -0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 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=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 4HLTvR3mR3z3rhm X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=JNaPsSJM; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of barulheira@gmail.com designates 2607:f8b0:4864:20::72f as permitted sender) smtp.mailfrom=barulheira@gmail.com X-Spamd-Result: default: False [-3.44 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[177.40.9.188:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; R_MIXED_CHARSET(0.56)[subject]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[java@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72f:from]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N NetBeans IDE 12.5 enabled GTK3 support for its GUI. Until then, the following flag was required to enable GTK2: -J-Djdk.gtk.version=2.2 Right now, NetBeans 12.5 + openjdk17 open the GUI in GTK3. But it's ugly. I prefer GTK2. But... NetBeans 12.5 + openjdk17 + GTK2 yields the following: ld-elf.so.1: /usr/local/openjdk17/lib/libfontmanager.so: Undefined symbol "hb_face_create_for_tables" And the GUI crashes. - No problem at all with openjdk16. - No problem at all with GTK3. Hence, it seems specific to openjdk17 + GTK2. (Tested on openjdk17 built locally by ports, FreeBSD 13.0-RELEASE-p4 amd64)