+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/qt6-qtbase-6.5.0nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/qt6-qtbase-6.5.0nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for qtbase-everywhere-src-6.5.0.tar.xz
=> Checksum SHA512 OK for qtbase-everywhere-src-6.5.0.tar.xz
===> Installing dependencies for qt6-qtbase-6.5.0nb2
==========================================================================
The supported build options for qt6-qtbase are:

	cups dbus gtk3

The currently selected options are:

	cups dbus

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.qt6-qtbase (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
qt6-qtbase-6.5.0nb2.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = mit-krb5
        * PYTHON_VERSION_DEFAULT = 310
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = mit-krb5
        * PYPACKAGE = python310

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.74.6
=> Tool dependency xmlstarlet-[0-9]*: found xmlstarlet-1.6.1nb7
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.4.3
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.26.4
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency perl>=5.0: found perl-5.36.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.5
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb2
=> Full dependency libcups>=2.4.2nb6: found libcups-2.4.2nb6
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency png>=1.6.0nb1: found png-1.6.39
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency jpeg>=9: found jpeg-9e
=> Full dependency gettext-lib>=0.18: found gettext-lib-0.21.1
=> Full dependency at-spi2-core>=2.40.3: found at-spi2-core-2.40.3nb2
=> Full dependency glib2>=2.70.2: found glib2-2.74.6nb1
=> Full dependency pcre2>=10.30: found pcre2-10.42
=> Full dependency dbus>=0.91: found dbus-1.14.6
=> Full dependency libXi>=1.0.0: found libXi-1.8.1
=> Full dependency libX11>=1.5: found libX11-1.8.4
=> Full dependency libxcb>=1.11: found libxcb-1.15nb1
=> Full dependency libXext>=1.1: found libXext-1.3.5
=> Full dependency brotli>=1.0.1: found brotli-1.0.9
=> Full dependency zstd>=1.3.6: found zstd-1.5.5
=> Full dependency sqlite3>=3.41.2nb1: found sqlite3-3.42.0
=> Full dependency harfbuzz>=5.3.1nb1: found harfbuzz-7.3.0
=> Full dependency freetype2>=2.13.0: found freetype2-2.13.0nb1
=> Full dependency python310>=3.10: found python310-3.10.11
=> Full dependency double-conversion>=3.0.0: found double-conversion-3.3.0
=> Full dependency libb2>=0.98.1: found libb2-0.98.1
=> Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1tnb1
=> Full dependency icu>=73.1: found icu-73.1nb1
=> Full dependency md4c>=0.4.8: found md4c-0.4.8
=> Full dependency libproxy>=0.5.0: found libproxy-0.5.1
=> Full dependency fontconfig>=2.14.1nb1: found fontconfig-2.14.2nb1
=> Full dependency glu>=7.11.2: found glu-9.0.2
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.3
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.11
=> Full dependency xcb-util>=0.3.9: found xcb-util-0.4.1
=> Full dependency xcb-util-cursor>=0.1.1nb1: found xcb-util-cursor-0.1.4
=> Full dependency xcb-util-image>=0.3.9: found xcb-util-image-0.4.1
=> Full dependency xcb-util-renderutil>=0.3.8nb1: found xcb-util-renderutil-0.3.10
=> Full dependency xcb-util-keysyms>=0.3.9: found xcb-util-keysyms-0.4.1
=> Full dependency xcb-util-wm>=0.3.9: found xcb-util-wm-0.4.2nb1
=> Full dependency libSM>=0.99.2: found libSM-1.2.4
=> Full dependency libXcursor>=1.1.1: found libXcursor-1.2.1
=> Full dependency libXft>=2.3.7nb1: found libXft-2.3.8
=> Full dependency libXmu>=1.0.0: found libXmu-1.1.4
=> Full dependency libxkbcommon>=0.4.0nb1: found libxkbcommon-1.5.0nb1
===> Overriding tools for qt6-qtbase-6.5.0nb2
===> Extracting for qt6-qtbase-6.5.0nb2
===> Patching for qt6-qtbase-6.5.0nb2
=> Applying pkgsrc patches for qt6-qtbase-6.5.0nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-cmake_QtBaseGlobalTargets.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-cmake_QtBaseGlobalTargets.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_QtBaseGlobalTargets.cmake,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|* Only install non-generated files, this is needed since use in source build
|* Don't install files bat.in files as thay are set to executable but not used
|  by pkgsrc systems
|* Don't install the directories under cmake/ since they create empty dirs on
|  some platforms, files in them are installed anyway through other directives
|
|--- cmake/QtBaseGlobalTargets.cmake.orig	2022-11-03 12:40:18.000000000 +0000
|+++ cmake/QtBaseGlobalTargets.cmake
--------------------------
Patching file cmake/QtBaseGlobalTargets.cmake using Plan A...
Hunk #1 succeeded at 303 (offset 9 lines).
Hunk #2 succeeded at 364 (offset -1 lines).
Hunk #3 succeeded at 388 (offset 9 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-cmake_QtBuildInternals_QtBuildInternalsConfig.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-cmake_QtBuildInternals_QtBuildInternalsConfig.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_QtBuildInternals_QtBuildInternalsConfig.cmake,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|* Only run qt_copy_or_install if there are any Find*.cmake files to install,
|  the reason to do this is that some qt6 packages has a cmake dir but no Find*.cmake
|  files in it and in these cases an empty qt6/lib/cmake/Qt6 directory is created and
|  we don't want that.
|
|--- cmake/QtBuildInternals/QtBuildInternalsConfig.cmake.orig	2022-05-25 08:58:52.000000000 +0000
|+++ cmake/QtBuildInternals/QtBuildInternalsConfig.cmake
--------------------------
Patching file cmake/QtBuildInternals/QtBuildInternalsConfig.cmake using Plan A...
Hunk #1 succeeded at 497 (offset 20 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-cmake_QtFeature.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-cmake_QtFeature.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_QtFeature.cmake,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|* add function so that libraries such as socket and nsl 
|  can be added to tests
|
|--- cmake/QtFeature.cmake.orig	2022-03-27 12:50:42.000000000 +0000
|+++ cmake/QtFeature.cmake
--------------------------
Patching file cmake/QtFeature.cmake using Plan A...
Hunk #1 succeeded at 1275 (offset 21 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-cmake_QtProcessConfigureArgs.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-cmake_QtProcessConfigureArgs.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_QtProcessConfigureArgs.cmake,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|* add function so that libraries such as socket and nsl 
|  can be added to tests
|
|* add support for avoiding the cmake archiving api using configure since
|  libarchive in pkgsrc that cmake uses is built without zstd support
|
|--- cmake/QtProcessConfigureArgs.cmake.orig	2022-03-27 12:50:42.000000000 +0000
|+++ cmake/QtProcessConfigureArgs.cmake
--------------------------
Patching file cmake/QtProcessConfigureArgs.cmake using Plan A...
Hunk #1 succeeded at 208 (offset 31 lines).
Hunk #2 succeeded at 830 (offset 31 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-cmake_QtSyncQtHelpers.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-cmake_QtSyncQtHelpers.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_QtSyncQtHelpers.cmake,v 1.1 2023/04/07 18:28:05 nros Exp $
|
|* make sure syncqt is built before being used when building with make
|
|--- cmake/QtSyncQtHelpers.cmake.orig	2023-04-06 21:34:52.245729498 +0000
|+++ cmake/QtSyncQtHelpers.cmake
--------------------------
Patching file cmake/QtSyncQtHelpers.cmake using Plan A...
Hunk #1 succeeded at 163.
Hunk #2 succeeded at 191.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-mkspecs_features_toolchain.prf
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-mkspecs_features_toolchain.prf
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mkspecs_features_toolchain.prf,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|Avoid "Variable QMAKE_CXX.COMPILER_MACROS is not defined" errors when using clang
|
|--- mkspecs/features/toolchain.prf.orig	2018-12-03 11:15:26.000000000 +0000
|+++ mkspecs/features/toolchain.prf
--------------------------
Patching file mkspecs/features/toolchain.prf using Plan A...
Hunk #1 succeeded at 62 (offset -164 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-qmake_generators_makefile.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-qmake_generators_makefile.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-qmake_generators_makefile.cpp,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|Pass library path to linker.
|
|--- qmake/generators/makefile.cpp.orig	2019-08-31 08:29:31.000000000 +0000
|+++ qmake/generators/makefile.cpp
--------------------------
Patching file qmake/generators/makefile.cpp using Plan A...
Hunk #1 succeeded at 3373 (offset -14 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-qmake_generators_unix_unixmake2.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-qmake_generators_unix_unixmake2.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-qmake_generators_unix_unixmake2.cpp,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|Append external variables.
|
|--- qmake/generators/unix/unixmake2.cpp.orig	2020-09-02 10:15:07.000000000 +0000
|+++ qmake/generators/unix/unixmake2.cpp
--------------------------
Patching file qmake/generators/unix/unixmake2.cpp using Plan A...
Hunk #1 succeeded at 170 (offset -21 lines).
Hunk #2 succeeded at 194 (offset -21 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_corelib_global_qsysinfo.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_corelib_global_qsysinfo.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_corelib_global_qsysinfo.cpp,v 1.1 2023/04/07 18:28:05 nros Exp $
|
|* set the right product type and product version for Unix-like os (NetBSD, OpenBSd etc)
|
|--- src/corelib/global/qsysinfo.cpp.orig	2023-03-14 08:29:43.000000000 +0000
|+++ src/corelib/global/qsysinfo.cpp
--------------------------
Patching file src/corelib/global/qsysinfo.cpp using Plan A...
Hunk #1 succeeded at 794.
Hunk #2 succeeded at 853.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_corelib_io_qstandardpaths__unix.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_corelib_io_qstandardpaths__unix.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_corelib_io_qstandardpaths__unix.cpp,v 1.1 2023/04/07 18:28:05 nros Exp $
|
|Add ${PREFIX}/share to search path
|Add ${PKG_SYSCONFBASE}/xdg to search path
|
|--- src/corelib/io/qstandardpaths_unix.cpp.orig	2023-03-14 08:29:43.000000000 +0000
|+++ src/corelib/io/qstandardpaths_unix.cpp
--------------------------
Patching file src/corelib/io/qstandardpaths_unix.cpp using Plan A...
Hunk #1 succeeded at 369.
Hunk #2 succeeded at 381.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_corelib_io_qstorageinfo_unix.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_corelib_io_qstorageinfo_unix.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_corelib_io_qstorageinfo_unix.cpp,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|* fix build on SunOS
|
|--- src/corelib/io/qstorageinfo_unix.cpp.orig	2015-10-13 04:35:31 UTC
|+++ src/corelib/io/qstorageinfo_unix.cpp
--------------------------
Patching file src/corelib/io/qstorageinfo_unix.cpp using Plan A...
Hunk #1 succeeded at 61 (offset -26 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_corelib_qt__cmdline.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_corelib_qt__cmdline.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_corelib_qt__cmdline.cmake,v 1.2 2023/04/07 18:28:05 nros Exp $
|
|* support avoiding the cmake archiving api using configure
|  cmakes archiving api needs to be avoided since pkgsrc libarchive 
|  that cmake uses is built without zstd support
|
|--- src/corelib/qt_cmdline.cmake.orig	2023-03-14 08:29:43.000000000 +0000
|+++ src/corelib/qt_cmdline.cmake
--------------------------
Patching file src/corelib/qt_cmdline.cmake using Plan A...
Hunk #1 succeeded at 16.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_corelib_thread_qmutex__p.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_corelib_thread_qmutex__p.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_corelib_thread_qmutex__p.h,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|Avoid using semaphores on netbsd. they're flimsy and sem_init fails
|if you use too many semaphores.
|
|--- src/corelib/thread/qmutex_p.h.orig	2021-09-23 07:42:06.000000000 +0000
|+++ src/corelib/thread/qmutex_p.h
--------------------------
Patching file src/corelib/thread/qmutex_p.h using Plan A...
Hunk #1 succeeded at 25 (offset -37 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_corelib_thread_qwaitcondition__unix.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_corelib_thread_qwaitcondition__unix.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_corelib_thread_qwaitcondition__unix.cpp,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|On NetBSD before 6.1, do not use pthread_condattr_setclock().
|
|--- src/corelib/thread/qwaitcondition_unix.cpp.orig	2018-12-03 11:15:26.000000000 +0000
|+++ src/corelib/thread/qwaitcondition_unix.cpp
--------------------------
Patching file src/corelib/thread/qwaitcondition_unix.cpp using Plan A...
Hunk #1 succeeded at 18 (offset -36 lines).
Hunk #2 succeeded at 49 (offset -36 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_network_configure.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_network_configure.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_network_configure.cmake,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|* add libraries needed for networking on solaris
|
|--- src/network/configure.cmake.orig	2022-03-27 12:50:42.000000000 +0000
|+++ src/network/configure.cmake
--------------------------
Patching file src/network/configure.cmake using Plan A...
Hunk #1 succeeded at 12 (offset -44 lines).
Hunk #2 succeeded at 20 (offset -44 lines).
Hunk #3 succeeded at 58 (offset -44 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_plugins_platforms_cocoa_qiosurfacegraphicsbuffer.mm
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_plugins_platforms_cocoa_qiosurfacegraphicsbuffer.mm
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_plugins_platforms_cocoa_qiosurfacegraphicsbuffer.mm,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|Fix Darwin build on builds before macosx 10.13
|
|--- src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.mm.orig	2019-06-13 04:18:18.000000000 +0000
|+++ src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.mm
--------------------------
Patching file src/plugins/platforms/cocoa/qiosurfacegraphicsbuffer.mm using Plan A...
Hunk #1 succeeded at 9 (offset -36 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_plugins_platforms_xcb_qxcbatom.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_plugins_platforms_xcb_qxcbatom.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_plugins_platforms_xcb_qxcbatom.cpp,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|Fix building.
|
|--- src/plugins/platforms/xcb/qxcbatom.cpp.orig	2018-12-13 14:50:05.083875585 +0000
|+++ src/plugins/platforms/xcb/qxcbatom.cpp
--------------------------
Patching file src/plugins/platforms/xcb/qxcbatom.cpp using Plan A...
Hunk #1 succeeded at 4 (offset -36 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_plugins_platforms_xcb_qxcbconnection__basic.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_plugins_platforms_xcb_qxcbconnection__basic.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_plugins_platforms_xcb_qxcbconnection__basic.h,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|Include <cstdlib> for std::free().
|
|--- src/plugins/platforms/xcb/qxcbconnection_basic.h.orig	2020-01-21 16:01:11.717518124 +0000
|+++ src/plugins/platforms/xcb/qxcbconnection_basic.h
--------------------------
Patching file src/plugins/platforms/xcb/qxcbconnection_basic.h using Plan A...
Hunk #1 succeeded at 14 (offset -36 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_tools_moc_main.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_tools_moc_main.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_tools_moc_main.cpp,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|rh#756395, https://bugreports.qt-project.org/browse/QTBUG-22829
|
|--- src/tools/moc/main.cpp.orig	2013-11-27 01:01:11.000000000 +0000
|+++ src/tools/moc/main.cpp
--------------------------
Patching file src/tools/moc/main.cpp using Plan A...
Hunk #1 succeeded at 166 (offset -26 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_widgets_graphicsview_qgraphicsitem__p.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/patches/patch-src_widgets_graphicsview_qgraphicsitem__p.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_widgets_graphicsview_qgraphicsitem__p.h,v 1.1 2022/11/24 11:11:38 nros Exp $
|
|--- src/widgets/graphicsview/qgraphicsitem_p.h.orig	2013-11-27 01:01:12.000000000 +0000
|+++ src/widgets/graphicsview/qgraphicsitem_p.h
--------------------------
Patching file src/widgets/graphicsview/qgraphicsitem_p.h using Plan A...
Hunk #1 succeeded at 658 (offset -103 lines).
done
===> Creating toolchain wrappers for qt6-qtbase-6.5.0nb2
===> Configuring for qt6-qtbase-6.5.0nb2
=> Removing some Qt6 default compiler flags.
=> Add to default XDG path.
=> Substituting "vscript" in mkspecs/common/gcc-base-unix.conf
/usr/bin/sed  -e 's:@PREFIX@:/opt/pkg:g'  -e 's:@X11BASE@:/opt/pkg:g'  -e 's:@COMPILER@:gcc:g'  -e 's:@CC@:gcc:g'  -e 's:@CXX@:g++:g'  -e 's:@LDFLAGS@:\ \ -Wl,-R/opt/pkg/qt6/lib\ \ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib\ -L/usr/lib\ -lkrb5\ -lgss\ -liconv\ -lintl:g'  -e 's:@CFLAGS@:\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -DQT_NO_VERSION_TAGGING\ -I/usr/include\ -I/opt/pkg/include\ -I/usr/include/kerberosv5\ -I/usr/include/gssapi\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/opt/pkg/lib/dbus-1.0/include/dbus\ -I/opt/pkg/include/harfbuzz\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/python3.10\ -I/opt/pkg/include/libdrm:g'  -e 's:@CXXFLAGS@:\ -pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -DQT_NO_VERSION_TAGGING\ -I/usr/include\ -I/opt/pkg/include\ -I/usr/include/kerberosv5\ -I/usr/include/gssapi\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/opt/pkg/lib/dbus-1.0/include/dbus\ -I/opt/pkg/include/harfbuzz\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/python3.10\ -I/opt/pkg/include/libdrm\ -Wno-register\ -D_Noreturn=\"\":g'  -e 's:@NETWORK_LIBS@::g'  -e 's:@SYS_LIBS@::g'  -e 's:@LEX@:lex:g'  -e 's:@YACC@::g'  -e 's:@AR@:ar:g'  -e 's:@MKDIR@:/usr/bin/mkdir -p:g'  -e 's:@LIBQT@::g'  -e 's:@PTHREAD_LDFLAGS@:\ -pthread:g'  -e 's:@PTHREAD_LIBS@:-lpthread\ -lrt:g'  -e 's:@COMPILER_RPATH_FLAG@:-Wl,-R:g'  -e 's:@QMAKE_RANLIB@:ranlib:g'  -e 's:@QMAKE_EXTRA@::g'  /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/qt6-qtbase/files/qmake.conf > /home/pbulk/build/x11/qt6-qtbase/work/qtbase-everywhere-src-6.5.0/qmake.conf
for dir in /home/pbulk/build/x11/qt6-qtbase/work/qtbase-everywhere-src-6.5.0/mkspecs/*; do  cp /home/pbulk/build/x11/qt6-qtbase/work/qtbase-everywhere-src-6.5.0/qmake.conf ${dir};  rm -f ${dir}/*.orig;  done
/usr/bin/rm -f /home/pbulk/build/x11/qt6-qtbase/work/qtbase-everywhere-src-6.5.0/mkspecs/features/mac/default_pre.prf
/usr/bin/rm -f /home/pbulk/build/x11/qt6-qtbase/work/qtbase-everywhere-src-6.5.0/mkspecs/features/mac/default_post.prf
=> Replacing python interpreter in util/testrunner/sanitizer-testrunner.py util/testrunner/qt-testrunner.py.
=> Replacing bash interpreter in util/android/android_emulator_launcher.sh.
INFO: [replace-interpreter] Nothing changed in util/android/android_emulator_launcher.sh.
=> Replacing Perl interpreter in libexec/syncqt.pl mkspecs/features/data/unix/findclasslist.pl.
WARNING: [replace-interpreter] Skipping non-existent file "mkspecs/features/data/unix/findclasslist.pl".
=> Checking for portability problems in extracted files
opt: publicsuffix val: qt
opt: doubleconversion val: system
Overriding option 'doubleconversion' with 'system' (was: 'undefined')
opt: harfbuzz val: system
Overriding option 'harfbuzz' with 'system' (was: 'undefined')
opt: libjpeg val: system
Overriding option 'libjpeg' with 'system' (was: 'undefined')
opt: libmd4c val: system
Overriding option 'libmd4c' with 'system' (was: 'undefined')
opt: libpng val: system
Overriding option 'libpng' with 'system' (was: 'undefined')
opt: pcre val: system
opt: sqlite val: system
opt: zlib val: system
'/opt/pkg/bin/cmake' '-DQT_DISABLE_RPATH:BOOL=ON' '-DCMAKE_SKIP_RPATH:BOOL=ON' '-DBUILD_WITH_PCH=OFF' '-DBUILD_SHARED_LIBS=ON' '-DQT_AVOID_CMAKE_ARCHIVING_API=ON' '-DCMAKE_INSTALL_PREFIX=/opt/pkg/qt6' '-DINSTALL_SYSCONFDIR=/etc/opt/pkg/xdg' '-DQT_BUILD_EXAMPLES=FALSE' '-DQT_BUILD_TESTS=FALSE' '-DCMAKE_BUILD_TYPE=Release' '-DQT_EXTRA_INCLUDEPATHS=/opt/pkg/include' '-DQT_EXTRA_LIBDIRS=/opt/pkg/lib' '-DINPUT_accessibility=yes' '-DINPUT_icu=yes' '-DINPUT_libproxy=yes' '-DINPUT_openssl=linked' '-DINPUT_sql_db2=no' '-DINPUT_sql_ibase=no' '-DINPUT_sql_mysql=no' '-DINPUT_sql_oci=no' '-DINPUT_sql_odbc=no' '-DINPUT_sql_psql=no' '-DINPUT_strip=no' '-DINPUT_tslib=no' '-DINPUT_vulkan=no' '-DINPUT_use_gold_linker_alias=no' '-DINPUT_pkg_config=yes' '-DINPUT_publicsuffix=qt' '-DINPUT_doubleconversion=system' '-DINPUT_harfbuzz=system' '-DINPUT_libjpeg=system' '-DINPUT_libmd4c=system' '-DINPUT_libpng=system' '-DINPUT_pcre=system' '-DINPUT_system_sqlite=yes' '-DINPUT_system_zlib=yes' '-DINPUT_bundled_xcb_xinput=no' '-DINPUT_fontconfig=yes' '-DINPUT_cups=yes' '-DINPUT_dbus=linked' '-DINPUT_gtk3=no' '/home/pbulk/build/x11/qt6-qtbase/work/qtbase-everywhere-src-6.5.0'
CMake Warning at cmake/QtAutoDetect.cmake:70 (message):
  The officially supported CMake generator for building Qt is Ninja.  You are
  using: 'Unix Makefiles' instead.  Thus, you might encounter issues.  Use at
  your own risk.
Call Stack (most recent call first):
  cmake/QtAutoDetect.cmake:485 (qt_auto_detect_cmake_generator)
  CMakeLists.txt:56 (include)


-- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/pbulk/build/x11/qt6-qtbase/work/.cwrapper/bin/gcc
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/x11/qt6-qtbase/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/x11/qt6-qtbase/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
            -DCMAKE_C_FLAGS=-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DQT_NO_VERSION_TAGGING -I/usr/include -I/opt/pkg/include -I/usr/include/kerberosv5 -I/usr/include/gssapi -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/lib/dbus-1.0/include/dbus -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/python3.10 -I/opt/pkg/include/libdrm
            -DCMAKE_C_FLAGS_DEBUG=-g
            -DCMAKE_C_FLAGS_RELEASE=-O3 -DNDEBUG
            -DCMAKE_C_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
            -DCMAKE_CXX_FLAGS=-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DQT_NO_VERSION_TAGGING -I/usr/include -I/opt/pkg/include -I/usr/include/kerberosv5 -I/usr/include/gssapi -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/lib/dbus-1.0/include/dbus -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/python3.10 -I/opt/pkg/include/libdrm -Wno-register -D_Noreturn=""
            -DCMAKE_CXX_FLAGS_DEBUG=-g
            -DCMAKE_CXX_FLAGS_RELEASE=-O3 -DNDEBUG
            -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-O2 -g -DNDEBUG
            -DCMAKE_OBJCOPY=/opt/tools/bin/objcopy
            -DCMAKE_C_STANDARD=11
            -DCMAKE_C_STANDARD_REQUIRED=ON
            -DCMAKE_CXX_STANDARD=17
            -DCMAKE_CXX_STANDARD_REQUIRED=ON
            -DCMAKE_MODULE_PATH:STRING=/home/pbulk/build/x11/qt6-qtbase/work/qtbase-everywhere-src-6.5.0/cmake/platforms

-- Configuration summary shown below. It has also been written to /home/pbulk/build/x11/qt6-qtbase/work/qtbase-everywhere-src-6.5.0/config.summary
-- Configure with --log-level=STATUS or higher to increase CMake's message verbosity. The log level does not persist across reconfigurations.
 
-- Configure summary:

Building for: solaris-g++-64 (x86_64, CPU features: mmx sse sse2)
Compiler: gcc 12.2.0
Build options:
  Mode ................................... release
  Optimize release build for size ........ no
  Fully optimize release builds (-O3) .... no
  Building shared libraries .............. yes
  Using C standard ....................... C11
  Using C++ standard ..................... C++17
  Using ccache ........................... no
  Relocatable ............................ yes
  Using precompiled headers .............. no
  Using Link Time Optimization (LTCG) .... no
  Using Intel CET ........................ no
  Target compiler supports:
    x86 Intrinsics ....................... Basic VAES AVX512VBMI2
  Sanitizers:
    Addresses ............................ no
    Threads .............................. no
    Memory ............................... no
    Fuzzer (instrumentation only) ........ no
    Undefined ............................ no
  Build parts ............................ libs tools
Qt modules and options:
  Qt Concurrent .......................... yes
  Qt D-Bus ............................... yes
  Qt D-Bus directly linked to libdbus .... yes
  Qt Gui ................................. yes
  Qt Network ............................. yes
  Qt PrintSupport ........................ yes
  Qt Sql ................................. yes
  Qt Testlib ............................. yes
  Qt Widgets ............................. yes
  Qt Xml ................................. yes
Support enabled for:
  Using pkg-config ....................... yes
  udev ................................... no
  OpenSSL ................................ yes
    Qt directly linked to OpenSSL ........ yes
  OpenSSL 1.1 ............................ yes
  OpenSSL 3.0 ............................ no
  Using system zlib ...................... yes
  Zstandard support ...................... yes
  Thread support ......................... yes
Common build options:
  Linker can resolve circular dependencies  yes
Qt Core:
  backtrace .............................. yes
  DoubleConversion ....................... yes
    Using system DoubleConversion ........ yes
  GLib ................................... yes
  ICU .................................... yes
  Using system libb2 ..................... yes
  Built-in copy of the MIME database ..... yes
  cpp/winrt base ......................... no
  Tracing backend ........................ <none>
  Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
  PCRE2 .................................. yes
    Using system PCRE2 ................... yes
  Application permissions ................ no
Qt Sql:
  SQL item models ........................ yes
Qt Network:
  getifaddrs() ........................... yes
  IPv6 ifname ............................ yes
  libproxy ............................... yes
  DTLS ................................... yes
  OCSP-stapling .......................... yes
  SCTP ................................... no
  Use system proxies ..................... yes
  GSSAPI ................................. yes
  Brotli Decompression Support ........... yes
  qIsEffectiveTLD() ...................... yes
    Built-in publicsuffix database ....... yes
    System publicsuffix database ......... no
Core tools:
  Android deployment tool ................ yes
  macOS deployment tool .................. no
  Windows deployment tool ................ no
  qmake .................................. yes
Qt Gui:
  Accessibility .......................... yes
  FreeType ............................... yes
    Using system FreeType ................ yes
  HarfBuzz ............................... yes
    Using system HarfBuzz ................ yes
  Fontconfig ............................. yes
  Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
      Using system libjpeg ............... yes
    PNG .................................. yes
      Using system libpng ................ yes
  Text formats:
    HtmlParser ........................... yes
    CssParser ............................ yes
    OdfWriter ............................ yes
    MarkdownReader ....................... yes
      Using system libmd4c ............... yes
    MarkdownWriter ....................... yes
  EGL .................................... yes
  OpenVG ................................. no
  OpenGL:
    Desktop OpenGL ....................... yes
    OpenGL ES 2.0 ........................ no
    OpenGL ES 3.0 ........................ no
    OpenGL ES 3.1 ........................ no
    OpenGL ES 3.2 ........................ no
  Vulkan ................................. no
  Session Management ..................... yes
Features used by QPA backends:
  evdev .................................. no
  libinput ............................... no
  HiRes wheel support in libinput ........ no
  INTEGRITY HID .......................... no
  mtdev .................................. no
  tslib .................................. no
  xkbcommon .............................. yes
  X11 specific:
    XLib ................................. yes
    XCB Xlib ............................. yes
    EGL on X11 ........................... yes
    xkbcommon-x11 ........................ yes
    xcb-sm ............................... yes
QPA backends:
  DirectFB ............................... no
  EGLFS .................................. yes
  EGLFS details:
    EGLFS OpenWFD ........................ no
    EGLFS i.Mx6 .......................... no
    EGLFS i.Mx6 Wayland .................. no
    EGLFS RCAR ........................... no
    EGLFS EGLDevice ...................... yes
    EGLFS GBM ............................ yes
    EGLFS VSP2 ........................... no
    EGLFS Mali ........................... no
    EGLFS Raspberry Pi ................... no
    EGLFS X11 ............................ yes
  LinuxFB ................................ no
  VNC .................................... yes
  VK_KHR_display ......................... no
  QNX:
    lgmon ................................ no
    IMF .................................. no
  XCB:
    Using system-provided xcb-xinput ..... yes
    GL integrations:
      GLX Plugin ......................... yes
        XCB GLX .......................... yes
      EGL-X11 Plugin ..................... yes
  Windows:
    Direct 2D ............................ no
    Direct 2D 1.1 ........................ no
    DirectWrite .......................... no
    DirectWrite 3 ........................ no
Qt Widgets:
  GTK+ ................................... no
  Styles ................................. Fusion Windows
Qt Testlib:
  Tester for item models ................. yes
  Batch tests ............................ no
Qt PrintSupport:
  CUPS ................................... yes
Qt Sql Drivers:
  DB2 (IBM) .............................. no
  InterBase .............................. no
  MySql .................................. no
  OCI (Oracle) ........................... no
  ODBC ................................... no
  PostgreSQL ............................. no
  SQLite ................................. yes
    Using system provided SQLite ......... yes
 

-- 

Qt is now configured for building. Just run 'cmake --build . --parallel'

Once everything is built, you must run 'cmake --install .'
Qt will be installed into '/opt/pkg/qt6'

To configure and build other Qt modules, you can use the following convenience script:
        /opt/pkg/qt6/bin/qt-configure-module

If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory
Alternatively, you can add the --fresh flag to your CMake flags.

-- Configuring done (124.0s)
-- Generating done (2.4s)
CMake Warning:
  Manually-specified variables were not used by the project:

    INPUT_strip


-- Build files have been written to: /home/pbulk/build/x11/qt6-qtbase/work/qtbase-everywhere-src-6.5.0