Package may not build in chroot, since cargo-nightly
is provided by rustup(-git)
as well.
Consider using rust-nightly(-bin)
explicitly as make dependency instead of it.
Search Criteria
Package Details: eww-git 0.6.0.r53.g8661abf-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/eww-git.git (read-only, click to copy) |
---|---|
Package Base: | eww-git |
Description: | ElKowar's wacky widgets |
Upstream URL: | https://github.com/elkowar/eww |
Keywords: | statusbar wayland x11 |
Licenses: | MIT |
Conflicts: | eww |
Provides: | eww |
Submitter: | McFranko |
Maintainer: | eclairevoyant |
Last Packager: | eclairevoyant |
Votes: | 22 |
Popularity: | 0.015028 |
First Submitted: | 2020-10-27 01:41 (UTC) |
Last Updated: | 2024-09-15 05:41 (UTC) |
Dependencies (6)
- gtk-layer-shell (gtk-layer-shell-gitAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libdbusmenu-glib
- libdbusmenu-gtk3
- cargo (rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust, rustup) (make)
- git (git-gitAUR, git-glAUR) (make)
Required by (6)
- eww-systemd (requires eww) (optional)
- goober (requires eww)
- leftwm (requires eww) (optional)
- leftwm-git (requires eww) (optional)
- leftwm-nonsystemd (requires eww) (optional)
- leftwm-nonsystemd-git (requires eww) (optional)
Sources (1)
nx-que commented on 2023-07-29 04:39 (UTC)
NoXPhasma commented on 2023-07-17 01:42 (UTC)
@eclairevoyant Thanks for clearing that up, I was mistaken clean build with a clean chroot. Using a clean chroot with paru indeed worked, though I've had to disable ccache
in makepkg.conf.
eclairevoyant commented on 2023-07-17 01:24 (UTC) (edited on 2023-07-17 01:25 (UTC) by eclairevoyant)
@NoXPhasma yay does not have an option for clean chroots, only aurutils and paru do. Even then, they don't use it by default.
If you didn't set up a local repository and chroot manually but try to use aurutils or paru, then you are not using a clean chroot. see https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
NoXPhasma commented on 2023-07-17 01:11 (UTC)
@FabioLolix The approach with devtools and extra-x86_64-build worked for me.
@eclairevoyant I was using a clean chroot, not only told I yay to use one, I also tried to manually delete the build folder. I've then installed paru and it shows the same exact error. And even using makepkg -si
in the cloned folder shows the same error. I don't know why it fails for me, it worked fine before.
eclairevoyant commented on 2023-07-16 00:14 (UTC)
@FabioLolix TanakaSan's issue was from before I added the patch, but I agree that @NoXPhasma is clearly not building in a clean chroot
FabioLolix commented on 2023-07-15 16:34 (UTC)
@TanakaSan @NoXPhasma could not reproduce your issue both using makepkg and devtools (extra-x86_64-build), since this pkgbuild don't depends on other AUR pkgbuilds is easy to build with devtools; that will also let you use rust on your system while rustup will be installed in the chroot
NoXPhasma commented on 2023-07-15 16:13 (UTC) (edited on 2023-07-15 16:13 (UTC) by NoXPhasma)
I can't build with latest changes to the pkgbuild. This is the error:
Compiling gdkx11 v0.15.5 error[E0635]: unknown feature
hash_extract_if
--> crates/eww/src/main.rs:6:12 | 6 | #![feature(hash_extract_if)] | ^^^^^^^^^^^^^^^error[E0635]: unknown feature
extract_if
--> crates/eww/src/main.rs:2:12 | 2 | #![feature(extract_if)] | ^^^^^^^^^^error[E0599]: no method named
extract_if
found for structstd::collections::HashMap
in the current scope --> crates/eww/src/widgets/widget_definitions.rs:130:62 | 130 | ... bargs.unhandled_attrs.extract_if(|a, _| deprecated.contains(&a.0 as &str)).collect(); | ^^^^^^^^^^ method not found inHashMap<AttrName, AttrEntry>
Some errors have detailed explanations: E0599, E0635. For more information about an error, try
rustc --explain E0599
. error: could not compileeww
(bin "eww") due to 3 previous errors ==> ERROR: A failure occurred in build().
eclairevoyant commented on 2023-07-15 09:25 (UTC)
@TanakaSan Upstream CI uses the latest nightly and all PRs will be run against this CI. Therefore I will be using the nightly toolchain here.
TanakaSan commented on 2023-06-23 08:25 (UTC) (edited on 2023-06-23 08:31 (UTC) by TanakaSan)
Hello, I am new to arch, and trying to install eww-x11-git with paru.
now, when I run paru -S eww-x11-git
, it fails to build package with following compile errors; error[E0635],error[E0635],error[E0599],error[E0599]
I do not write error details, but I am quite sure the reason of these errors are depends on rust-toolchain version issue. PKGBUILD overwrites the rust-toolchain version to nightly. However, actual required toolchain version is "nightly-2022-08-27" as it is written in rust-toolchain.toml
Therefore, rather we define rust-toolchain version on ourselves, it is better to use rust-toolchain.toml
Here is solution:
remove export RUSTUP_TOOLCHAIN=nightly
from both prepare() and build() section.
remove cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
. Instead of this, run rustup show
to install appropreate rust-toolchain version.
thank you for maintaining repo :)
GuessWhatBBQ commented on 2023-06-10 17:48 (UTC)
I believe elkowar's pgp key expired and the package no longer builds by default
Pinned Comments
eclairevoyant commented on 2023-04-03 17:29 (UTC)
Adopted and updated. Make sure to fetch the signing keys from GitHub and import them before building: