From nobody Sun Oct 06 21:23:23 2024 X-Original-To: freebsd-ports@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 4XMFd92VxLz5YYqq for ; Sun, 06 Oct 2024 21:23:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XMFd91LLBz3xYk; Sun, 6 Oct 2024 21:23:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728249805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9TmZN+IxhPNW5LuEZ4nbmRmiI7LyoYsR8yfXa2f/WMQ=; b=x+JwSic97rP60Q2tvnnFYJguNqt7+eNJ4DSvIVVUm8U5hPWqPpwW+7wLV15278GzffBrPS vbtIlWyVncIGZ1ukY9JlSF+fy1iJ5231LTwiV4ED7qjvCxD1v0nuZ8dyaCgPu5QtzH1P7R yFFKX6E0tvVsLWj+7FJ26me6etWEcZfhgmakD0EP4HI54imHN3nEBPudcVoNQV+8Yh/W3p 7KDh8yVSH2JdFz7BjlvE+UxMa0NTa9ElMeViFl/IDE4INcb0JDVUoGTkjxZVn6HwVBmA51 cozZX6ikgHaW1LtaUgVcE6/fPc3v4m3vEKE1ZTX8gqToR4NzJdxvZRg03VP2aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728249805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9TmZN+IxhPNW5LuEZ4nbmRmiI7LyoYsR8yfXa2f/WMQ=; b=iZNsuIy+xDnefaoNHOvRhSfgxkTja1bQ0MUzrbhU8ersxPNU0yLkg5zqJyCqON3sW8zjkH pENhigCvuqhL1sTTpWqGvShk1eC9zrkQmTlaMV8VH1i+LRCR29j2hqVpnTRICn/yo1y2LZ unwmzQlz++kqUrMtSYLdjj2aGmrYJnOuSHxRgUMeBfRRdjf6dzpWBo8udgrzBrLz3SI8pd k+9WmAF0T9+/9LURrPgzYEdB+VcWTpN/hYgeJmo6+PlMj9SjnlMkwyR6jLt9zyveBRKJct bwqCY0jzdwessDRdDg/gGtXVr1GyFDlhphntWNsuozc2OhspkZz8MBx9S3q6eA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728249805; a=rsa-sha256; cv=none; b=Cx9/gDYcYHAlUkAzmD4pqdUdLfIqk2S40CfBpBr6C4nvudLaZ5kQDmjS0UyrxW/an4ZgZs tAmMD0Ko9cgGa1rccqXyNGgMIcBAGH179CH3EvdYQD0cXynzRiUqen+bLe3wZNgJv70Y3U YiT3Ym+MozuUBYsB+pTj77G4YLYJttQLYB3UbImGfWuc8s5Lyazzo2u6HfLdW89FC0u40K SwrLBvYOhFrYBKoaGFVem9q3Ucv+rrvifLAb3ShUVN+bJqk1DfNktPkv7sAihIvyBEuWrO vgVNWotX3UCIQqfHXvZKTVZKmV58CbF8uK0nxMgL5BlheRX8v9X/l0UJ8m4WYA== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R10" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4XMFd90D26zXC4; Sun, 6 Oct 2024 21:23:25 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 8318B38C91; Sun, 06 Oct 2024 23:23:23 +0200 (CEST) Content-Type: text/plain; charset=us-ascii List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.2\)) Subject: Re: devel/qt6-tools does not build with LLVM 19 From: Dimitry Andric In-Reply-To: <3b6076fb-3d9b-42e1-a9a6-f15df5409aa7@groumpf.org> Date: Sun, 6 Oct 2024 23:23:23 +0200 Cc: FreeBSD Ports ML Content-Transfer-Encoding: quoted-printable Message-Id: <29FB0890-BBAA-4EC3-A5C0-8E08D05F11B1@FreeBSD.org> References: <3b6076fb-3d9b-42e1-a9a6-f15df5409aa7@groumpf.org> To: Xavier Humbert X-Mailer: Apple Mail (2.3731.700.6.1.2) On 6 Oct 2024, at 20:44, Xavier Humbert wrote: >=20 > I use > DEFAULT_VERSIONS+=3Dllvm=3D19 > in my /etc/make.conf. >=20 > devel/qt6-tools does not build : >=20 > = /usr/ports/devel/qt6-tools/work/qttools-everywhere-src-6.7.3/src/linguist/= lupdate/clangtoolastreader.cpp:785:73: error: no member named 'getName' = in 'clang::FileEntry' > 785 | if = (!LupdatePrivate::isFileSignificant(fullLocation.getFileEntry()->getName()= .str())) >=20 > Reverting back to > DEFAULT_VERSIONS+=3Dllvm=3D18 >=20 > makes it compile fine >=20 > Read on Chromium forum, same error, reason is : >=20 >> commit 1b04e6d4a314cf677b5320b26f2746733b11152c >> Author: Hans Wennborg >> Date: Thu Jan 25 13:36:37 2024 >>=20 >> [clang] Remove use of FileEntry::getName() >>=20 >> That method was dropped recently. Instead, we should get the name via >> the new FileEntryRef class. That one has existed for a while, so this >> code works for both pinned and tip-of-tree Clang. It's better to import the upstream fix, obviously. I have been fixing llvm 19 related issues such as https://bugs.freebsd.org/281474, but this looks a little different. It's a bit strange that this error did not come up during the exp-run for https://bugs.freebsd.org/280562 ? -Dimitry