devel/qt6-tools fails to install

From: Janos Dohanics <web_at_3dresearch.com>
Date: Mon, 12 Aug 2024 16:02:20 UTC
Hello,

I have tried and failed to install devel/qt6-tools:

# portupgrade -vR qt6-tools-6.6.0
Session started at: Mon, 12 Aug 2024 09:42:43 -0400
[Reading data from pkg(8) ... - 606 packages found - done]
[Gathering depends for devel/qt6-tools ...........(graphics/vulkan-headers)..(devel/cmake-core).....(textproc/expat2)(devel/jsoncpp)....(devel/meson)......(lang/python311)......(devel/pkgconf)(devel/gettext-runtime)..(converters/libiconv)(print/indexinfo)(devel/gettext-tools)....(devel/libtextstyle)..(devel/libffi).(math/mpdecimal).(devel/gmake)..(devel/readline).(devel/ninja).(devel/libuv).(security/rhash)..(ports-mgmt/pkg)(x11/libxkbcommon)..........(devel/evdev-proto)(graphics/wayland-protocols)....(graphics/wayland)........(textproc/libxslt).....(security/libgcrypt).(security/libgpg-error)....(textproc/libxml2).....(devel/libepoll-shim)..(devel/bison)........(devel/m4)...(lang/perl5.36)(x11/libxcb)......(x11/xcb-proto)....(devel/xorg-macros).(x11/libXau)...(x11/xorgproto)..(x11/libXdmcp)...(x11/xkeyboard-config).........(x11/xkbcomp)....(x11/libX11).....(x11/xtrans)..(x11/libxkbfile)....(archivers/zstd)..(archivers/liblz4)....(graphics/libglvnd)......(x11/libXext).....(devel/llvm
 15)...........(devel/binutils)........(math/gmp)..(print/texinfo)..........(misc/help2man)......(devel/p5-Locale-gettext)...(devel/p5-Locale-libintl)....(converters/p5-Text-Unidecode).(textproc/p5-Unicode-EastAsianWidth).(math/mpfr)....(devel/swig)..(lang/lua54).(devel/libedit)(devel/pcre2)....(devel/autoconf)...(devel/autoconf-switch)(devel/automake)...(devel/libtool)...(lang/lua53).(devel/qt6-base)..........................................................(textproc/xmlstarlet)...(x11/libICE)....(x11/pixman)...(x11/libSM).....(x11/libXcomposite)......(x11/libXfixes)....(x11/libXcursor)......(x11/libXrender)....(x11/libXdamage).....(x11/libXi)......(x11/libXinerama).....(x11/libXrandr)......(accessibility/at-spi2-core)............(devel/gobject-introspection).........(devel/glib20)...........(x11/libXtst)......(devel/dbus).......(archivers/brotli)...(devel/double-conversion)..(graphics/libdrm).....(textproc/py-docutils)....(devel/libpciaccess)....(devel/libevdev)....(x11-fonts/fontco
 nfig)........(devel/gperf).(print/freetype2).....(graphics/png)..(graphics/graphite2)..(print/harfbuzz).........(devel/icu)..(x11/libinput)...........(devel/libudev-devd)...(devel/libmtdev).(x11/libwacom).......(devel/libgudev).......(graphics/jpeg-turbo)...(devel/nasm)..(graphics/vulkan-loader).........(print/cups).......(net/avahi-app)..............(textproc/intltool)....(textproc/p5-XML-Parser)..(devel/libdaemon)(devel/dbus-glib).......(databases/gdbm).....(devel/libevent).(sysutils/gnome_subr)(security/gnutls).............(security/nettle)...(security/libtasn1)..(devel/libunistring)..(dns/libidn2).....(security/p11-kit)......(shells/bash-completion).....(shells/bash)......(shells/bash-completion-freebsd)(print/libpaper)...(x11/xcb-util-cursor)........(x11/xcb-util)......(x11/xcb-util-renderutil).....(x11/xcb-util-image).....(x11/xcb-util-wm).....(x11/xcb-util-keysyms).....(graphics/cairo)................(graphics/gdk-pixbuf2)..............(misc/shared-mime-info).........(graphic
 s/tiff).....(archivers/libdeflate)..(graphics/jbigkit)(graphics/lerc)..(x11-toolkits/gtk30)......................................(textproc/gtk-doc)...........(textproc/docbook-xml)..(textproc/xmlcharent).(textproc/xmlcatmgr)(textproc/docbook-xsl)..(textproc/docbook)...(textproc/docbook-sgml)..(textproc/iso8879).(textproc/sdocbook-xml).(textproc/itstool)..(textproc/yelp-tools).........(textproc/yelp-xsl).(graphics/libepoxy).......(converters/fribidi)..(graphics/colord).................(lang/vala)........(devel/libgusb)..........(devel/json-glib)........(graphics/lcms2)..(sysutils/polkit)...........(lang/duktape-lib).(databases/sqlite3)..(lang/tcl86)(misc/hwdata)..(sysutils/coreutils).....(x11-toolkits/pango)...............(x11-fonts/libXft).......(devel/libthai)...(devel/libdatrie).(x11-themes/adwaita-icon-theme).....(graphics/gtk-update-icon-cache).......(misc/hicolor-icon-theme)..(devel/gsettings-desktop-schemas)........(graphics/librsvg2-rust).................(lang/rust).....(ftp/
 curl).....(www/libnghttp2).(security/libssh2)(dns/libpsl)........(dns/public_suffix_list)(x11-toolkits/qt6-declarative)..........(x11-toolkits/qt6-shadertools).......(devel/qt6-languageserver)..... done]
[Exclude up-to-date packages ................................................................................................................................................................................... done]
--->  Upgrade of devel/qt6-tools started at: Mon, 12 Aug 2024 09:43:42 -0400
--->  Upgrading 'qt6-tools-6.6.0' to 'qt6-tools-6.7.2_1' (devel/qt6-tools)
--->  Build of devel/qt6-tools started at: Mon, 12 Aug 2024 09:43:42 -0400
--->  Building '/usr/ports/devel/qt6-tools'
===>  Cleaning for qt6-tools-6.7.2_1
===>  License LGPL21 accepted by the user
===>   qt6-tools-6.7.2_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by qt6-tools-6.7.2_1 for building
===>  Extracting for qt6-tools-6.7.2_1
=> SHA256 Checksum OK for KDE/Qt/6.7.2/qttools-everywhere-src-6.7.2.tar.xz.
===>  Patching for qt6-tools-6.7.2_1
===>  Applying FreeBSD patches for qt6-tools-6.7.2_1 from /usr/ports/devel/qt6-tools/files
===>   qt6-tools-6.7.2_1 depends on file: /usr/local/include/vulkan/vulkan.h - found
===>   qt6-tools-6.7.2_1 depends on file: /usr/local/bin/cmake - found
===>   qt6-tools-6.7.2_1 depends on executable: ninja - found
===>   qt6-tools-6.7.2_1 depends on file: /usr/local/bin/python3.11 - found
===>   qt6-tools-6.7.2_1 depends on shared library: libxkbcommon.so - found (/usr/local/lib/libxkbcommon.so)
===>   qt6-tools-6.7.2_1 depends on shared library: libzstd.so - found (/usr/local/lib/libzstd.so)
===>   qt6-tools-6.7.2_1 depends on shared library: libOpenGL.so - found (/usr/local/lib/libOpenGL.so)
===>   qt6-tools-6.7.2_1 depends on shared library: libLLVM-15.so - found (/usr/local/llvm15/lib/libLLVM-15.so)
===>   qt6-tools-6.7.2_1 depends on shared library: libQt6Core.so - found (/usr/local/lib/qt6/libQt6Core.so)
===>   qt6-tools-6.7.2_1 depends on shared library: libQt6Qml.so - found (/usr/local/lib/qt6/libQt6Qml.so)
===>  Configuring for qt6-tools-6.7.2_1
===>  Performing out-of-source build

[...]

--->  Build of devel/qt6-tools ended at: Mon, 12 Aug 2024 10:24:42 -0400 (consumed 00:41:00)
--->  Updating dependency info
--->  Uninstallation of qt6-tools-6.6.0 started at: Mon, 12 Aug 2024 10:24:42 -0400
--->  Fixing up dependencies before creating a package
--->  Backing up the old version
pkg: unknown format pkg, using the default
--->  Uninstalling the old version
[Reading data from pkg(8) ... - 606 packages found - done]
--->  Deinstalling 'qt6-tools-6.6.0'
--->  Preserving /usr/local/lib/qt6/libQt6Designer.so.6 as /usr/local/lib/compat/pkg/libQt6Designer.so.6
--->  Preserving /usr/local/lib/qt6/libQt6Designer.so.6.6.0 as /usr/local/lib/compat/pkg/libQt6Designer.so.6.6.0
--->  Preserving /usr/local/lib/qt6/libQt6DesignerComponents.so.6 as /usr/local/lib/compat/pkg/libQt6DesignerComponents.so.6
--->  Preserving /usr/local/lib/qt6/libQt6DesignerComponents.so.6.6.0 as /usr/local/lib/compat/pkg/libQt6DesignerComponents.so.6.6.0
--->  Preserving /usr/local/lib/qt6/libQt6Help.so.6 as /usr/local/lib/compat/pkg/libQt6Help.so.6
--->  Preserving /usr/local/lib/qt6/libQt6Help.so.6.6.0 as /usr/local/lib/compat/pkg/libQt6Help.so.6.6.0
--->  Preserving /usr/local/lib/qt6/libQt6UiTools.so.6 as /usr/local/lib/compat/pkg/libQt6UiTools.so.6
--->  Preserving /usr/local/lib/qt6/libQt6UiTools.so.6.6.0 as /usr/local/lib/compat/pkg/libQt6UiTools.so.6.6.0
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
	qt6-tools: 6.6.0

Number of packages to be removed: 1

The operation will free 20 MiB.
[1/1] Deinstalling qt6-tools-6.6.0...
[1/1] Deleting files for qt6-tools-6.6.0: 100%
[Reading data from pkg(8) ... - 605 packages found - done]
--->  Uninstallation of qt6-tools-6.6.0 ended at: Mon, 12 Aug 2024 10:24:58 -0400 (consumed 00:00:16)
--->  Installation of devel/qt6-tools started at: Mon, 12 Aug 2024 10:24:58 -0400
--->  Installing the new version via the port
===>  Deinstalling for qt6-tools
===>   qt6-tools not installed, skipping
===>  Installing for qt6-tools-6.7.2_1
===>  Checking if qt6-tools is already installed
===>   Registering installation for qt6-tools-6.7.2_1 as automatic
pkg-static: Unable to access file /usr/ports/devel/qt6-tools/work/stage/usr/local/bin/qdistancefieldgenerator6:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/qt6-tools/work/stage/usr/local/lib/cmake/Qt6Designer/Qt6QQuickWidgetPluginAdditionalTargetInfo.cmake:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/qt6-tools/work/stage/usr/local/lib/cmake/Qt6Designer/Qt6QQuickWidgetPluginConfig.cmake:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/qt6-tools/work/stage/usr/local/lib/cmake/Qt6Designer/Qt6QQuickWidgetPluginConfigVersion.cmake:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/qt6-tools/work/stage/usr/local/lib/cmake/Qt6Designer/Qt6QQuickWidgetPluginConfigVersionImpl.cmake:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/qt6-tools/work/stage/usr/local/lib/cmake/Qt6Designer/Qt6QQuickWidgetPluginTargets-release.cmake:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/qt6-tools/work/stage/usr/local/lib/cmake/Qt6Designer/Qt6QQuickWidgetPluginTargets.cmake:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/qt6-tools/work/stage/usr/local/lib/qt6/bin/qdistancefieldgenerator:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/qt6-tools/work/stage/usr/local/lib/qt6/plugins/designer/libqquickwidget.so:No such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/qt6-tools
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/qt6-tools
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20240812-47182-6umdff env UPGRADE_TOOL=portupgrade UPGRADE_PORT=qt6-tools-6.6.0 UPGRADE_PORT_VER=6.6.0 make -DINSTALLS_DEPENDS reinstall
--->  Updating dependency info
--->  Restoring the old version
Installing qt6-tools-6.6.0...
Extracting qt6-tools-6.6.0: 100%
--->  Removing old package'
** Fix the installation problem and try again.
--->  Installation of devel/qt6-tools ended at: Mon, 12 Aug 2024 10:25:02 -0400 (consumed 00:00:03)
--->  Upgrade of devel/qt6-tools ended at: Mon, 12 Aug 2024 10:25:02 -0400 (consumed 00:41:20)
--->  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
	! devel/qt6-tools (qt6-tools-6.6.0)	(install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
--->  Session ended at: Mon, 12 Aug 2024 10:25:02 -0400 (consumed 00:42:19)

The system is FreeBSD 14.1-STABLE 36bb714e2 GENERIC amd64.

Would you please advise?

-- 
Janos Dohanics