From nobody Thu Dec 08 16:24:23 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 4NSfcS06jcz4jrYx for ; Thu, 8 Dec 2022 16:24:24 +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 4NSfcR5P98z419Z for ; Thu, 8 Dec 2022 16:24:23 +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=1670516663; 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; bh=fqAiPFMGrgnZHGDrc+EAIh0RfNV8WHoFhrw0Mb2TUKw=; b=YWOJRTUg9rfuCA9xrViIMhwJzObR/GOEu0l2BpexttWiCu7p/k9c+mQD+9FM2edGJs1Ov1 a5X+izOTuiOU+z1AjiJRTh3ArBws8TSReXZxC56B5kDeptTyvb2tH2wqjDjdjCAyhn/n8h V45Nk5nv18EIBrtqQNw2AW6ArW3jNavgCVOo1ii8EN1MEurTWJpgLQuvdmvufvUtEdRc8q 0D5lEK8bT0jNzQk7hD9CRE5NQ0C/F+vSnV3UJ9sDMhkRurzSZap4+udSe84AeVyyDRI6Ma dTc9ub74KTLXXDzDG92OioclPbQlTrnN34f72tRvuZjAlG6K8PZmCNatQFgjMw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670516663; a=rsa-sha256; cv=none; b=DQeX3RW+iTp+suHrUGCkJ1kyJwHpCPKUf6U90coninWaTsXOL1iFuKOyo13nVDl+zXbU5r 18YjiaEg6SYf0A26JusuB0jyLww0xbeCMVc5+Abxwoov4wRh8TogR18uLK9juSyOMw7+2o sIXgG9e5ah8ytkV3jilgqhiIyCgb72ZZfaX5eKJXJIHbICeX/L5UkDXPea5UwsjJG0nUDf Ky0Mw8k+V0z+gFHNahjPeu64QHBPC9Dc959828OCXAD4fWoHze8Yjg3yAVGMvas+UFEOwp 0QfyKOTG5z4lYu1t/v4JYPv3Bn6cItz9X/yk9RwXU2+SjXnn7ZZb0dN9te8zyw== 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 4NSfcR4BRXz12K8 for ; Thu, 8 Dec 2022 16:24:23 +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 2B8GONLJ000117 for ; Thu, 8 Dec 2022 16:24:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2B8GONxD000116 for ports-bugs@FreeBSD.org; Thu, 8 Dec 2022 16:24:23 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: ports-bugs@FreeBSD.org Subject: [Bug 268247] devel/cvise: fix build with devel/llvm15 installed Date: Thu, 08 Dec 2022 16:24:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: dim@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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: 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 Bug ID: 268247 Summary: devel/cvise: fix build with devel/llvm15 installed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org CC: brooks@FreeBSD.org, swills@FreeBSD.org CC: brooks@FreeBSD.org, swills@FreeBSD.org During an exp-run for llvm 15 (see bug 265425), it turned out that devel/cv= ise failed to build if devel/llvm15 is also installed: =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 /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 f= rom 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. --=20 You are receiving this mail because: You are the assignee for the bug.=