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

dante: fix runtime on musl. #28184

Merged
merged 1 commit into from Jan 25, 2021
Merged

dante: fix runtime on musl. #28184

merged 1 commit into from Jan 25, 2021

Conversation

ericonr
Copy link
Member

@ericonr ericonr commented Jan 24, 2021

musl implements the sched_{set,get}scheduler functions as stubs.
Unfortunately, dante fails if the functions are available but return an
error, which is always the case for musl. Force it to think setscheduler
isn't available (var appropriated from Alpine).

Fixes #28180

General

Have the results of the proposed changes been tested?

  • I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
  • I generally don't use the affected packages but briefly tested this PR

musl implements the sched_{set,get}scheduler functions as stubs.
Unfortunately, dante fails if the functions are available but return an
error, which is always the case for musl. Force it to think setscheduler
isn't available (var appropriated from Alpine).

Fixes void-linux#28180
@ericonr ericonr merged commit 54aec28 into void-linux:master Jan 25, 2021
@ericonr ericonr deleted the dante branch January 25, 2021 19:16
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 26, 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.

dante: sockd does not run in musl because sched_getscheduler/sched_setscheduler are not available in musl.
1 participant