@TheDcoder As the error suggests, it only finds 2.0.2, 2.0.1, 2.0.0, ...
in your local index and not 3.0.1
. There must be some outdated cache on your side. makepkg
does not require root to run, it should invoke sudo by itself if necessary (for installing dependencies e.g.). Building in a clean chroot is not a workaround, it's there so you can identify the issue yourself. Either the issue is some package you have installed or something in your home directory is the issue. You could try building using a new user to rule out the latter, instead of a chroot.
Search Criteria
Package Details: spot-client 0.4.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/spot-client.git (read-only, click to copy) |
---|---|
Package Base: | spot-client |
Description: | Gtk/Rust native Spotify client |
Upstream URL: | https://github.com/xou816/spot |
Keywords: | album artist client gtk library listening music playback playlist rust spot spotify |
Licenses: | MIT |
Submitter: | dpeukert |
Maintainer: | SunRed |
Last Packager: | SunRed |
Votes: | 21 |
Popularity: | 0.000047 |
First Submitted: | 2021-02-18 13:07 (UTC) |
Last Updated: | 2024-05-07 17:00 (UTC) |
Dependencies (15)
- alsa-lib
- cairo (cairo-gitAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- graphene (graphene-gitAUR)
- gtk4 (gtk4-customizableAUR, gtk4-paper-planeAUR, gtk4-gitAUR)
- libadwaita (libadwaita-testingAUR, libadwaita-gitAUR, libadwaita-without-adwaita-gitAUR)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- pango (pango-gitAUR)
- blueprint-compiler (blueprint-compiler-gitAUR) (make)
- cargo (rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust-beta-binAUR, rust, rustup) (make)
- meson (meson-gitAUR) (make)
- appstream-glib (appstream-glib-gitAUR) (check)
- org.freedesktop.secrets (keepassxc-gitAUR, gnome-keyring-gitAUR, pass-secrets-gitAUR, keepassxc-allow-aur-extension-originAUR, keepassxc-allow-aur-extension-origin-binAUR, pass-secret-service-binAUR, dssdAUR, pass-secret-service-gitAUR, bitw-gitAUR, gnome-keyring, keepassxc, kwallet, kwallet5) (optional)
Required by (0)
Sources (2)
SunRed commented on 2023-05-14 17:19 (UTC)
TheDcoder commented on 2023-05-14 10:13 (UTC)
@SunRed I tried building it in a chroot, but makepkg
requires sudo
and it refuses to run as root. I use doas
and I do have a basic shim for sudo
, but mkarchroot
uses options for sudo
which are not compatible with my shim.
I really don't know what could be causing the issue, and we'll have to find out why anyway instead of trying to work around it via a clean chroot. Why can't my rust find secret-service = "= 3.0.1"
?
SunRed commented on 2023-05-13 20:33 (UTC)
@TheDcoder I am also using the packaged rust utilities and am merely building using makepkg
. As mentioned, try building in a chroot and check if the issue persists. If that resolves it, something in your install is affecting the build environment.
TheDcoder commented on 2023-05-10 11:28 (UTC)
@SunRed The issue still persists after removing ~/.cargo
, so it's something different. I am not sure if it makes a difference but I'm just using the packaged rust utilities and I am not using rustup etc. (I don't know much about rust)
SunRed commented on 2023-05-07 15:04 (UTC)
@TheDcoder I just built this package again in a clean chroot just to check. The issue most likely is your cargo cache in ~/.cargo
. Try removing this directory and compiling it again with a fresh index.
TheDcoder commented on 2023-05-06 15:44 (UTC)
I can't build this package due to a missing dependency:
error: failed to select a version for the requirement `secret-service = "= 3.0.1"`
candidate versions found which didn't match: 2.0.2, 2.0.1, 2.0.0, ...
location searched: crates.io index
required by package `spot v0.4.0 (/tmp/spot-client-build/build/spot-client/src/spot-0.4.0)`
[26/27] Generating src/spot_gresource with a custom command
FAILED: src/spot
/bin/bash /tmp/spot-client-build/build/spot-client/src/spot-0.4.0/build-aux/cargo.sh /tmp/spot-client-build/build/spot-client/src/spot-0.4.0 /tmp/spot-client-build/build/spot-client/src/build spot src/spot release '' false
ninja: build stopped: subcommand failed.
xavierbaez commented on 2023-03-15 16:32 (UTC)
I get "Authentication failed"
alumni commented on 2023-02-26 16:00 (UTC)
Needs patch
as make dependency.
SunRed commented on 2022-11-09 17:37 (UTC)
@wanderingice Maybe try to build the package in a clean chroot and see if you can reproduce the error. It builds and runs just fine on my machine, also using such a clean chroot.
Pinned Comments