@rEnr3n You're right, it seems an issue from the git release though.
Either add an issue in github for a 0.6.1, or yes, update the pkgbuild to the commit 8397744f403c87ab39523b4bf9e0216ad444f1bb.
| Git Clone URL: | https://aur.archlinux.org/eww.git (read-only, click to copy) |
|---|---|
| Package Base: | eww |
| Description: | Standalone widget system made in Rust |
| Upstream URL: | https://github.com/elkowar/eww |
| Licenses: | MIT |
| Conflicts: | eww |
| Provides: | eww |
| Submitter: | cog |
| Maintainer: | eclairevoyant |
| Last Packager: | eclairevoyant |
| Votes: | 40 |
| Popularity: | 1.35 |
| First Submitted: | 2022-08-28 08:30 (UTC) |
| Last Updated: | 2024-08-12 13:12 (UTC) |
@rEnr3n You're right, it seems an issue from the git release though.
Either add an issue in github for a 0.6.1, or yes, update the pkgbuild to the commit 8397744f403c87ab39523b4bf9e0216ad444f1bb.
I'm not familiar with rust but I see this during compilation: Compiling eww v0.5.0 (/build/eww/src/eww/crates/eww).
$ eww -V
eww 0.5.0 d87c2fdbfdc012e76d229e4e9ea3325bc0f23e89
There is a commit here which appeared two commits later: https://github.com/elkowar/eww/commit/8397744f403c87ab39523b4bf9e0216ad444f1bb
I believe that's what's missing on this package.
Wrongly flagged out of date. Pkgbuild is pointing the commit of release 0.6, the last release.
Hello,
the version installed is the 0.5, not 0.6.
Why use git+https not https://github.com/elkowar/eww/archive/refs/tags/vX.Y.Z.tar.gz
then signing keys needed?
refresh is incredibly slow
I came here to mention the same thing, same error on the items variable, and what solved was setting the export RUSTUP_TOOLCHAIN=1.76.0 on both prepare() and build() as dgd mentioned, and also adding +1.76.0 to the cargo build command. Not sure if both are needed, but I set them anyway as per the github issue mentioned
For those experiencing the same issue as @NerdwaveNick, where compiling the "time" crate throws an error, the solution is to change the Rust version in the PKGBUILD.
export RUSTUP_TOOLCHAIN=1.76.0
eww runs on Rust 1.76.0, and the latest stable causes this problem as far as I understand. See this issue on Github for more details:
https://github.com/elkowar/eww/issues/1141#issuecomment-2258575600
@NerdwaveNick run 'cargo update time@0.3.34'
I'm seeing issues with this package and the eww-git package. Building eww from source functions as expected, but if I try to install it via these packages, I get compile errors in the time crate. Specifically
error[E0282]: type annotations needed for `Box<_>`
83 | let items = format_items
|
...
86 | Ok(items.into())
| ---- type must be known at this point
Any ideas?
Pinned Comments
eclairevoyant commented on 2023-07-18 00:39 (UTC)
Make sure to fetch the signing keys from GitHub and import them before building: