Package Details: spotify-tui 0.24.0-1

Git Clone URL: (read-only, click to copy)
Package Base: spotify-tui
Description: Spotify client for the terminal written in Rust
Upstream URL:
Licenses: MIT
Conflicts: spotify-tui
Provides: spotify-tui
Submitter: flacks
Maintainer: Conni2461
Last Packager: Conni2461
Votes: 46
Popularity: 3.96
First Submitted: 2019-10-07 18:28
Last Updated: 2021-04-26 11:37

Latest Comments

bryan.abrams commented on 2021-05-03 22:47

I'm having the same issue as @andrea.denisse

The package is installed but there's no binary in /usr/bin

andrea.denisse commented on 2021-04-26 06:05

Hello, the package builds and appears to install but I'm unable to find it. I think this happens because the PKGBUILD is missing the following lines:


sam-kirby commented on 2020-07-20 18:44

@Conni2461 that does indeed fix the issue, thank you!

Conni2461 commented on 2020-07-20 17:30

@sam-kirby thanks for reporting that issue.

I will continue to use cargo build rather than cargo install because the package stage is responsible for copying files to $pkgdir/usr. I fixed it with the --target-dir option. I also tested it with env var CARGO_TARGET_DIR and it worked. I hope this fixes your issue.

sam-kirby commented on 2020-07-20 14:07

This fails to create the package with the following error if CARGO_TARGET_DIR is set.

==> Starting package()...
install: cannot stat 'target/release/spt': No such file or directory
==> ERROR: A failure occurred in package().
error making: %!s(func() string=0x55a92f70ca60)

Instead of using install with fixed path, instead you could consider using cargo install --root "$pkgdir/usr" --path "$srcdir/$pkgname-$pkgver".

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/`

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().
Error making: spotify-tui