tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: textproc/bat dependency on clang?



On Tue, Oct 20, 2020 at 10:29 AM Michael-John Turner <mj%mjturner.net@localhost> wrote:
>
> Hi,
>
> Does anyone know why textproc/bat has a dependency on lang/clang?
> lang/rust-bin and lang/llvm (a clang dependency) conflict so I tried a
> built of textproc/bat with the clang dependency removed and it built
> (and works) without problem. Note that I used rust-bin and not rust.
>

Yes, there is a dependent rust crate onig_sys v69.2.0 which failed to
compile when libclang.so was not present in the dependency.

The details can be found in this commit.

https://pkgsrc.se/files.php?messageId=20190906173204.C9080FBF4%cvs.NetBSD.org@localhost

> Can anyone see a problem if the dependency is removed?
>

I have not checked if the dependency issue has changed in the future versions.

Can you remove lang/clang completely from your system, make sure there
is no libclang.so and try rebuilding textproc/bat again and let me
know if the problem persists?

> Cheers, MJ
> --
> Michael-John Turner * mj%mjturner.net@localhost * http://mjturner.net/
>

Regards
Santhosh


Home | Main Index | Thread Index | Old Index