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

Building grammar fails on Fedora #1915

Closed
Hofer-Julian opened this issue Apr 1, 2022 · 3 comments
Closed

Building grammar fails on Fedora #1915

Hofer-Julian opened this issue Apr 1, 2022 · 3 comments
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue

Comments

@Hofer-Julian
Copy link

Summary

Building grammar fails with:

  --- stderr
  thread 'main' panicked at 'Failed to compile tree-sitter grammars: Failed to build some grammar(s)

  Caused by:
      0: Failed to execute C compiler
      1: No such file or directory (os error 2)', helix-term/build.rs:22:26
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: SendError { .. }', helix-loader/src/grammar.rs:127:35
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: SendError { .. }', helix-loader/src/grammar.rs:127:35
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: SendError { .. }', 
warning: build failed, waiting for other jobs to finish...
error: failed to compile `helix-term v0.6.0 (/var/home/julian/Projekte/others/helix/helix-term)`, intermediate artifacts can be found at `/var/home/julian/Projekte/others/helix/target`

Tested with master as well as 22.03
rustc: 1.59.0

Reproduction Steps

git clone https://github.com/helix-editor/helix
cd helix
cargo install --path helix-term
hx --grammar fetch
hx --grammar build

Helix log

No response

Platform

Linux (Fedora Silverblue 35)

Terminal Emulator

gnome-terminal

Helix Version

helix master

@Hofer-Julian Hofer-Julian added the C-bug Category: This is a bug label Apr 1, 2022
@Hofer-Julian
Copy link
Author

On windows it seems to work fine.

@archseer
Copy link
Member

archseer commented Apr 1, 2022

This keeps coming up: #1223

@Hofer-Julian
Copy link
Author

@archseer thanks a lot.
I've actually installed a bunch of stuff with sudo dnf groupinstall "Development Tools" "Development Libraries".
Who would have thought that this is only a subset of sudo dnf group install "C Development Tools and Libraries" 🤷🏻

@kirawi kirawi added the R-duplicate Duplicated issue: please refer to the linked issue label Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug R-duplicate Duplicated issue: please refer to the linked issue
Projects
None yet
Development

No branches or pull requests

3 participants