* [ISSUE] dante: sockd does not run in musl because `sched_getscheduler`/`sched_setscheduler` are not available in musl. @ 2021-01-24 18:16 xoich 2021-01-24 19:55 ` ericonr 2021-01-25 19:15 ` [ISSUE] [CLOSED] " ericonr 0 siblings, 2 replies; 3+ messages in thread From: xoich @ 2021-01-24 18:16 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 640 bytes --] New issue by xoich on void-packages repository https://github.com/void-linux/void-packages/issues/28180 Description: Running `sockd` will result in this error: ``` /usr/bin/sockd Jan 24 19:08:24 (1611511704.111253) sockd[21539]: error: serverinit(): sched_getscheduler(2): failed to retrieve current cpuscheduling policy: Function not implemented ```` The cause is that dante `configure` script mistakenly believes those functions are available. To make it work, after `./configure` I had to manually set `#define HAVE_SCHED_SETSCHEDULER 0` in `include/autoconf.h`. I'm not sure this is the best solution, but it solves the issue. ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: dante: sockd does not run in musl because `sched_getscheduler`/`sched_setscheduler` are not available in musl. 2021-01-24 18:16 [ISSUE] dante: sockd does not run in musl because `sched_getscheduler`/`sched_setscheduler` are not available in musl xoich @ 2021-01-24 19:55 ` ericonr 2021-01-25 19:15 ` [ISSUE] [CLOSED] " ericonr 1 sibling, 0 replies; 3+ messages in thread From: ericonr @ 2021-01-24 19:55 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 273 bytes --] New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/issues/28180#issuecomment-766421440 Comment: @xoich would you mind testing https://github.com/void-linux/void-packages/pull/28184 and seeing if it fixes it for you completely? ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ISSUE] [CLOSED] dante: sockd does not run in musl because `sched_getscheduler`/`sched_setscheduler` are not available in musl. 2021-01-24 18:16 [ISSUE] dante: sockd does not run in musl because `sched_getscheduler`/`sched_setscheduler` are not available in musl xoich 2021-01-24 19:55 ` ericonr @ 2021-01-25 19:15 ` ericonr 1 sibling, 0 replies; 3+ messages in thread From: ericonr @ 2021-01-25 19:15 UTC (permalink / raw) To: ml [-- Attachment #1: Type: text/plain, Size: 643 bytes --] Closed issue by xoich on void-packages repository https://github.com/void-linux/void-packages/issues/28180 Description: Running `sockd` will result in this error: ``` /usr/bin/sockd Jan 24 19:08:24 (1611511704.111253) sockd[21539]: error: serverinit(): sched_getscheduler(2): failed to retrieve current cpuscheduling policy: Function not implemented ```` The cause is that dante `configure` script mistakenly believes those functions are available. To make it work, after `./configure` I had to manually set `#define HAVE_SCHED_SETSCHEDULER 0` in `include/autoconf.h`. I'm not sure this is the best solution, but it solves the issue. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-25 19:15 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-01-24 18:16 [ISSUE] dante: sockd does not run in musl because `sched_getscheduler`/`sched_setscheduler` are not available in musl xoich 2021-01-24 19:55 ` ericonr 2021-01-25 19:15 ` [ISSUE] [CLOSED] " ericonr
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).