void-linux / void-linux/void-packages
rtkit: doesn't work on musl
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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