maintainer-feedback requested: [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


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (group)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 282319: x11/plasma6-plasma-desktop: fix build with clang 19
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282319



--- Description ---
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_Inpu
tDevice_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/libkwind
evices
-I/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwindev
ices_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_compila
tion.cpp.o
-MF
kcms/libkwindevices/CMakeFiles/kwindevices.dir/kwindevices_autogen/mocs_compila
tion.cpp.o.d
-o
kcms/libkwindevices/CMakeFiles/kwindevices.dir/kwindevices_autogen/mocs_compila
tion.cpp.o
-c
/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwindevic
es_autogen/mocs_compilation.cpp
In file included from
/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwindevic
es_autogen/mocs_compilation.cpp:3:
In file included from
/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwindevic
es_autogen/EWIEGA46WW/moc_inputdevice.cpp:9:
/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwindevic
es_autogen/EWIEGA46WW/../../../../../plasma-desktop-6.1.2/kcms/libkwindevices/i
nputdevice.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/02726a1ca0189f71f46513078cbc82af9d
aa9425


More information about the kde-freebsd mailing list