[Bug 293955] deskutils/kdepim-runtime: fix build with clang 21

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 24 11:54:02 GMT 2026


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293955

--- Comment #4 from commit-hook at FreeBSD.org ---
A commit in branch 2026Q1 references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=ffe7f23e206520f51ed704058b823235a79c179a

commit ffe7f23e206520f51ed704058b823235a79c179a
Author:     Dimitry Andric <dim at FreeBSD.org>
AuthorDate: 2026-03-21 16:28:26 +0000
Commit:     Dimitry Andric <dim at FreeBSD.org>
CommitDate: 2026-03-24 11:53:35 +0000

    deskutils/kdepim-runtime: fix build with clang 21

    With clang 21 deskutils/kdepim-runtime fails to build, with errors
    similar to:

        ld: error: undefined symbol: KPIM::Maildir::Maildir(QString const&,
bool)
        >>> referenced by configwidget.cpp
        >>>              
CMakeFiles/mixedmaildirconfig.dir/configwidget.cpp.o:(ConfigWidget::checkPath())
        >>> referenced by configwidget.cpp
        >>>              
CMakeFiles/mixedmaildirconfig.dir/configwidget.cpp.o:(ConfigWidget::checkPath())

        ld: error: undefined symbol: KPIM::Maildir::isValid(bool) const
        >>> referenced by configwidget.cpp
        >>>              
CMakeFiles/mixedmaildirconfig.dir/configwidget.cpp.o:(ConfigWidget::checkPath())
        >>> referenced by configwidget.cpp
        >>>              
CMakeFiles/mixedmaildirconfig.dir/configwidget.cpp.o:(ConfigWidget::checkPath())

    This is because various CMake configure checks fail, due to the port
    Makefile adding -Wno-error=enum-constexpr-conversion, which is no longer
    supported by clang >= 21.

    PR:             293955
    Approved by:    makc (maintainer)
    MFH:            2026Q1

    (cherry picked from commit 441cd2b7a4f5b81f25ac9109b30c646265e7f7fb)

 deskutils/kdepim-runtime/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kde-freebsd mailing list