Search Criteria
Package Details: helix-git 24.07.r114.g518425e05-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/helix-git.git (read-only, click to copy) |
---|---|
Package Base: | helix-git |
Description: | A text editor written in rust |
Upstream URL: | https://helix-editor.com |
Keywords: | editor |
Licenses: | MPL-2.0 |
Conflicts: | helix |
Provides: | hx |
Submitter: | Wojciechkepka |
Maintainer: | Robin_Jadoul |
Last Packager: | Robin_Jadoul |
Votes: | 9 |
Popularity: | 0.050426 |
First Submitted: | 2021-06-01 19:08 (UTC) |
Last Updated: | 2024-08-23 13:53 (UTC) |
Dependencies (2)
- cargo (rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rustup-stubAUR, rust, rustup) (make)
- git (git-gitAUR, git-glAUR) (make)
Latest Comments
« First ‹ Previous 1 2 3 4 Next › Last »
sereinity commented on 2024-03-02 20:37 (UTC)
To make the build pass the tokio error, I make explicit the usage of
tokio_unstable
. I don't know why thi has been ignored by makepkg, they already have enabled it in https://github.com/helix-editor/helix/blob/master/.cargo/config.toml#L11TLDR: here is my current diff to build the package (+
pkgver
of course):petrus7 commented on 2024-02-23 21:01 (UTC)
A few remarks and a working PKGBUILD, not a complete solution but might be a bit of help for the time being.
Building manually from the master branch usually works for me with occasional test failures which is expected. Both stable and nightly work.
I don't think that the current settings of environment variables have the desired effects. For whatever reason the build seems to always starts up with downloading toolchain 1.70.0, check your ~/.rustup/toolchains
It is not clear to me why (!tlo) option "helps", seems rather coincidental, then tests fail with similar linking problems. In particular, when building manually
lto = "thin"
is used for release.Here is my working PKGBUILD at https://0x0.st/H5vP.txt incorporating a pristine manual build into the package building process performed by makepkg. It is a shell trick but works!
Right now I don't feel like untangling the interaction between makepkg and helix' cargo build process. However, I use helix and wanted to keep close to the master branch so I just rebuild helix into my local package repo using the PKGBUILD above.
MuratOzsoyler commented on 2024-02-19 19:32 (UTC)
I confirm that @mekyt's solution works, at least on the initial compilation. But somewhere in the tests it spits out
E0412
error while compiling.mekyt commented on 2024-02-16 16:16 (UTC) (edited on 2024-02-16 16:23 (UTC) by mekyt)
The solution should be to add
options=(!lto)
in the PKGBUILD file.I was having the same problem with a package I maintained. Still a error during the check but it's more a dependency problem due to unstable version.
MuratOzsoyler commented on 2024-02-15 21:30 (UTC)
I cloned
helix-editor/helix
repository compiled with --release flag without issues. After testing that executable worked correctly, I stripped out the fetch and compilation phases of the PKCONFIG and redirect thecollection of the executables to the files I had just compiled. This way I have obtained a properly installed new version. What can we deduce from this? As the cloned repository can build normally, is there a minor difference in the environments between cloned andmakepkg
d repositories?Robin_Jadoul commented on 2024-02-15 19:09 (UTC)
At a guess, from looking at the symbols, it would be
extra/tree-sitter
. However, none of my compiled helix binaries or ts grammars seems to link to the lib, nor do the helix docs or the rust ts lib docs mention it as a necessary dependency.AgedSweater commented on 2024-02-15 19:02 (UTC)
I'm hitting the same issue as @MuratOzsoyler, suggestion from this Helix discussion is that it's some Rust/libc dep that's failing, but I don't know how to turn that info into a fix.
MuratOzsoyler commented on 2024-02-09 12:49 (UTC)
Initial compilation fails with the following error:
MuratOzsoyler commented on 2024-01-28 12:46 (UTC)
Even though compilation starts surprisingly in the middle of the tests, this patch solved it. Thank you so much for your support and effort.
Robin_Jadoul commented on 2024-01-28 01:45 (UTC)
Seems to be a weird interaction between the "integration_test" feature flag and the regular (non-integration) tests. I just updated the tests to more match the helix CI setup (i.e. separate test + integration-test).
Somewhat annoying side effect: it needs to compile more between unit and integration tests now
« First ‹ Previous 1 2 3 4 Next › Last »