From owner-dev-commits-ports-main@freebsd.org Sun Aug 15 21:01:32 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 898836665F4; Sun, 15 Aug 2021 21:01:32 +0000 (UTC) (envelope-from git@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 4GnqTl6l49z4Xmx; Sun, 15 Aug 2021 21:01:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 BE8061D033; Sun, 15 Aug 2021 21:01:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17FL1V1N005372; Sun, 15 Aug 2021 21:01:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17FL1VHS005371; Sun, 15 Aug 2021 21:01:31 GMT (envelope-from git) Date: Sun, 15 Aug 2021 21:01:31 GMT Message-Id: <202108152101.17FL1VHS005371@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Sergey A. Osokin" Subject: git: 78cffa6b85ae - main - databases/redisjson: fix build by adding libclang.so as dependency. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: osa X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 78cffa6b85aedc5970a894eb388241b846bc0e60 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2021 21:01:32 -0000 The branch main has been updated by osa: URL: https://cgit.FreeBSD.org/ports/commit/?id=78cffa6b85aedc5970a894eb388241b846bc0e60 commit 78cffa6b85aedc5970a894eb388241b846bc0e60 Author: Sergey A. Osokin AuthorDate: 2021-08-15 20:58:54 +0000 Commit: Sergey A. Osokin CommitDate: 2021-08-15 21:01:24 +0000 databases/redisjson: fix build by adding libclang.so as dependency. Here's the part of the failed build log: --- stderr thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang.so.*'], set the `LIBCLANG_PATH` +environment variable to a path where one of these files can be found (invalid: [])"', +/wrkdirs/usr/ports/databases/redisjson/work/RedisJSON-1ca78bc/cargo-crates/bindgen-0.59.1/src/lib.rs:2117:31 stack backtrace: 0: rust_begin_unwind 1: core::panicking::panic_fmt 2: core::result::unwrap_failed 3: core::result::Result::expect 4: core::ops::function::FnOnce::call_once 5: lazy_static::lazy::Lazy::get::{{closure}} 6: std::sync::once::Once::call_once::{{closure}} 7: std::sync::once::Once::call_inner 8: std::sync::once::Once::call_once 9: ::deref 10: bindgen::ensure_libclang_is_loaded 11: bindgen::Bindings::generate 12: bindgen::Builder::generate 13: build_script_build::main 14: core::ops::function::FnOnce::call_once note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. *** Error code 101 --- databases/redisjson/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/databases/redisjson/Makefile b/databases/redisjson/Makefile index 249edfc6deb2..ed0d45a1944d 100644 --- a/databases/redisjson/Makefile +++ b/databases/redisjson/Makefile @@ -18,6 +18,8 @@ USE_GITHUB= nodefault GH_TUPLE= RedisJSON:redisjson:1ca78bc:redisjson \ RedisJSON:jsonpath:14af7aa5435f3e676ceb3441ad78b9c8cb3ffa3a:jsonpath_lib +LIB_DEPENDS= libclang.so:devel/llvm${LLVM_DEFAULT} + CARGO_CRATES= aho-corasick-0.7.15 \ ansi_term-0.11.0 \ array_tool-1.0.3 \