-
Notifications
You must be signed in to change notification settings - Fork 451
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 cannot build on apple silicon #768
Comments
This seems like a different error, but this but this user did manage to compile it om m1 #749 |
anyone on the maintainer team have an M1 mac to test with? |
Maybe we can find a vps that has apple silicon to test on |
@robinvd I'm not on the maintainer team, but I do have an M1 mac mini and a willingness to help out. Is there anything I can do to help work towards an official M1 build? |
I think trying to build it and reporting back the required steps would be a great help. Then we can fix it on a1 or document it in the readme |
I agree. Even if you can't get it to build on your own, even just showing us what goes wrong would do a lot |
I was able to get it to build with the rodio backend and default features disabled (as mentioned in #749), but I had to unpin the rust version from 1.47, since aarch64-apple-darwin is only supported as a target from rust 1.48 onward. I then ran into the panic mentioned in #719; to solve this, I disabled the "with-tremor" feature in the librespot dependency, and everything seems to be working fine since then (edit: built with rust 1.50). |
Thats good to hear! Then we know what to fix/add |
I was also able to get it to build after some tinkering. I didn't have to change the rust version. As mentioned in #749 I compiled it with the |
Just got it running on my M1 Macbook Silicon. Made a gist that might be helpful. https://gist.github.com/acberk/77c0bd68009ac7eb94d561e6a31570ae |
Thank you! That looks like there's nothing really complicated about the installation process on M1 anymore. (Just using the correct feature flags seems to do the trick.) |
Should be fine to close. Just posting the steps for the next person.
…________________________________
From: eladyn ***@***.***>
Sent: Thursday, December 15, 2022 3:31:30 PM
To: Spotifyd/spotifyd ***@***.***>
Cc: Alex Berk ***@***.***>; Comment ***@***.***>
Subject: Re: [Spotifyd/spotifyd] spotifyd cannot build on apple silicon (#768)
Thank you! That looks like there's nothing really complicated about the installation process on M1 anymore. (Just using the correct feature flags seems to do the trick.)
Should we close this or am I overseeing something?
—
Reply to this email directly, view it on GitHub<#768 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABWELIAMJEZOFDDRQB6WLWDWNOS5FANCNFSM4WBHK4YA>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Description
spotifyd 0.2.25 cannot build on apple silicon
To Reproduce
build error log
Expected behavior
build passed
Logs
Click to show logs
Compilation flags
Versions (please complete the following information):
relates to Homebrew/homebrew-core#68938
The text was updated successfully, but these errors were encountered: