* [PR PATCH] bat: add missing clang dependency
@ 2020-05-19 9:59 fosslinux
2020-05-19 10:35 ` [PR PATCH] [Updated] " fosslinux
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: fosslinux @ 2020-05-19 9:59 UTC (permalink / raw)
To: ml
[-- 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>"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] bat: add missing clang dependency
2020-05-19 9:59 [PR PATCH] bat: add missing clang dependency fosslinux
@ 2020-05-19 10:35 ` fosslinux
2020-05-19 14:17 ` Johnnynator
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: fosslinux @ 2020-05-19 10:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 928 bytes --]
There is an updated 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: 770 bytes --]
From c0b42568e4fdaddbc007257565605ce87986dc47 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
Some random crate needs it
---
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>"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bat: add missing clang dependency
2020-05-19 9:59 [PR PATCH] bat: add missing clang dependency fosslinux
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
3 siblings, 0 replies; 5+ messages in thread
From: Johnnynator @ 2020-05-19 14:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 199 bytes --]
New comment by Johnnynator on void-packages repository
https://github.com/void-linux/void-packages/pull/22123#issuecomment-630849604
Comment:
resolved with e1d248e0f47ff47c87b5318c96a73d5d530db65b
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: bat: add missing clang dependency
2020-05-19 9:59 [PR PATCH] bat: add missing clang dependency fosslinux
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
3 siblings, 0 replies; 5+ messages in thread
From: Johnnynator @ 2020-05-19 14:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 199 bytes --]
New comment by Johnnynator on void-packages repository
https://github.com/void-linux/void-packages/pull/22123#issuecomment-630849604
Comment:
resolved with 31d248e0f47ff47c87b5318c96a73d5d530db65b
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Closed]: bat: add missing clang dependency
2020-05-19 9:59 [PR PATCH] bat: add missing clang dependency fosslinux
` (2 preceding siblings ...)
2020-05-19 14:18 ` Johnnynator
@ 2020-05-19 14:18 ` Johnnynator
3 siblings, 0 replies; 5+ messages in thread
From: Johnnynator @ 2020-05-19 14:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 761 bytes --]
There's a closed pull request on the void-packages repository
bat: add missing clang dependency
https://github.com/void-linux/void-packages/pull/22123
Description:
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
```
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-05-19 14:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 9:59 [PR PATCH] bat: add missing clang dependency fosslinux
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
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).