AUR - error: failed to build 'page-git-v3.1.2-1'
WANDEX opened this issue · 5 comments
WANDEX commented
Failed to update from AUR repo.
Compiling page v3.1.0 (/home/user/Downloads/build/page-git/src/page)
error[E0433]: failed to resolve: use of undeclared type `Lazy`
--> src/pager/context.rs:41:31
|
41 | let term_dimensions = Lazy::new(|| {
| ^^^^ not found in this scope
|
help: consider importing one of these items
|
16 | use crate::context::Lazy;
|
16 | use futures::future::Lazy;
|
16 | use once_cell::sync::Lazy;
|
16 | use once_cell::unsync::Lazy;
|
error[E0433]: failed to resolve: use of undeclared type `Lazy`
--> src/pager/context.rs:73:25
|
73 | term_width: Lazy::new(|| {
| ^^^^ not found in this scope
|
help: consider importing one of these items
|
16 | use crate::context::Lazy;
|
16 | use futures::future::Lazy;
|
16 | use once_cell::sync::Lazy;
|
16 | use once_cell::unsync::Lazy;
|
error[E0277]: can't compare `{integer}` with `once_cell::unsync::Lazy<usize>`
--> src/pager/main.rs:189:18
|
189 | if j == env_ctx.term_width {
| ^^ no implementation for `{integer} == once_cell::unsync::Lazy<usize>`
|
= help: the trait `PartialEq<once_cell::unsync::Lazy<usize>>` is not implemented for `{integer}`
= help: the following other types implement trait `PartialEq<Rhs>`:
f32
f64
i128
i16
i32
i64
i8
isize
and 6 others
Some errors have detailed explanations: E0277, E0433.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `page` due to 3 previous errors
==> ERROR: A failure occurred in package().
Aborting...
error: failed to build 'page-git-v3.1.2-1':
error: packages failed to build: page-git-v3.1.2-1
dedguy21 commented
I just tried to install this package through the AUR and got a build error.
Something to do with the integer error. E0277 and E0433
I'm using neovim 7.2 which is the current version on Arch.
WANDEX commented
@dedguy21 AUR version is currently broken.
The fix proposed by ilkecan has not been merged yet, you need to wait for the maintainer to check and merge it with the master branch.
WANDEX commented
dedguy21 commented
Hi just following up, wondering if there is an available fork with the pull request already merged?
I60R commented
Pushed some commits that resolved the issue