From nobody Tue Oct 31 17:27:22 2023 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 4SKcXC1N65z4yfDV for ; Tue, 31 Oct 2023 17:27: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 4SKcXC0KKMz4F1v for ; Tue, 31 Oct 2023 17:27: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=1698773243; 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=VXeIRDtcmGesdOjUrnEZHfA0Jew/8US/8VDnLFksxYc=; b=XNRH4ps7QDs8xs5ilUHQKISSSZLZCKKFrYm3atVrL0/zjUtvQHDsgig4B4x9Cbu/FsZXAp HYT6ZbtIWVF4ht007LlmkkLzfPnk/U1fn+yusjkAKZbQ/OwGwk9LLtq/RIYLFNj65Tl17u hSPs9fyzqETJIRd0p0RvDu7ptNj5JXz6rSwpZqD/q3ekri3g79x3QxN0sUIt18FZXQZhFo lk2umGfXFRhpSWRPMAjm3mUrXRWJj41wHGLb+hj+Z64OFRogZBHZI5FDqDmYLXmhQmhPYv ugocAwkl+DIctUQBg6mQaak/gFCOKEIeu7vjvPR/oGkKDbjVpJ4W2a0l89GVwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698773243; a=rsa-sha256; cv=none; b=o0LkxB+1hGljl/Nuq89KuFMdB57RLWjFW12xV71H66U+Gc5ctuv4r2RYHFhQS49bC0pm/r EaN5DUHkskHDveIBb0z3EudA6wKZ2yubJE5h3tYpYw8A4BtxM5TbpEov8RYDdTECLzj5HE Of3MfcN0CIiE+0NTQBm0DR0XLjg4E7t58asv+kGw3XXr/GEPsLcEf1RnLxtW0xC8UqtZwX kuVcFRZhgJf7jOX3FnAvjhLPAntDROcT84wxSqNzm8ikrAc7vgDXlHSXq1RtkOU2BoPkht CPIlo80iaPGmSYyaPlL5LFZouk8fRMm6bu2R+C4z/oMWhR2M4IymJu57C+t9sw== 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 4SKcXB6Q0Kz1BWm for ; Tue, 31 Oct 2023 17:27: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 39VHRM1V094122 for ; Tue, 31 Oct 2023 17:27:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39VHRMqj094121 for ports-bugs@FreeBSD.org; Tue, 31 Oct 2023 17:27:22 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 274834] devel/cmake-core: Fails to find cmake config files in /usr/local/lib/cmake Date: Tue, 31 Oct 2023 17:27:22 +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 Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kde@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274834 Bug ID: 274834 Summary: devel/cmake-core: Fails to find cmake config files in /usr/local/lib/cmake Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: yuri@freebsd.org Assignee: kde@FreeBSD.org Flags: maintainer-feedback?(kde@FreeBSD.org) This script fails to find OpenCASCADE (cad/opencascade): > cmake_minimum_required(VERSION 3.26) > #set(CMAKE_PREFIX_PATH "/usr/local/lib") > find_package(OpenCASCADE CONFIG REQUIRED) The second line needs to be un-commented as a workaround, which shouldn't be the case. cmake obviously doesn't look for config files in /usr/local/lib/cmake. I am not sure what is the correct search path in general, but it should eit= her include /usr/local/lib/cmake by default, or all packages that install config files into /usr/local/lib/cmake should be changed to move them into the searched location. Otherwise this would cause problems for many ports. cmake-core-3.26.1_3 --=20 You are receiving this mail because: You are the assignee for the bug.=