Skip to content

helix-git AUR package compilation errors #1846

@Anomalocaridid

Description

@Anomalocaridid

Summary

When I try to update the helix-git AUR package, I get the below compilation errors.

error: there is no argument named `library_path`
  --> helix-loader/src/grammar.rs:66:65
   |
66 |         .with_context(|| format!("Error opening dynamic library {library_path:?}"))?;
   |                                                                 ^^^^^^^^^^^^^^^^

error: there is no argument named `language_fn_name`
  --> helix-loader/src/grammar.rs:71:61
   |
71 |             .with_context(|| format!("Failed to load symbol {language_fn_name}"))?;
   |                                                             ^^^^^^^^^^^^^^^^^^

error: there is no argument named `action`
   --> helix-loader/src/grammar.rs:136:59
    |
136 |         .map(|err| err.with_context(|| format!("Failed to {action} some grammar(s)")))
    |                                                           ^^^^^^^^

error: there is no argument named `grammar_dir`
   --> helix-loader/src/grammar.rs:241:43
    |
241 |         format!("Failed to read directory {grammar_dir:?}. Did you use 'hx --grammar fetch'?")
    |                                           ^^^^^^^^^^^^^^^

error: there is no argument named `grammar_dir`
   --> helix-loader/src/grammar.rs:246:24
    |
246 |             "Directory {grammar_dir:?} is empty. Did you use 'hx --grammar fetch'?"
    |                        ^^^^^^^^^^^^^^^

error: could not compile  due to 5 previous error

Reproduction Steps

I tried this:

  1. Install helix-git using an AUR helper such as Paru

I expected this to happen:
Installing helix-git successfully

Instead, this happened:
There were compilation errors

Helix log

~/.cache/helix/helix.log
N/A

Platform

EndeavourOS Linux Sway Edition

Terminal Emulator

wezterm 20220319-074134-7fc7201a

Helix Version

helix-git-r1822.a1e64815-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-packagingArea: Packaging and bundlingC-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