=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for palcode-clipper-qemu-5.2.0nb8 => Checksum RMD160 OK for palcode-clipper-qemu-5.2.0nb8 => Checksum SHA512 OK for palcode-clipper-qemu-5.2.0nb8 => Checksum SHA1 OK for qemu-6.1.0.tar.xz => Checksum RMD160 OK for qemu-6.1.0.tar.xz => Checksum SHA512 OK for qemu-6.1.0.tar.xz ===> Installing dependencies for qemu-6.1.0nb2 ========================================================================== The supported build options for qemu are: debug-info gtk3 iscsi opengl sdl spice The currently selected options are: iscsi 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-6.1.0nb2. Their current value is shown below: * CURSES_DEFAULT = curses * JPEG_DEFAULT = jpeg * KRB5_DEFAULT = heimdal * PYTHON_VERSION_DEFAULT = 38 * 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 * KRB5BASE (defined, but empty) * KRB5_TYPE = heimdal * PYPACKAGE = python38 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.10.2 => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.68.3 => Tool dependency python38>=3.8: found python38-3.8.12 => Tool dependency py38-sphinx-[0-9]*: found py38-sphinx-3.5.4 => Tool dependency bison>=1.0: found bison-3.7.6nb1 => Tool dependency perl>=5.0: found perl-5.34.0nb3 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency py38-sphinx-rtd-theme>=0.4.3: found py38-sphinx-rtd-theme-0.4.3 => Build dependency x11-links>=1.34: found x11-links-1.34 => Build dependency spice-protocol>=0.12.5: found spice-protocol-0.14.3nb1 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency SDL2>=2.0.16nb1: found SDL2-2.0.16nb1 => Full dependency libxkbcommon>=0.4.0nb1: found libxkbcommon-1.3.0 => Full dependency spice-server>=0.14.2nb1: found spice-server-0.14.3 => Full dependency glib2>=2.64.0nb1: found glib2-2.68.3nb1 => Full dependency libiscsi>=1.19.0: found libiscsi-1.19.0 => Full dependency lzo>=2.01: found lzo-2.10 => Full dependency zstd>=1.3.6: found zstd-1.5.0 => Full dependency jemalloc>=4.0.0: found jemalloc-5.2.1nb3 => Full dependency snappy>=1.0.5: found snappy-1.1.9 => Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1 => Full dependency png>=1.6.0nb1: found png-1.6.37nb1 => Full dependency libgcrypt>=1.6.0: found libgcrypt-1.9.4 => Full dependency curl>=7.76.1nb1: found curl-7.78.0 => Full dependency jpeg>=9: found jpeg-9d ===> 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-6.1.0nb2 ===> Extracting for qemu-6.1.0nb2 cp /tmp/emulators/qemu/work/palcode-clipper-qemu-5.2.0nb8 /tmp/emulators/qemu/work/qemu-6.1.0/pc-bios/palcode-clipper cp /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/files/hw-mips-mipssim_virtio.c /tmp/emulators/qemu/work/qemu-6.1.0/hw/mips/mipssim_virtio.c ===> Patching for qemu-6.1.0nb2 => Applying pkgsrc patches for qemu-6.1.0nb2 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-backends_tpm_tpm__ioctl.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/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 2020/08/12 18:31:27 ryoon Exp $ | |SunOS needs filio.h for _IO*() macros. | |--- backends/tpm/tpm_ioctl.h.orig 2019-08-15 19:01:42.000000000 +0000 |+++ backends/tpm/tpm_ioctl.h -------------------------- Patching file backends/tpm/tpm_ioctl.h using Plan A... Hunk #1 succeeded at 9. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-hw-mips-Kconfig => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/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.3 2021/02/20 22:59:29 ryoon Exp $ | |--- 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/qemu/patches/patch-hw-mips-mipssim.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/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.4 2021/08/27 03:32:37 ryoon Exp $ | |--- 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 39. Hunk #2 succeeded at 143. Hunk #3 succeeded at 154. Hunk #4 succeeded at 217. Hunk #5 succeeded at 238. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-hw_core_uboot__image.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-hw_core_uboot__image.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hw_core_uboot__image.h,v 1.2 2019/04/24 13:59:32 ryoon Exp $ | |--- hw/core/uboot_image.h.orig 2019-04-23 18:14:45.000000000 +0000 |+++ hw/core/uboot_image.h -------------------------- Patching file hw/core/uboot_image.h using Plan A... Hunk #1 succeeded at 75. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-hw_display_omap__dss.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/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.2 2014/01/15 18:26:20 wiz 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 2013-11-27 22:15:55.000000000 +0000 |+++ hw/display/omap_dss.c -------------------------- Patching file hw/display/omap_dss.c using Plan A... Hunk #1 succeeded at 797 (offset 6 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-hw_i386_acpi-build.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-hw_i386_acpi-build.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-hw_i386_acpi-build.c,v 1.1 2021/06/16 09:39:17 jperkin Exp $ | |Avoid "sun" define. | |--- hw/i386/acpi-build.c.orig 2021-04-29 17:18:58.000000000 +0000 |+++ hw/i386/acpi-build.c -------------------------- Patching file hw/i386/acpi-build.c using Plan A... Hunk #1 succeeded at 564 (offset 30 lines). Hunk #2 succeeded at 575 (offset 30 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-hw_mips_meson.build => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/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.3 2021/08/27 03:32:37 ryoon Exp $ | |--- 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/qemu/patches/patch-hw_net_etraxfs__eth.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/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.3 2014/01/15 18:26:20 wiz 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/qemu/patches/patch-hw_net_xilinx__axienet.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/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.2 2014/01/15 18:26:20 wiz 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/qemu/patches/patch-hw_rtc_mc146818rtc.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/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 2020/10/04 20:39:25 thorpej 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 155. Hunk #2 succeeded at 934 (offset -16 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-hw_scsi_scsi-disk.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/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 2020/09/27 21:29:57 jakllsch 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 1294 (offset 1 line). Hunk #2 succeeded at 1997 (offset 4 lines). Hunk #3 succeeded at 2063 (offset 1 line). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-hw_usb_dev-mtp.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/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.5 2021/02/20 22:59:29 ryoon Exp $ | |--- 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 30. Hunk #2 succeeded at 622. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-include_sysemu_nvmm.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-include_sysemu_nvmm.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-include_sysemu_nvmm.h,v 1.5 2021/08/27 03:32:37 ryoon Exp $ | |* Do not use CONFIG_NVMM directly to avoid pragma poison error. | |--- include/sysemu/nvmm.h.orig 2021-08-04 16:29:07.000000000 +0000 |+++ include/sysemu/nvmm.h -------------------------- Patching file include/sysemu/nvmm.h using Plan A... Hunk #1 succeeded at 13. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-meson.build => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/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.9 2021/09/05 20:58:16 nia Exp $ | |* Add NetBSD support. |* 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 2021-08-24 17:35:41.000000000 +0000 |+++ meson.build -------------------------- Patching file meson.build using Plan A... Hunk #1 succeeded at 237. Hunk #2 succeeded at 611. Hunk #3 succeeded at 629. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-net_tap-solaris.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-net_tap-solaris.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-net_tap-solaris.c,v 1.2 2019/12/15 18:35:25 adam Exp $ | |Requires qemu-common.h. | |--- net/tap-solaris.c.orig 2019-12-12 18:20:48.000000000 +0000 |+++ net/tap-solaris.c -------------------------- Patching file net/tap-solaris.c using Plan A... Hunk #1 succeeded at 23. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-roms_u-boot-sam460ex_Makefile => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/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.3 2021/02/23 09:28:33 wiz 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/qemu/patches/patch-target_i386_nvmm_nvmm-all.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-target_i386_nvmm_nvmm-all.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-target_i386_nvmm_nvmm-all.c,v 1.4 2021/09/05 20:58:16 nia Exp $ | |Re-add NetBSD 9 support. | |--- target/i386/nvmm/nvmm-all.c.orig 2021-08-24 17:35:41.000000000 +0000 |+++ target/i386/nvmm/nvmm-all.c -------------------------- Patching file target/i386/nvmm/nvmm-all.c using Plan A... Hunk #1 succeeded at 750. Hunk #2 succeeded at 771. Hunk #3 succeeded at 780. Hunk #4 succeeded at 894. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/patches/patch-target_sparc_translate.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu/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 2020/11/02 17:17:15 martin 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 4515 (offset -10 lines). Hunk #2 succeeded at 4527 (offset -10 lines). done ===> Creating toolchain wrappers for qemu-6.1.0nb2 ===> Configuring for qemu-6.1.0nb2 => Correcting the path to the OSS device. => Fix hardcoded sphinx-build => Checking for portability problems in extracted files Using './build' as the directory for build output ERROR: You need at least GCC v7.5 or Clang v6.0 (or XCode Clang v10.0) *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/emulators/qemu