cpu-count.c fails to compile, see for details and a patch to fix: https://github.com/dovecot/core/pull/244
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de6ab90cff20bd9c5ff9724e4304de98de09562d commit de6ab90cff20bd9c5ff9724e4304de98de09562d Author: Eray Aslan <eras@gentoo.org> AuthorDate: 2025-06-02 17:29:46 +0000 Commit: Eray Aslan <eras@gentoo.org> CommitDate: 2025-06-02 17:29:46 +0000 net-mail/dovecot: lib: cpu-count - fix compilation using musl The macros, types and symbols CPU_* and cpuset_t are not exposed in musl's sched.h unless _GNU_SOURCE is set. Closes: https://bugs.gentoo.org/956960 Signed-off-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Eray Aslan <eras@gentoo.org> net-mail/dovecot/dovecot-2.4.1-r2.ebuild | 1 + .../files/dovecot-2.4.1-fix-musl-build.patch | 26 ++++++++++++++++++++++ 2 files changed, 27 insertions(+)