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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 21 16:27:43 GMT 2026


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

            Bug ID: 293955
           Summary: deskutils/kdepim-runtime: fix build with clang 21
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: dim at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list