Github messages for voidlinux
 help / color / mirror / Atom feed
From: xoich <xoich@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] dante: sockd does not run in musl because `sched_getscheduler`/`sched_setscheduler` are not available in musl.
Date: Sun, 24 Jan 2021 19:16:31 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28180@inbox.vuxu.org> (raw)

[-- 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.

             reply	other threads:[~2021-01-24 18:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-24 18:16 xoich [this message]
2021-01-24 19:55 ` ericonr
2021-01-25 19:15 ` [ISSUE] [CLOSED] " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28180@inbox.vuxu.org \
    --to=xoich@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).