Package Details: spotify-tui 0.20.0-1

Git Clone URL: https://aur.archlinux.org/spotify-tui.git (read-only, click to copy)
Package Base: spotify-tui
Description: Spotify client for the terminal written in Rust
Upstream URL: https://github.com/Rigellute/spotify-tui
Licenses: MIT
Submitter: flacks
Maintainer: Conni2461
Last Packager: Conni2461
Votes: 24
Popularity: 6.04
First Submitted: 2019-10-07 18:28
Last Updated: 2020-05-28 10:50

Latest Comments

Conni2461 commented on 2020-05-27 21:29

I was not able to reproduce the error inside a docker container.

The cargo directory should be in the home directory. You can set the directory using the env variable CARGO_HOME. So make sure that the env variable is not set anywhere in your profile or set it to export CARGO_HOME="$HOME"/.cargo or better export CARGO_HOME="$XDG_DATA_HOME"/cargo if you use xdg.

Also make sure that you clone the aur repository again before running makepkg.

tzcrawford commented on 2020-05-27 20:57

I got this error:

error: failed to get `anyhow` as a dependency of package `spotify-tui v0.19.0 (/home/user/build/spotify-tui/src/spotify-tui-0.19.0)`

Caused by:
failed to create directory `/cargo/registry/index/github.com-1ecc6299db9ec823`

Caused by:
Permission denied (os error 13)

got it to build by just doing a sudo pacman -S rustup; rustup install stable;rustup default stable;sudo mkdir /cargo;sudo chown -R $USER /cargo;makepkg -siC and it worked completely. Probably not the safest/most proper way to do, but it worked. (I'm not familiar with rust)

Conni2461 commented on 2020-03-30 11:12

It seems that you have not configured rustup. Run rustup install stable and rustup default stable or use the arch rust package rather than rustup.

sshow commented on 2020-03-30 11:04

I am currently getting an error when attempting to build: no default toolchain configured. I'm not sure what to do about it?

Full output

$ yay -Sy spotify-tui
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur: 1]  spotify-tui-0.17.1-1

  1 spotify-tui                              (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/user/.cache/yay/spotify-tui
:: Downloaded PKGBUILD (1/1): spotify-tui
  1 spotify-tui                              (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: Parsing SRCINFO (1/1): spotify-tui
==> Making package: spotify-tui 0.17.1-1 (ma. 30. mars 2020 kl. 13.02 +0200)
==> Retrieving sources...
  -> Downloading spotify-tui-0.17.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   130  100   130    0     0    144      0 --:--:-- --:--:-- --:--:--   144
100  540k    0  540k    0     0   246k      0 --:--:--  0:00:02 --:--:--  535k
==> Validating source files with sha512sums...
    spotify-tui-0.17.1.tar.gz ... Passed
==> Making package: spotify-tui 0.17.1-1 (ma. 30. mars 2020 kl. 13.02 +0200)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found spotify-tui-0.17.1.tar.gz
==> Validating source files with sha512sums...
    spotify-tui-0.17.1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting spotify-tui-0.17.1.tar.gz with bsdtar
==> Sources are ready.
==> Making package: spotify-tui 0.17.1-1 (ma. 30. mars 2020 kl. 13.02 +0200)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
error: no default toolchain configured
==> ERROR: A failure occurred in build().
    Aborting...
Error making: spotify-tui