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

Update gcompat to 0.9.0, use dynamic musl-obstack #23432

Merged
merged 8 commits into from
Aug 8, 2020

Conversation

ericonr
Copy link
Member

@ericonr ericonr commented Jul 6, 2020

Okay, so this is a biggie PR, and I do need help for making some decisions.

  • So, basically, gcompat can do Spotify now, on Adélie. I am working on debugging it on Void, because it isn't working completely yet. If I can't get it working soon, I will leave the spotify commit out of this one.
  • I enabled obstack in gcompat, by enabling the dynamic lib in musl-obstack. This completely fixes Missing obstack symbols for arduino-cli binaries on musl #22616, which needed obstack and __strftime_l symbols (the latter was fixed by gcompat itself).
  • I split musl-obstack-devel.
  • I switched package dependencies to musl-obstack-devel, but they ended up depending on the dynamic version of obstack. Is this bad? Is there some way to solve this? Perhaps two devel sub packages, one for dynamic and one for static linking?

@ericonr ericonr changed the title [RFC] Update gcompat to 0.9.0, add spotify to musl, use dynamic musl-obstack [RFC][WIP] Update gcompat to 0.9.0, add spotify to musl, use dynamic musl-obstack Jul 6, 2020
@ericonr
Copy link
Member Author

ericonr commented Jul 6, 2020

@q66 your patch seems to be included in this release already

@pullmoll what do you think about this change?

sgn pushed a commit to sgn/void-packages that referenced this pull request Jul 7, 2020
sgn pushed a commit to sgn/void-packages that referenced this pull request Jul 7, 2020
Add musl-obstack dependency.

Close: void-linux#23432
sgn pushed a commit to sgn/void-packages that referenced this pull request Jul 7, 2020
sgn pushed a commit to sgn/void-packages that referenced this pull request Jul 7, 2020
sgn pushed a commit to sgn/void-packages that referenced this pull request Jul 7, 2020
sgn pushed a commit to sgn/void-packages that referenced this pull request Jul 7, 2020
sgn pushed a commit to sgn/void-packages that referenced this pull request Jul 7, 2020
sgn pushed a commit to sgn/void-packages that referenced this pull request Jul 7, 2020
sgn pushed a commit to sgn/void-packages that referenced this pull request Jul 7, 2020
@ghost
Copy link

ghost commented Jul 7, 2020

This fixes my issue (#22616) perfectly, thank you so much! 🎉

I had to create a musl-obstack-devel symlink for it to build. Looks like the CI is having the same issue with finding the musl-obstack-devel package too.

@ericonr
Copy link
Member Author

ericonr commented Jul 7, 2020

Oof, I think I forgot to commit that. Thanks!

@ericonr ericonr force-pushed the gcompat branch 3 times, most recently from 9653f5a to 6ebb9f2 Compare July 9, 2020 02:50
@ericonr
Copy link
Member Author

ericonr commented Jul 9, 2020

One other option is pulling musl-obstack as another distfile for gcompat, which can then be included as part of the gcompat package. That way, we avoid messing with all the other packages using static musl-obstack.

@ericonr ericonr force-pushed the gcompat branch 2 times, most recently from a0519c1 to 3675c1b Compare July 14, 2020 18:25
@ericonr ericonr changed the title [RFC][WIP] Update gcompat to 0.9.0, add spotify to musl, use dynamic musl-obstack Update gcompat to 0.9.0, add spotify to musl, use dynamic musl-obstack Jul 14, 2020
@ericonr ericonr marked this pull request as draft July 14, 2020 18:25
@ericonr ericonr marked this pull request as ready for review July 14, 2020 18:25
@ericonr ericonr changed the title Update gcompat to 0.9.0, add spotify to musl, use dynamic musl-obstack Update gcompat to 0.9.0, use dynamic musl-obstack Jul 14, 2020
@ericonr
Copy link
Member Author

ericonr commented Jul 14, 2020

Removed Spotify from the PR, that's going to be a separate project.

@ericonr
Copy link
Member Author

ericonr commented Jul 15, 2020

Pinging @pullmoll about the change to musl-obstack.

@ericonr ericonr force-pushed the gcompat branch 2 times, most recently from 3ba41fc to 2edb889 Compare July 20, 2020 04:51
@ericonr
Copy link
Member Author

ericonr commented Jul 28, 2020

@Djames1 is it ok with you that I adopted gcompat? If you'd like to keep maintainership of it, let me know.

@pullmoll are you ok with dynamically linking musl-obstack?

@pullmoll
Copy link
Member

@ericonr sure, go ahead.

@ericonr
Copy link
Member Author

ericonr commented Jul 28, 2020

Thanks!

@ghost
Copy link

ghost commented Jul 29, 2020

@ericonr Feel free, I do not use void anymore.

@Johnnynator Johnnynator merged commit 667ae66 into void-linux:master Aug 8, 2020
@ericonr ericonr deleted the gcompat branch August 9, 2020 01:11
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing obstack symbols for arduino-cli binaries on musl
3 participants