From nobody Sun Jun 04 16:22:50 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 4QZ28W1hSqz4ZHZM for ; Sun, 4 Jun 2023 16:22:51 +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 4QZ28W0Zthz3t0y for ; Sun, 4 Jun 2023 16:22:51 +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=1685895771; 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=IUmkYjmHl2KYT45yHONoedp+D/qXJjQUIWjhQ7v01GY=; b=LV7F9DNT4bU2ZnWQs3YmdFgDnA3rj5ZnepXouIk1pXxFVQkDXEPzLdKG74qhKRkIhlsSIS 59s0WroJfLyrtswgUCmgLxs9P8BnfCUq9Av2z0gxtNjKwWMTrzeavdXOZim7afz0dMR5j0 OcYWJPLavNqgQoApTueyGgM/kO83J0+kRDSrnN+P0a9eQMGxrNOgg4QqXZf3bd2ycRaEdg XCb9HScdZtlW5SYJRMGkL1pLxZIGjyeVBUPnrLPkVygv69EXR+ghbaZgSnHeGr1blI/kQA ds+MKb6CF5aSDHn3N2ajHMZvP6//G/xJZVmoGt1hpN1bBr7w15lgJQXm3WwgyQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685895771; a=rsa-sha256; cv=none; b=TJnEeNcUiynEBQR6HPCqOf5hTLxRvdxT8fS7zbO6LIlf7bmolOeFYSxGmmWAoPUgAf50Cf k6kRbzGPHTTZMLc2hTYvD1upKfSnsiYAR4/lG1jW4wlOIXpPdCn/tX/e9v4eiKjOs6WX7c OdOtlGhlSC7LhC6rFz+CWTFyVISeeP5HmyzI+U1h4rSUpZlxLWYh9dV3qzyIf0x2qPHg7n LrSKfPjzGGN67A7jZiU5Tu6sH2q0WF1Fkzn31979InFFUeFDjfh/ueUDdjwMIp8PzY+nHO 51cusjYYJKiO/2nDz2wKdl74t9p+a0hGQ5nWYdziR9Bjm/6hSICet6MqWA3nqA== 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 4QZ28V6pHzzDZd for ; Sun, 4 Jun 2023 16:22:50 +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 354GMo6f007359 for ; Sun, 4 Jun 2023 16:22:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 354GMoXD007358 for ports-bugs@FreeBSD.org; Sun, 4 Jun 2023 16:22:50 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 271821] devel/llvm16: broken CMake suport in -lite flavor Date: Sun, 04 Jun 2023 16:22:50 +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: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271821 Bug ID: 271821 Summary: devel/llvm16: broken CMake suport in -lite flavor Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: jbeich@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) Assignee: brooks@FreeBSD.org I'd like to use llvm16-lite in RPCS3 CI but CMake references a backend only exposed in shared library. find_package(LLVM 16.0) is enough to reproduce. Found via https://cirrus-ci.com/task/6573386822844416 For easier testing use the port: $ make clean all -C emulators/rpcs3 [...] CMake Error at /usr/local/llvm16/lib/cmake/llvm/LLVMExports.cmake:996 (message): The imported target "LLVMDemangle" references the file "/usr/local/llvm16/lib/libLLVMDemangle.a" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/local/llvm16/lib/cmake/llvm/LLVMExports.cmake" but not all the files it references. Call Stack (most recent call first): /usr/local/llvm16/lib/cmake/llvm/LLVMConfig.cmake:252 (include) 3rdparty/llvm.cmake:54 (find_package) 3rdparty/CMakeLists.txt:331 (include) with the following patch diff --git a/Mk/Uses/llvm.mk b/Mk/Uses/llvm.mk index 931ad99156f8..2f7cc26a30a1 100644 --- a/Mk/Uses/llvm.mk +++ b/Mk/Uses/llvm.mk @@ -96,7 +96,11 @@ _LLVM_MK_SUFFIX_${_ver}?=3D ${_ver} . endfor # =3D=3D=3D define variables to depend on and export =3D=3D=3D +.if ${_LLVM_MK_VERSION} >=3D 15 +_LLVM_MK_PORT=3D devel/llvm${_LLVM_MK_SUFFIX_${_LLVM_MK_VERSION}}@= lite +.else _LLVM_MK_PORT=3D devel/llvm${_LLVM_MK_SUFFIX_${_LLVM_MK_VERSION}} +.endif _LLVM_MK_LIBLLVM=3D libLLVM-${_LLVM_MK_VERSION}.so _LLVM_MK_PATH=3D llvm-config${_LLVM_MK_SUFFIX_${_LLVM_MK_VERSION}} _LLVM_MK_PREFIX=3D ${PREFIX}/llvm${_LLVM_MK_SUFFIX_${_LLVM_MK_VERSIO= N}} --=20 You are receiving this mail because: You are the assignee for the bug.=