Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo install bat is failing #626

Closed
Dowwie opened this issue Aug 9, 2019 · 8 comments
Closed

cargo install bat is failing #626

Dowwie opened this issue Aug 9, 2019 · 8 comments

Comments

@Dowwie
Copy link

Dowwie commented Aug 9, 2019

"cargo install bat" is failing, raising a large number of onig related errors during compilation

debian OS, rustc 1.36.0

@sharkdp
Copy link
Owner

sharkdp commented Aug 10, 2019

Thank you for reporting this. Which architecture are you on?

I did experience similar errors in the aarch64 build which I had to temporarily disable (see build logs in #621).

@sharkdp
Copy link
Owner

sharkdp commented Aug 10, 2019

This could actually be related to rust-onig/rust-onig#105
Hopefully the update to the latest version of syntect (see #628), which includes the newest version of onig, fixes this.

@sharkdp
Copy link
Owner

sharkdp commented Aug 10, 2019

Could you please re-try with the latest master? If it still fails, could you please post the build log with the errors?

@Dowwie
Copy link
Author

Dowwie commented Aug 10, 2019

@sharkdp I'm using debian stretch, amd64. A build of the master branch works. Thanks for resolving. bat is a great utility that I use every day. Please note that the error was first encountered through cargo install, so the crate will require updating too.

@Dowwie Dowwie closed this as completed Aug 10, 2019
@sharkdp
Copy link
Owner

sharkdp commented Aug 31, 2019

Released as bat v0.12.

@rekka
Copy link

rekka commented Sep 3, 2019

cargo install bat still failing on Ubuntu 18.04 due to rust-onig/rust-onig#109 (bat version 0.12.1)

@sharkdp
Copy link
Owner

sharkdp commented Sep 3, 2019

@rekka Thank you for reporting this. Could you please open a new ticket for this?

@rekka
Copy link

rekka commented Sep 4, 2019

@sharkdp Done in #650.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants