From nobody Sun Dec 25 17:55:22 2022 X-Original-To: ports-bugs@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 4Ng7qb01Sjz1G7MW for ; Sun, 25 Dec 2022 17:55:23 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ng7qZ590cz3Cpt for ; Sun, 25 Dec 2022 17:55:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671990922; 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=3ij3Aqhq22ZyVxW5N9cRRdkV12lfqCJd2crj6lxUTBs=; b=junNHPzAz5YepZaqodBCiZgDbLKGQqh85UaToImeqm/eZtCCHYyaaYqQHxnP/1Xk0LK9+Q qL0IiPiZzDfnhpkB/XDry+a2NwOXdlTvbm7gG78LRWavvwFbCz3bAK/Vc+6hB6K3jvB0Zm Ur0C6ft4xJDGqs83t5Siy2b4nPyfaJL4ovzIwFUvzGule+PpZ3J1z8i9P756jcqpI6ZWW5 LY90OzF+gGbPG7vQ8D0U795ELpa9HoVKhmqLzYb99pHLbTf3EOXrl02Ppp+ganpW3aNbFM ITEMGP/YyeQquiglVUySt1i5JEe5CF7lPPwmd3THoelOT25JW2+WD07xF1+JeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671990922; a=rsa-sha256; cv=none; b=XJ8SXNvyJvjeHkhnoJyZ7+IyHibtV7XeS3Xy0ZlhQCFS3wXh1kcbHEhrmgVFO4JdH7Awwv NXJ265L9/kZ4wedhAS9FcBNPlco6P3gVtUz8/GIOVOYnQQgo5vlxVSoHyIYZ1Q5QVsqEuJ 6KCnSc0XuaDIl/hhS1u8Iu0+EvyHn3a/xCwO4UIXWQJ7y0n0woZsoU7XxM8SejFnYcrWg+ ILC4/x61pOimVBNwuWovMC2urMyZE4a9hTofli2RymoXo0+R7RV6Q7PrViuOE9q8bXBq3M SoVJgZ7oUEXSaeQV65AJXRFLWSR2qlstSsBjPUWDjCu5oZb+Mmq52vG15cmoOA== 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 4Ng7qZ4DGPz11cx for ; Sun, 25 Dec 2022 17:55:22 +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 2BPHtMF5035378 for ; Sun, 25 Dec 2022 17:55:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BPHtMZT035377 for ports-bugs@FreeBSD.org; Sun, 25 Dec 2022 17:55:22 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: ports-bugs@FreeBSD.org Subject: [Bug 268247] devel/cvise: fix build with devel/llvm15 installed Date: Sun, 25 Dec 2022 17:55:22 +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 Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268247 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D0f1ce09fbc7d660aacacf0428f26632= 896b89419 commit 0f1ce09fbc7d660aacacf0428f26632896b89419 Author: Dimitry Andric AuthorDate: 2022-12-08 16:18:19 +0000 Commit: Dimitry Andric CommitDate: 2022-12-25 17:50:27 +0000 devel/cvise: fix build with devel/llvm15 installed During an exp-run for llvm 15 (see bug 265425), it turned out that devel/cvise failed to build if devel/llvm15 is also installed: =20=20=20=20=20 /wrkdirs/usr/ports/devel/cvise/work/cvise-2.4.0/clang_delta/ExpressionDetec= tor.cpp:62:16: error: 'InclusionDirective' marked 'override' but does not override any mem= ber functions virtual void InclusionDirective(SourceLocation HashLoc, ^ =20=20=20=20=20 /wrkdirs/usr/ports/devel/cvise/work/cvise-2.4.0/clang_delta/ExpressionDetec= tor.cpp:62:16: warning: '(anonymous namespace)::IncludesPPCallbacks::InclusionDirective' h= ides overloaded virtual function [-Woverloaded-virtual] /usr/local/llvm15/include/clang/Lex/PPCallbacks.h:127:16: note: hidden overloaded virtual function 'clang::PPCallbacks::InclusionDirective' declar= ed here: type mismatch at 6th parameter ('Optional' vs 'c= onst clang::FileEntry *') virtual void InclusionDirective(SourceLocation HashLoc, ^ 1 warning and 1 error generated. This is because during the configure phase, it picks up ClangConfig.cmake from the llvm13 package, but LLVMConfig.cmake from the llvm15 package: -- Found LLVM 15.0.6 -- Using LLVMConfig.cmake in /usr/local/llvm15/lib/cmake/llvm -- Using ClangConfig.cmake in /usr/local/llvm13/lib/cmake/clang -- Found PythonInterp: /usr/local/bin/python3 (found suitable version "3.9.15", minimum required is "3.6") Add a -DLLVM_DIR flag to CMAKE_ARGS to point to the correct directory for LLVMConfig.cmake. PR: 268247 Approved by: maintainer timeout (2 weeks) MFH: 2022Q4 devel/cvise/Makefile | 1 + 1 file changed, 1 insertion(+) --=20 You are receiving this mail because: You are the assignee for the bug.=