void-linux / void-linux/void-packages

rtkit: doesn't work on musl

Open
#28,728 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

rtkit is basically a dbus interface to sched_setscheduler, which is not implemented on musl.

Here is the reason why:
https://github.com/MusicPlayerDaemon/MPD/issues/218#issuecomment-364320830

So it seems it should be patched to use the pthread_* functions instead.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the rtkit package recipe and inspect how its source is built and patched. Read the linked MPD discussion for the musl limitation, then determine how the pthread_* change would be represented in the package. Done means rtkit builds and works on musl without relying on sched_setscheduler.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.