bat failing to build on Fedora, due to onig_sys build failure.
What steps will reproduce the bug?
- cargo install bat
What happens?
see https://gist.github.com/akulbe/eebd60129501fc00778eb44af8404b52
What did you expect to happen instead?
for bat to build successfully
How did you install bat?
cargo install bat
bat version and environment
bat 0.25.0 isn't building
It might be worth trying with cargo install bat --locked to ensure it installs with the pinned/known to work dependency versions
I just tried that, and the results were the same. Would creating another
gist (with the --locked option) be helpful?
On Fri, Mar 21, 2025 at 10:08 AM Keith Hall @.***> wrote:
It might be worth trying with cargo install bat --locked to ensure it installs with the pinned/known to work dependency versions
— Reply to this email directly, view it on GitHub https://github.com/sharkdp/bat/issues/3234#issuecomment-2743964862, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA6DD3ZWATRHFVFCKRSTJ32VRBQPAVCNFSM6AAAAABZQNPCXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONBTHE3DIOBWGI . You are receiving this because you authored the thread.Message ID: @.***> [image: keith-hall]keith-hall left a comment (sharkdp/bat#3234) https://github.com/sharkdp/bat/issues/3234#issuecomment-2743964862
It might be worth trying with cargo install bat --locked to ensure it installs with the pinned/known to work dependency versions
— Reply to this email directly, view it on GitHub https://github.com/sharkdp/bat/issues/3234#issuecomment-2743964862, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA6DD3ZWATRHFVFCKRSTJ32VRBQPAVCNFSM6AAAAABZQNPCXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONBTHE3DIOBWGI . You are receiving this because you authored the thread.Message ID: @.***>
Probably not necessary, thanks. It looks like the same issue as https://github.com/rust-onig/rust-onig/issues/191 to me
Probably not necessary, thanks. It looks like the same issue as rust-onig/rust-onig#191 to me
It looks like that issue has been fixed but a new release needs to be created for it and that is being asked for in https://github.com/rust-onig/rust-onig/issues/193
Le problème vient de la dépendance onig_sys utilisée par bat Plus précisément, cela casse avec Fedora 42 + GCC 15 La nouvelle version onig_sys Suivis sur le ticket rust-onig/rust-onig#193 Options : sudo dnf install compat-gcc-12 export CC=gcc-12 cargo install bat Options 2: CC=clang cargo install bat