@fenuks thanks for the tips! I didn't even knew I had to rustup update to update this :)
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/kanata.git (read-only, click to copy) |
|---|---|
| Package Base: | kanata |
| Description: | Bring the customizability of a QMK board to any keyboard near you |
| Upstream URL: | https://github.com/jtroo/kanata |
| Licenses: | LGPL-3.0-only |
| Submitter: | fenuks |
| Maintainer: | fenuks |
| Last Packager: | fenuks |
| Votes: | 14 |
| Popularity: | 0.88 |
| First Submitted: | 2022-08-11 11:31 (UTC) |
| Last Updated: | 2026-02-16 08:50 (UTC) |
@fenuks thanks for the tips! I didn't even knew I had to rustup update to update this :)
@Monapp It builds fine for me, whether using rust or rustup. You might need to update your rustup toolchains (rustup update). If you are using rust package instead, try updating that as well.
Does not build, see pastebin here https://paste.rs/wUPvn.txt
You need to make the license identifier SPDX compliant:
kanata E: The SPDX license statement 'LGPL-3.0' should be formatted as 'LGPL-3.0-only' instead
Regards and thanks for the package!
@staticnoise It cannot be assumed that rustup is used. User might have cargo provided by the rust package. For that reason rust package guidelines[1] suggest using only cargo directly.
In case kanata-1.7.0-1 does not build, don't forget to rustup update stable.
Does not build:
error[E0282]: type annotations needed for `Box<_>`
--> /home/hugeblank/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/format_description/parse/mod.rs:83:9
|
83 | let items = format_items
| ^^^^^
...
86 | Ok(items.into())
| ---- type must be known at this point
|
= note: this is an inference error on crate `time` caused by an API change in Rust 1.80.0; update `time` to version `>=0.3.35` by calling `cargo update`
For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
Aborting...
-> error making: kanata-exit status 4
-> Failed to install the following packages. Manual intervention is required:
kanata - exit status 4
@dreieck Certainly. Thank you for a suggestion.
Can you give the downloaded souce file a more distinctive name, please?
If the environment variable $SRCDEST is set (e.g. in /etc/makepkg.conf), all source downloads of all packages go into the same directory, and generic names like v1.5.0.tar.gz are prone to create spurious conflicts.
I suggest that you prepend ${pkgname}-${pkgver}.tar.gz:: to the source entry, to give it a distinctive name.
Regards and thanks for the package!
@eclairevoyant Thank you, I've updated the PKGBUILD.