Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 956960 - net-mail/dovecot-2.4.1-r2: fails to compile using musl
Summary: net-mail/dovecot-2.4.1-r2: fails to compile using musl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Eray Aslan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-31 09:02 UTC by Fabian Groffen
Modified: 2025-06-02 17:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2025-05-31 09:02:33 UTC
cpu-count.c fails to compile, see for details and a patch to fix:
https://github.com/dovecot/core/pull/244
Comment 1 Larry the Git Cow gentoo-dev 2025-06-02 17:32:54 UTC
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(+)