mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 08:05:57 +03:00
[GH-ISSUE #1027] AUR build error #457
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#457
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TH3-S4LM0N on GitHub (Sep 26, 2022).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/1027
I installed
spotify-tuifrom the aur withyay. During the compile, this error occured:Searched for "transmutate" type keywords, didn't see any issues, my bad if this is a dupe.
Edit: 3 months later I realized I put
sporify-tui@loremol commented on GitHub (Sep 26, 2022):
This happens also to me.
@w1sq commented on GitHub (Sep 26, 2022):
I also got this issue
@lalovzg commented on GitHub (Sep 27, 2022):
Just wanted to add into this issue:
Rust in its version 1.64.0 made changes to Ipv4Addr, Ipv6Addr, SocketAddrV4 and SocketAddrV6. Also, when using
std::mem::transmuteit results in invalid memory accesses.Rust 1.64.0 Compatibility Notes
With all of these, the newest version of Rust broke some crates, and now spotify-tui has problems with memory and different bit sizes and stuff.
So they recommend doing
cargo updateto mitigate for now, and it works as a workaround (adding the cargo update somewhere before it reads the Cargo.lock and Cargo.toml files and .patches.I had to manually do the editing, building and compiling from "source" (AUR in Arch Linux).
Also, after running
makepkg siwith the cargo update command already in place, it updates the files but after that it is required to download updated versions of some of the dependencies/creates and 1 or 2 required http and also, obviously for all the update, network connection is required so the--frozenoption had to be temporary removed.For me, it built succesfully after that even using this PKGBUILD.
@nurhaziq97 commented on GitHub (Sep 28, 2022):
https://github.com/Rigellute/spotify-tui/issues/1027#issuecomment-1259853785 suggested workaround work for me. Thank you
@K-wachira commented on GitHub (Oct 3, 2022):
Hi, I have little to no knowledge when it comes to rust,
What files are you editing or updating before doing the build? I am stuck there.
I tried doing the
cargo update, but I do not haveCargo.tomlon spotify-tui root folder.I extracted the
rspotify-0.10.0and rancargo updatein that directory but still got the error when building.@nurhaziq97 commented on GitHub (Oct 4, 2022):
For me, I just clone the [AUR}(https://aur.archlinux.org/packages/spotify-tui) git. Then, I edit the PKGBUILD file on line 38-46 into this.
I don't know if this is the correct approach.
@K-wachira commented on GitHub (Oct 6, 2022):
Thanks, this worked for me too. :)
@Gianfra1002 commented on GitHub (Oct 17, 2022):
That worked, thank you so much!
@0xFAC0 commented on GitHub (Dec 1, 2022):
Also fixed the issue on a nearly fresh arch install.
@TH3-S4LM0N commented on GitHub (Dec 27, 2022):
Came back and it is building now so no reason for this to stay open.