From: fosslinux <fosslinux@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] bat: add missing clang dependency
Date: Tue, 19 May 2020 11:59:47 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22123@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 923 bytes --]
There is a new pull request by fosslinux against master on the void-packages repository
https://github.com/fosslinux/void-packages bat-compilefix
https://github.com/void-linux/void-packages/pull/22123
bat: add missing clang dependency
Without this dependency it fails with:
```
error: failed to run custom build command for `onig_sys v69.2.0`
Caused by:
process didn't exit successfully: `/builddir/bat-0.15.0/target/release/build/onig_sys-b7b00ef0204bbf11/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to find libclang: "couldn\'t find any valid shared libraries matching: [\'libclang.so\', \'libclang-*.so\', \'libclang.so.*\'], set the `LIBCLANG_PATH` environment variable to a
path where one of these files can be found (invalid: [])"', src/libcore/result.rs:1188:5
```
A patch file from https://github.com/void-linux/void-packages/pull/22123.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bat-compilefix-22123.patch --]
[-- Type: text/x-diff, Size: 743 bytes --]
From 967d510bedd02603c8f068cad06e9fc6306365b1 Mon Sep 17 00:00:00 2001
From: fosslinux <fosslinux@aussies.space>
Date: Tue, 19 May 2020 19:58:33 +1000
Subject: [PATCH] bat: add missing clang dependency
---
srcpkgs/bat/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/bat/template b/srcpkgs/bat/template
index b2228d98d39..3f3b82459d7 100644
--- a/srcpkgs/bat/template
+++ b/srcpkgs/bat/template
@@ -3,7 +3,7 @@ pkgname=bat
version=0.15.0
revision=1
build_style=cargo
-hostmakedepends="cmake llvm"
+hostmakedepends="cmake llvm clang"
makedepends="libcurl-devel libssh2-devel oniguruma-devel"
short_desc="Cat(1) clone with syntax highlighting and Git integration"
maintainer="John <johnz@posteo.net>"
next reply other threads:[~2020-05-19 9:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-19 9:59 fosslinux [this message]
2020-05-19 10:35 ` [PR PATCH] [Updated] " fosslinux
2020-05-19 14:17 ` Johnnynator
2020-05-19 14:18 ` Johnnynator
2020-05-19 14:18 ` [PR PATCH] [Closed]: " Johnnynator
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22123@inbox.vuxu.org \
--to=fosslinux@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).