[Bug 282319] x11/plasma6-plasma-desktop: fix build with clang 19

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 25 11:04:09 BST 2024


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

            Bug ID: 282319
           Summary: x11/plasma6-plasma-desktop: fix build with clang 19
           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: jkim at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

Created attachment 254506
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=254506&action=edit
Fix build with clang 19

x11/plasma6-plasma-desktop fails to build with clang 19.

[ 42% 389/912] cd
/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices &&
/usr/local/libexec/qt6/moc
@/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/moc_InputDevice_interface.cpp_parameters
[ 42% 390/912] /usr/local/libexec/ccache/c++ -DQT_CORE_LIB -DQT_DBUS_LIB
-DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_FOREACH
-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_URL_CAST_FROM_STRING
-DQT_USE_QSTRINGBUILDER -D_LARGEFILE64_SOURCE
-I/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices
-I/usr/ports/x11/plasma6-plasma-desktop/work/plasma-desktop-6.1.2/kcms/libkwindevices
-I/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwindevices_autogen/include
-I/usr/ports/x11/plasma6-plasma-desktop/work/.build -isystem
/usr/local/include/qt6/QtCore -isystem /usr/local/include/qt6 -isystem
/usr/local/lib/qt6/mkspecs/freebsd-clang -isystem /usr/local/include/qt6/QtDBus
-O2 -pipe -march=znver3 -fstack-protector-strong -fno-strict-aliasing
-fno-operator-names -fno-exceptions -Wno-gnu-zero-variadic-macro-arguments
-Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long
-Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual
-Werror=return-type -Werror=init-self -Wvla -Wdate-time -pedantic
-Wzero-as-null-pointer-constant -fdiagnostics-color=always -O2 -pipe
-march=znver3 -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG
-std=gnu++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC
-pthread -MD -MT
kcms/libkwindevices/CMakeFiles/kwindevices.dir/kwindevices_autogen/mocs_compilation.cpp.o
-MF
kcms/libkwindevices/CMakeFiles/kwindevices.dir/kwindevices_autogen/mocs_compilation.cpp.o.d
-o
kcms/libkwindevices/CMakeFiles/kwindevices.dir/kwindevices_autogen/mocs_compilation.cpp.o
-c
/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwindevices_autogen/mocs_compilation.cpp
In file included from
/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwindevices_autogen/mocs_compilation.cpp:3:
In file included from
/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwindevices_autogen/EWIEGA46WW/moc_inputdevice.cpp:9:
/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwindevices_autogen/EWIEGA46WW/../../../../../plasma-desktop-6.1.2/kcms/libkwindevices/inputdevice.h:171:19:
error: reference to non-static member function must be called
  171 |             set(p.value);
      |                 ~~^~~~~
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/x11/plasma6-plasma-desktop

The following upstream commit fixes the build.

https://github.com/KDE/plasma-desktop/commit/02726a1ca0189f71f46513078cbc82af9daa9425

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


More information about the kde-freebsd mailing list