02-22-2019, 09:47 PM
(02-22-2019, 08:47 PM)Tim Curtis Wrote: It's no trouble really. Just a few commands and then like 7 hours later it finishes.
Here is the error when I try the downloaded zip of master or zip of a specific commit
Code:pi@rp2:~/librespot-master $ cargo build --release --features alsa-backend
error: failed to open: /home/pi/librespot-master/target/release/.cargo-lock
Caused by:
Permission denied (os error 13)
@Tim Curtis
I recall now you saw this earlier but I didn't with a git clone. I just tried downloading the current librespot-master.zip and then went to the build recipe.
Looks like this permissions conflict arises from
Code:
sudo unzip ./librespot-master-d2cadec.zip <-- unzipped as root
cd ./librespot-master
cargo build --release --features alsa-backend <-- compiling as user pi
I didn't have a problem before building from the cloned repo and I don't have a problem now building from the latest zip'ped repo (so far it's compiled 61 of 158 modules; slow even on an RPi3B+). In both cases I don't do anything as root until it's time to install the binary.
Regards,
Kent