Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2024 10:04:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 282319] x11/plasma6-plasma-desktop: fix build with clang 19
Message-ID:  <bug-282319-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282319

            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@FreeBSD.org
          Reporter: jkim@FreeBSD.org
             Flags: maintainer-feedback?(kde@FreeBSD.org)
          Assignee: kde@FreeBSD.org

Created attachment 254506
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D254506&action=
=3Dedit
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/libk=
windevices
-I/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwi=
ndevices_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/Qt=
DBus
-O2 -pipe -march=3Dznver3 -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-lo=
ng
-Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual
-Werror=3Dreturn-type -Werror=3Dinit-self -Wvla -Wdate-time -pedantic
-Wzero-as-null-pointer-constant -fdiagnostics-color=3Dalways -O2 -pipe
-march=3Dznver3 -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG
-std=3Dgnu++20 -fPIC -fvisibility=3Dhidden -fvisibility-inlines-hidden -fPIC
-pthread -MD -MT
kcms/libkwindevices/CMakeFiles/kwindevices.dir/kwindevices_autogen/mocs_com=
pilation.cpp.o
-MF
kcms/libkwindevices/CMakeFiles/kwindevices.dir/kwindevices_autogen/mocs_com=
pilation.cpp.o.d
-o
kcms/libkwindevices/CMakeFiles/kwindevices.dir/kwindevices_autogen/mocs_com=
pilation.cpp.o
-c
/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwind=
evices_autogen/mocs_compilation.cpp
In file included from
/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwind=
evices_autogen/mocs_compilation.cpp:3:
In file included from
/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwind=
evices_autogen/EWIEGA46WW/moc_inputdevice.cpp:9:
/usr/ports/x11/plasma6-plasma-desktop/work/.build/kcms/libkwindevices/kwind=
evices_autogen/EWIEGA46WW/../../../../../plasma-desktop-6.1.2/kcms/libkwind=
evices/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/02726a1ca0189f71f46513078cbc82=
af9daa9425

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282319-7788>