=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for palcode-clipper-qemu-5.2.0nb8 => Checksum SHA512 OK for palcode-clipper-qemu-5.2.0nb8 => Checksum BLAKE2s OK for qemu-7.2.16.tar.xz => Checksum SHA512 OK for qemu-7.2.16.tar.xz ===> Installing dependencies for qemu-7.2.16 ========================================================================== The supported build options for qemu are: debug-info gtk3 iscsi iscsi jack jemalloc opengl sdl spice The currently selected options are: iscsi jemalloc opengl sdl spice You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.qemu (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, qemu-7.2.16. Their current value is shown below: * CURSES_DEFAULT = curses * JPEG_DEFAULT = jpeg * PYTHON_VERSION_DEFAULT = 312 * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private Based on these variables, the following variables have been set: * CURSES_TYPE = curses * JPEGBASE (defined, but empty) * JPEG_TYPE = jpeg * PYPACKAGE = python312 * TERMCAP_TYPE = termcap 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 `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency ninja-build-[0-9]*: found ninja-build-1.12.1nb1 => Tool dependency py312-sphinx-[0-9]*: found py312-sphinx-8.2.3 => Tool dependency py312-sphinx-rtd-theme>=0.4.3: found py312-sphinx-rtd-theme-3.0.2 => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.5 => Tool dependency python312>=3.12: found python312-3.12.9 => Tool dependency mktools-[0-9]*: found mktools-20250213 => Tool dependency bison>=1.0: found bison-3.8.2nb1 => Tool dependency m4>=1.4: found m4-1.4.19nb1 => Tool dependency perl>=5.0: found perl-5.40.1 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency spice-protocol>=0.14.4nb1: found spice-protocol-0.14.4nb1 => Build dependency x11-links>=1.36: found x11-links-1.36 => Full dependency SDL2>=2.32.0nb1: found SDL2-2.32.2 => Full dependency curl>=8.11.0nb2: found curl-8.12.1 => Full dependency dtc>=1.7.0nb1: found dtc-1.7.2 => Full dependency glib2>=2.76.4nb1: found glib2-2.82.5 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1 => Full dependency jemalloc>=5.2.1nb4: found jemalloc-5.3.0nb1 => Full dependency jpeg>=9: found jpeg-9f => Full dependency libgcrypt>=1.6.0: found libgcrypt-1.11.0nb2 => Full dependency libiscsi>=1.19.0: found libiscsi-1.19.0 => Full dependency libslirp>=4.7.0nb2: found libslirp-4.7.0nb2 => Full dependency libxkbcommon>=1.7.0: found libxkbcommon-1.7.0nb5 => Full dependency lzo>=2.01: found lzo-2.10 => Full dependency png>=1.6.0nb1: found png-1.6.47 => Full dependency snappy>=1.0.5: found snappy-1.2.1 => Full dependency spice-server>=0.14.3nb4: found spice-server-0.15.2 => Full dependency zstd>=1.3.6: found zstd-1.5.7 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for qemu-7.2.16 ===> Extracting for qemu-7.2.16 cp /tmp/emulators/qemu7/work/palcode-clipper-qemu-5.2.0nb8 /tmp/emulators/qemu7/work/qemu-7.2.16/pc-bios/palcode-clipper cp /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/files/hw-mips-mipssim_virtio.c /tmp/emulators/qemu7/work/qemu-7.2.16/hw/mips/mipssim_virtio.c ===> Patching for qemu-7.2.16 => Applying pkgsrc patches for qemu-7.2.16 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-audio_jackaudio.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-audio_jackaudio.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-audio_jackaudio.c,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Teach it about NetBSD's and macOS' pthread_setname_np. | |--- audio/jackaudio.c.orig 2021-12-14 20:42:02.000000000 +0000 |+++ audio/jackaudio.c -------------------------- Patching file audio/jackaudio.c using Plan A... Hunk #1 succeeded at 632 (offset 1 line). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-backends_tpm_tpm__ioctl.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-backends_tpm_tpm__ioctl.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-backends_tpm_tpm__ioctl.h,v 1.1 2025/03/02 12:45:46 nia Exp $ | |SunOS needs filio.h for _IO*() macros. | |--- backends/tpm/tpm_ioctl.h.orig 2022-12-14 16:28:45.000000000 +0000 |+++ backends/tpm/tpm_ioctl.h -------------------------- Patching file backends/tpm/tpm_ioctl.h using Plan A... Hunk #1 succeeded at 14. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw-mips-Kconfig => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw-mips-Kconfig Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hw-mips-Kconfig,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Qemu MIPS target MIPSSIM adding VirtIO devices for development purposes. | |--- hw/mips/Kconfig.orig 2020-08-11 19:17:15.000000000 +0000 |+++ hw/mips/Kconfig -------------------------- Patching file hw/mips/Kconfig using Plan A... Hunk #1 succeeded at 7 (offset -13 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw-mips-mipssim.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw-mips-mipssim.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hw-mips-mipssim.c,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Qemu MIPS target MIPSSIM adding VirtIO devices for development purposes. | |--- hw/mips/mipssim.c.orig 2021-08-04 16:29:07.000000000 +0000 |+++ hw/mips/mipssim.c -------------------------- Patching file hw/mips/mipssim.c using Plan A... Hunk #1 succeeded at 38 (offset -1 lines). Hunk #2 succeeded at 142 (offset -1 lines). Hunk #3 succeeded at 153 (offset -1 lines). Hunk #4 succeeded at 216 (offset -1 lines). Hunk #5 succeeded at 237 (offset -1 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw_display_omap__dss.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw_display_omap__dss.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hw_display_omap__dss.c,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Avoid conflicts with SSP read() macro in NetBSD's |(PR lib/43832: ssp causes common names to be defines) | |--- hw/display/omap_dss.c.orig 2022-12-14 16:28:45.000000000 +0000 |+++ hw/display/omap_dss.c -------------------------- Patching file hw/display/omap_dss.c using Plan A... Hunk #1 succeeded at 798. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw_mips_meson.build => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw_mips_meson.build Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hw_mips_meson.build,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Qemu MIPS target MIPSSIM adding VirtIO devices for development purposes. | |--- hw/mips/meson.build.orig 2021-08-04 16:29:07.000000000 +0000 |+++ hw/mips/meson.build -------------------------- Patching file hw/mips/meson.build using Plan A... Hunk #1 succeeded at 7. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw_net_etraxfs__eth.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw_net_etraxfs__eth.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hw_net_etraxfs__eth.c,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Avoid conflicts with SSP read() macro in NetBSD's |(PR lib/43832: ssp causes common names to be defines) | |--- hw/net/etraxfs_eth.c.orig 2013-11-27 22:15:55.000000000 +0000 |+++ hw/net/etraxfs_eth.c -------------------------- Patching file hw/net/etraxfs_eth.c using Plan A... Hunk #1 succeeded at 187 (offset 2 lines). Hunk #2 succeeded at 355 (offset -9 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw_net_xilinx__axienet.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw_net_xilinx__axienet.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hw_net_xilinx__axienet.c,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Avoid conflicts with SSP read() macro in NetBSD's |(PR lib/43832: ssp causes common names to be defines) | |--- hw/net/xilinx_axienet.c.orig 2013-11-27 22:15:55.000000000 +0000 |+++ hw/net/xilinx_axienet.c -------------------------- Patching file hw/net/xilinx_axienet.c using Plan A... Hunk #1 succeeded at 192 (offset -15 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw_rtc_mc146818rtc.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw_rtc_mc146818rtc.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hw_rtc_mc146818rtc.c,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Ensure the periodic timer is started as soon as the device is realized, |and follow the real hardware's lead of updating the PF bit in REG_C even |if it's not going to result in raising an interrupt. | |--- hw/rtc/mc146818rtc.c.orig 2020-10-01 00:56:55.574093880 +0000 |+++ hw/rtc/mc146818rtc.c 2020-10-01 00:58:40.326479896 +0000 -------------------------- Patching file hw/rtc/mc146818rtc.c using Plan A... Hunk #1 succeeded at 157 (offset 2 lines). Hunk #2 succeeded at 940 (offset -10 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw_scsi_scsi-disk.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw_scsi_scsi-disk.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hw_scsi_scsi-disk.c,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Fill in more of SCSI disk block size reports to guest. Allows use of |sector sizes outside range of 256 to 32768. | |--- hw/scsi/scsi-disk.c.orig 2020-08-11 19:17:15.000000000 +0000 |+++ hw/scsi/scsi-disk.c -------------------------- Patching file hw/scsi/scsi-disk.c using Plan A... Hunk #1 succeeded at 1351 (offset 58 lines). Hunk #2 succeeded at 2030 (offset 37 lines). Hunk #3 succeeded at 2120 (offset 58 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw_usb_dev-mtp.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-hw_usb_dev-mtp.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hw_usb_dev-mtp.c,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Various build fixes for SunOS. | |--- hw/usb/dev-mtp.c.orig 2020-12-08 16:59:44.000000000 +0000 |+++ hw/usb/dev-mtp.c -------------------------- Patching file hw/usb/dev-mtp.c using Plan A... Hunk #1 succeeded at 29 (offset -1 lines). Hunk #2 succeeded at 621 (offset -1 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-meson.build => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-meson.build Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-meson.build,v 1.1 2025/03/02 12:45:46 nia Exp $ | |* Detect iconv in libc properly for pkgsrc (pkgsrc removes -liconv) | to fix qemu-system-aarch64 link. |* Detect curses (non-ncurses{,w} too) | |--- meson.build.orig 2022-04-19 19:10:27.000000000 +0000 |+++ meson.build -------------------------- Patching file meson.build using Plan A... Hunk #1 succeeded at 910 (offset 142 lines). Hunk #2 succeeded at 928 (offset 142 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-meson_mesonbuild_linkers_linkers.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-meson_mesonbuild_linkers_linkers.py Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-meson_mesonbuild_linkers_linkers.py,v 1.1 2025/03/02 12:45:46 nia Exp $ | |qemu ships its own version of meson for some strange reason so we need to |apply the same patch here too to avoid thin archives. | |--- meson/mesonbuild/linkers/linkers.py.orig 2022-12-14 16:29:34.000000000 +0000 |+++ meson/mesonbuild/linkers/linkers.py -------------------------- Patching file meson/mesonbuild/linkers/linkers.py using Plan A... Hunk #1 succeeded at 197. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-roms_u-boot-sam460ex_Makefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-roms_u-boot-sam460ex_Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-roms_u-boot-sam460ex_Makefile,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Fix unportable test(1) operator. | |--- roms/u-boot-sam460ex/Makefile.orig 2020-12-08 17:00:58.000000000 +0000 |+++ roms/u-boot-sam460ex/Makefile -------------------------- Patching file roms/u-boot-sam460ex/Makefile using Plan A... Hunk #1 succeeded at 2189. Hunk #2 succeeded at 2224. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-target_arm_translate-sve.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-target_arm_translate-sve.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-target_arm_translate-sve.c,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Avoid FSCALE define, notably on SunOS. | |--- target/arm/translate-sve.c.orig 2022-08-30 16:41:57.000000000 +0000 |+++ target/arm/translate-sve.c -------------------------- Patching file target/arm/translate-sve.c using Plan A... Hunk #1 succeeded at 4002 (offset 14 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-target_i386_cpu.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-target_i386_cpu.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-target_i386_cpu.c,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Permit to use `-cpu host' with NVMM. | |--- target/i386/cpu.c.orig 2022-08-30 16:41:57.000000000 +0000 |+++ target/i386/cpu.c -------------------------- Patching file target/i386/cpu.c using Plan A... Hunk #1 succeeded at 26. Hunk #2 succeeded at 1487. Hunk #3 succeeded at 6492 (offset 15 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-target_i386_meson.build => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-target_i386_meson.build Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-target_i386_meson.build,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Permit to use `-cpu host' with NVMM. | |--- target/i386/meson.build.orig 2022-04-19 19:10:27.000000000 +0000 |+++ target/i386/meson.build -------------------------- Patching file target/i386/meson.build using Plan A... Hunk #1 succeeded at 11. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-target_sparc_translate.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-target_sparc_translate.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-target_sparc_translate.c,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Patch from upstream (not integrated there yet) to work around %pc/%npc |being set to invalid values via ptrace, triggered by the NetBSD ptrace |ATF tests. Real hardware seems to hardcode the lower bits to zero too. | |--- target/sparc/translate.c.orig 2020-08-11 21:17:15.000000000 +0200 |+++ target/sparc/translate.c 2020-11-02 18:04:50.507211101 +0100 -------------------------- Patching file target/sparc/translate.c using Plan A... Hunk #1 succeeded at 4518 (offset -7 lines). Hunk #2 succeeded at 4530 (offset -7 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-util_coroutine-ucontext.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-util_coroutine-ucontext.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-util_coroutine-ucontext.c,v 1.1 2025/03/02 12:45:46 nia Exp $ | |https://github.com/omniosorg/omnios-extra/blob/master/build/qemu/patches/0008-Temporary-coroutine-patch-pending-illumos-15206.patch | |--- util/coroutine-ucontext.c.orig 2022-12-14 16:28:45.000000000 +0000 |+++ util/coroutine-ucontext.c -------------------------- Patching file util/coroutine-ucontext.c using Plan A... Hunk #1 succeeded at 305. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-util_osdep.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7/patches/patch-util_osdep.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-util_osdep.c,v 1.1 2025/03/02 12:45:46 nia Exp $ | |Don't use OFD locking on SunOS. |https://github.com/omniosorg/omnios-extra/blob/master/build/qemu/patches/0002-illumos-OFD-locking-must-span-the-entire-file.patch | |--- util/osdep.c.orig 2022-12-14 16:28:45.000000000 +0000 |+++ util/osdep.c -------------------------- Patching file util/osdep.c using Plan A... Hunk #1 succeeded at 31. done ===> Creating toolchain wrappers for qemu-7.2.16 ===> Configuring for qemu-7.2.16 => Correcting the path to the OSS device. => Generating pkg-config files for builtin xz package. => Checking for portability problems in extracted files Using './build' as the directory for build output The Meson build system Version: 0.61.5 Source dir: /tmp/emulators/qemu7/work/qemu-7.2.16 Build dir: /tmp/emulators/qemu7/work/qemu-7.2.16/build Build type: native build Project name: qemu Project version: 7.2.16 C compiler for the host machine: gcc -m64 -mcx16 (gcc 7.5.0 "gcc (nb4 20200810) 7.5.0") C linker for the host machine: gcc -m64 -mcx16 ld.bfd 2.31.1 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program scripts/symlink-install-tree.py found: YES (/usr/pkg/bin/python3.12 /tmp/emulators/qemu7/work/qemu-7.2.16/scripts/symlink-install-tree.py) Program sh found: YES (/tmp/emulators/qemu7/work/.tools/bin/sh) Program python3 found: YES (/usr/pkg/bin/python3.12) ../meson.build:83:0: ERROR: ['/usr/pkg/bin/python3.12']> is not a valid python or it is missing distutils A full log can be found at /tmp/emulators/qemu7/work/qemu-7.2.16/build/meson-logs/meson-log.txt ERROR: meson setup failed *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7 *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu7