Skip to content

Error build helix from source in Fedora 35 #1223

Closed
@CrazyRoka

Description

I can't build helix from source in Fedora 35. Here is error log:

   Compiling helix-syntax v0.5.0 (/home/rostyslav/Programming/helix/helix-syntax)
error: failed to run custom build command for `helix-syntax v0.5.0 (/home/rostyslav/Programming/helix/helix-syntax)`

Caused by:
  process didn't exit successfully: `/home/rostyslav/Programming/helix/target/debug/build/helix-syntax-c6dbd35e530d3f72/build-script-build` (exit status: 101)
  --- stdout
  Build language c-sharp
  Build language agda
  Build language java
  Build language cmake
  Build language javascript
  Build language bash
  Build language css
  Build language latex
  Build language elixir
  Build language glsl
  Build language go
  Build language html
  Build language cpp
  Build language json
  Build language julia
  Build language c
  Build language ledger
  Build language lua
  Build language nix
  Build language perl
  Build language php
  Build language protobuf
  Build language python
  Build language ruby
  Build language rust
  Build language scala
  Build language svelte
  Build language swift
  Build language toml
  Build language tsq
  Build language vue
  Build language wgsl
  Build language yaml
  Build language zig

  --- stderr
  thread 'thread '<unnamed>' panicked at '<unnamed>called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)' panicked at '', called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)helix-syntax/build.rs', :helix-syntax/build.rs172::17236:
  36note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread 'thread '<unnamed><unnamed>' panicked at '' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', ', helix-syntax/build.rshelix-syntax/build.rs::172172::3636

  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread 'thread '<unnamed><unnamed>' panicked at '' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', ', helix-syntax/build.rshelix-syntax/build.rs::172172::3636

  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', thread 'helix-syntax/build.rs<unnamed>:' panicked at '172called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', :helix-syntax/build.rs:36172
  :36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rsthread ':172<unnamed>:' panicked at '36called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)
  ', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread 'thread '<unnamed><unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)' panicked at '', called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)helix-syntax/build.rs', :helix-syntax/build.rs172::36172
  :36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to execute C compiler

  Caused by:
      No such file or directory (os error 2)', helix-syntax/build.rs:172:36
  thread 'main' panicked at 'assertion failed: `(left == right)`
    left: `0`,
   right: `34`', helix-syntax/build.rs:201:5

I have already installed GCC, but it didn't helped

gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Also cc alias works

cc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions