Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotifyd ebuild #481

Open
antonellocaroli opened this issue Apr 5, 2020 · 1 comment
Open

Spotifyd ebuild #481

antonellocaroli opened this issue Apr 5, 2020 · 1 comment

Comments

@antonellocaroli
Copy link

I tried to install spotifyd.
But I get this mistake:

`>>> Test phase [not enabled]: media-sound/spotifyd-0.2.20

Install media-sound/spotifyd-0.2.20 into /var/tmp/portage/media-sound/spotifyd-0.2.20/image
error: The argument '--path ' was provided more than once, but cannot be used multiple times

USAGE:
cargo install --features ... --no-default-features --path --root

For more information try --help

  • ERROR: media-sound/spotifyd-0.2.20::antonellocaroli failed (install phase):
  • cargo install failed
  • Call stack:
  • ebuild.sh, line  125:  Called src_install
    
  • environment, line 1340: Called cargo_src_install '--path=.' '--features' 'alsa_backend' '--no-default-features'
  • environment, line 1089: Called die
  • The specific snippet of code:
  •   cargo install --path ${CARGO_INSTALL_PATH} --root="${ED}/usr" $(usex debug --debug "") "$@" || die "cargo install failed";
    
  • If you need support, post the output of emerge --info '=media-sound/spotifyd-0.2.20::antonellocaroli',
  • the complete build log and the output of emerge -pqv '=media-sound/spotifyd-0.2.20::antonellocaroli'.
  • The complete build log is located at '/var/tmp/portage/media-sound/spotifyd-0.2.20/temp/build.log'.
  • The ebuild environment file is located at '/var/tmp/portage/media-sound/spotifyd-0.2.20/temp/environment'.
  • Working directory: '/var/tmp/portage/media-sound/spotifyd-0.2.20/work/spotifyd-0.2.20'
  • S: '/var/tmp/portage/media-sound/spotifyd-0.2.20/work/spotifyd-0.2.20'

Failed to emerge media-sound/spotifyd-0.2.20, Log file:

'/var/tmp/portage/media-sound/spotifyd-0.2.20/temp/build.log'
`

@antonellocaroli
Copy link
Author

I solved it by editing this line:

cargo_src_install --path=. ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features

in

cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features

are you thinking of upgrading ebuild to the latest version?
0.2.24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant