Re: git: dc725162ae6e - main - KDE: Update KDE Plasma to 6.6.2

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Thu, 19 Mar 2026 11:24:38 UTC

On 19.03.2026 13:44, Max Brazhnikov wrote:
> On Thu, 12 Mar 2026 10:04:47 -0300 Renato Botelho wrote:
>> On 05/03/26 09:15, Max Brazhnikov wrote:
>>> The branch main has been updated by makc:
>>>
>>> URL: https://cgit.FreeBSD.org/ports/commit/?id=dc725162ae6e0502417937f71c187f1583b3550e
>>>
>>> commit dc725162ae6e0502417937f71c187f1583b3550e
>>> Author:     Max Brazhnikov <makc@FreeBSD.org>
>>> AuthorDate: 2026-03-05 12:15:05 +0000
>>> Commit:     Max Brazhnikov <makc@FreeBSD.org>
>>> CommitDate: 2026-03-05 12:15:05 +0000
>>>
>>>       KDE: Update KDE Plasma to 6.6.2
>>>       
>>>       Announcement: https://kde.org/announcements/plasma/6/6.6.2/
>> www/qt6-webengine failed to build [1] on 14.x amd64 latest repository on
>> March 7 and since then x11/kde package is missing on that repo.  I see
>> some local users complaining about issues when they try to upgrade their
>> 14.x KDE desktop because of that.
> 
> I have no idea why but qtwebengine occasionally fails to build on the
> package cluster. I have never had problems with it on my local box.

BTW, qtwebengine laso fails on recent -current/aarch64 and only way to build it with small dirty hack
https://people.freebsd.org/~fluffy/-patches/www_qt6-webengine-6.10.2.diff

===
diff --git a/www/qt6-webengine/Makefile b/www/qt6-webengine/Makefile
index 1188fe4cbff3..30bb3e11962d 100644
--- a/www/qt6-webengine/Makefile
+++ b/www/qt6-webengine/Makefile
@@ -42,6 +42,7 @@ CONFIGURE_ENV=	NODEJS_EXECUTABLE="${LOCALBASE}/bin/node"
  
  CMAKE_ON=	QT_FEATURE_webengine_system_ffmpeg \
  		QT_FEATURE_webengine_proprietary_codecs
+CMAKE_OFF=	QT_GENERATE_SBOM
  
  .if defined(BUILD_QTPDF)
  CMAKE_ON+=	QT_FEATURE_qtpdf_build
@@ -50,6 +51,8 @@ CMAKE_OFF+=	QT_FEATURE_qtwebengine_build
  SYS_LIBS=	freetype
  .else
  BUILD_DEPENDS+=	${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \
+		${PYTHON_PKGNAMEPREFIX}cyclonedx-python-lib>=5<12:textproc/py-cyclonedx-python-lib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}spdx-tools>=0.7.1:misc/py-spdx-tools@${PY_FLAVOR} \
  		${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR}
  LIB_DEPENDS+=	libabsl_base.so:devel/abseil \
  		libavcodec.so:multimedia/ffmpeg \
@@ -108,7 +111,7 @@ MAKE_ENV+=	CC="${CC}" CXX="${CXX}"			\
  # real number of make jobs via MAKE_JOBS_NUMBER to ninja(1) to CONFIGURE_ENV.
  DO_MAKE_BUILD=	${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} -j1 ${MAKE_ARGS:N${DESTDIRNAME}=*}
  
-BINARY_ALIAS=	python3=${PYTHON_CMD}
+BINARY_ALIAS=	python3=${PYTHON_CMD} git=false
  
  .if !defined(BUILD_QTPDF)
  OPTIONS_DEFINE=		DRIVER PIPEWIRE
diff --git a/www/qt6-webengine/pkg-plist b/www/qt6-webengine/pkg-plist
index ba921bd16d5d..d4a8a054abb3 100644
--- a/www/qt6-webengine/pkg-plist
+++ b/www/qt6-webengine/pkg-plist
@@ -287,7 +287,7 @@ lib/cmake/Qt6WebEngineWidgetsPrivate/Qt6WebEngineWidgetsPrivateVersionlessTarget
  %%QT_QMLDIR%%/QtWebEngine/libqtwebenginequickplugin.so
  %%QT_QMLDIR%%/QtWebEngine/plugins.qmltypes
  %%QT_QMLDIR%%/QtWebEngine/qmldir
-%%QT_SBOMDIR%%/qtwebengine-%%FULLVER%%.spdx
+@comment %%QT_SBOMDIR%%/qtwebengine-%%FULLVER%%.spdx
  libdata/pkgconfig/Qt6WebEngineCore.pc
  libdata/pkgconfig/Qt6WebEngineQuick.pc
  libdata/pkgconfig/Qt6WebEngineQuickDelegatesQml.pc

===

without this hack build fails for another error:

===
[ 66%] Linking CXX shared library ../../../lib/qt6/libQt6WebEngineCore.so
cd /wrkdirs/usr/ports/www/qt6-webengine/work/.build/src/core/api && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/WebEngineCore.dir/link.txt --verbose=1
/usr/local/libexec/ccache/c++ -fPIC -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -I/usr/local/include/libepoll-shim -isystem /usr/local/include -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -I/usr/local/include/libepoll-shim -isystem /usr/local/include  -DNDEBUG -O2 -Wl,--no-undefined -Wl,--version-scrip
t,/wrkdirs/usr/ports/www/qt6-webengine/work/.build/src/core/api/WebEngineCore.version @/wrkdirs/usr/ports/www/qt6-webengine/work/.build/src/core/Release/aarch64/QtWebEngineCore_objects.rsp -W
l,--gc-sections -Wl,-z,relro,-z,now -Wl,--enable-new-dtags  -Wl,--allow-shlib-undefined -Wl,--undefined-version -L/usr/local/lib -shared -Wl,-soname,libQt6WebEngineCore.so.6 -o ../../../lib/q
t6/libQt6WebEngineCore.so.6.10.2 CMakeFiles/WebEngineCore.dir/WebEngineCore_autogen/mocs_compilation.cpp.o CMakeFiles/WebEngineCore.dir/qtwebenginecoreglobal.cpp.o CMakeFiles/WebEngineCore.di
r/qwebenginecertificateerror.cpp.o CMakeFiles/WebEngineCore.dir/qwebengineclientcertificateselection.cpp.o CMakeFiles/WebEngineCore.dir/qwebengineclientcertificatestore.cpp.o CMakeFiles/WebEn
gineCore.dir/qwebengineclienthints.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginecontextmenurequest.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginecookiestore.cpp.o CMakeFiles/WebEngineCore.dir/
qwebenginedesktopmediarequest.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginedownloadrequest.cpp.o CMakeFiles/WebEngineCore.dir/qwebengineextensioninfo.cpp.o CMakeFiles/WebEngineCore.dir/qweben
gineextensionmanager.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginefilesystemaccessrequest.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginefindtextresult.cpp.o CMakeFiles/WebEngineCore.dir/qweben
gineframe.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginefullscreenrequest.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginehistory.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginehttprequest.cpp.o CM
akeFiles/WebEngineCore.dir/qwebengineloadinginfo.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginemessagepumpscheduler.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginenavigationrequest.cpp.o CMakeFi
les/WebEngineCore.dir/qwebenginenewwindowrequest.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginenotification.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginepage.cpp.o CMakeFiles/WebEngineCore.dir
/qwebenginepermission.cpp.o CMakeFiles/WebEngineCore.dir/qwebengineprofile.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginequotarequest.cpp.o CMakeFiles/WebEngineCore.dir/qwebengineregisterproto
colhandlerrequest.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginescript.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginescriptcollection.cpp.o CMakeFiles/WebEngineCore.dir/qwebenginesettings.cpp.o
  CMakeFiles/WebEngineCore.dir/qwebengineurlrequestinfo.cpp.o CMakeFiles/WebEngineCore.dir/qwebengineurlrequestinterceptor.cpp.o CMakeFiles/WebEngineCore.dir/qwebengineurlrequestjob.cpp.o CMak
eFiles/WebEngineCore.dir/qwebengineurlscheme.cpp.o CMakeFiles/WebEngineCore.dir/qwebengineurlschemehandler.cpp.o CMakeFiles/WebEngineCore.dir/qwebengineglobalsettings.cpp.o CMakeFiles/WebEngi
neCore.dir/qwebenginewebauthuxrequest.cpp.o CMakeFiles/WebEngineCore.dir/qwebengineprofilebuilder.cpp.o  -Wl,-rpath,/usr/local/lib/qt6: /usr/local/lib/qt6/libQt6WebChannel.so.6.10.2 /usr/loca
l/lib/qt6/libQt6Positioning.so.6.10.2 -Wl,--start-group @/wrkdirs/usr/ports/www/qt6-webengine/work/.build/src/core/Release/aarch64/QtWebEngineCore_archives.rsp -Wl,--end-group -Wl,--no-fatal-
warnings @/wrkdirs/usr/ports/www/qt6-webengine/work/.build/src/core/Release/aarch64/QtWebEngineCore_ldir.rsp @/wrkdirs/usr/ports/www/qt6-webengine/work/.build/src/core/Release/aarch64/QtWebEn
gineCore_libs.rsp -Wl,--no-fatal-warnings /usr/local/lib/qt6/libQt6Quick.so.6.10.2 /usr/local/lib/qt6/libQt6OpenGL.so.6.10.2 /usr/local/lib/qt6/libQt6Gui.so.6.10.2 /usr/local/lib/libGLX.so /u
sr/local/lib/libOpenGL.so /usr/local/lib/libxkbcommon.so /usr/local/lib/qt6/libQt6QmlMeta.so.6.10.2 /usr/local/lib/qt6/libQt6QmlModels.so.6.10.2 /usr/local/lib/qt6/libQt6QmlWorkerScript.so.6.
10.2 /usr/local/lib/qt6/libQt6Qml.so.6.10.2 /usr/local/lib/qt6/libQt6Network.so.6.10.ld: error: undefined symbol: angle::GetPCIDevicesFreeBSD(std::__1::vector<angle::GPUDeviceInfo, std::__1::
allocator<angle::GPUDeviceInfo>>*)
>>> referenced by SystemInfo_linux.cpp
>>>               angle_gpu_info_util/SystemInfo_linux.o:(angle::GetSystemInfo(angle::SystemInfo*)) in archive /wrkdirs/usr/ports/www/qt6-webengine/work/.build/src/core/Release/aarch64/obj/th
ird_party/angle/libangle_gpu_info_util.a
c++: error: linker command failed with exit code 1 (use -v to see invocation)
2 /usr/local/lib/qt6/libQt6Core.so.6.10.2 -pthread -Wl,-rpath-link,/usr/local/lib/qt6
*** [lib/qt6/libQt6WebEngineCore.so.6.10.2] Error code 1

make[3]: stopped making "src/core/api/CMakeFiles/WebEngineCore.dir/build" in /wrkdirs/usr/ports/www/qt6-webengine/work/.build
make[3]: 1 error

===

> 
>> There should be a mechanism preventing repositories being published when
>> important packages like x11/kde are removed.  If we already have
>> something like this implemented, x11/kde should be added to the list of
>> important packages IMO.
> 
> I tend to agree with you. I think this should be discussed with the pkg
> team and community.
> 
> Cheers,
> Max
> 
> 
> 

-- 
Sincerely,
Dima (fluffy@FreeBSD.org, https://t.me/FluffyBSD, @fluffy:matrix-dev.freebsd.org)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team