>>> Building on localhost under devel/py-unicorn BDEPENDS = [lang/python/3;devel/py-wheel;devel/py-installer;devel/gmake;devel/cmake;devel/py-build;devel/py-setuptools] DIST = [devel/py-unicorn:unicorn-2.0.1.post1.tar.gz] FULLPKGNAME = py3-unicorn-2.0.1.post1p1 RDEPENDS = [lang/python/3] (Junk lock obtained for localhost at 1735383322.96) >>> Running depends in devel/py-unicorn at 1735383323.01 last junk was in games/singularity /usr/sbin/pkg_add -aI -Drepair py3-build-1.2.2.post1p0 py3-installer-0.7.0p1 py3-setuptools-69.5.1p0v0 py3-wheel-0.45.1p0 was: /usr/sbin/pkg_add -aI -Drepair cmake-3.31.2v1 gmake-4.4.1 py3-build-1.2.2.post1p0 py3-installer-0.7.0p1 py3-setuptools-69.5.1p0v0 py3-wheel-0.45.1p0 python-3.12.8p0 /usr/sbin/pkg_add -aI -Drepair py3-build-1.2.2.post1p0 py3-installer-0.7.0p1 py3-setuptools-69.5.1p0v0 py3-wheel-0.45.1p0 >>> Running show-prepare-results in devel/py-unicorn at 1735383335.63 ===> devel/py-unicorn ===> Building from scratch py3-unicorn-2.0.1.post1p1 ===> py3-unicorn-2.0.1.post1p1 depends on: cmake-* -> cmake-3.31.2v1 ===> py3-unicorn-2.0.1.post1p1 depends on: python->=3.12,<3.13 -> python-3.12.8p0 ===> py3-unicorn-2.0.1.post1p1 depends on: py3-build-* -> py3-build-1.2.2.post1p0 ===> py3-unicorn-2.0.1.post1p1 depends on: py3-installer-* -> py3-installer-0.7.0p1 ===> py3-unicorn-2.0.1.post1p1 depends on: py3-setuptools-* -> py3-setuptools-69.5.1p0v0 ===> py3-unicorn-2.0.1.post1p1 depends on: py3-wheel-* -> py3-wheel-0.45.1p0 ===> py3-unicorn-2.0.1.post1p1 depends on: gmake-* -> gmake-4.4.1 ===> Verifying specs: m pthread ===> found m.10.1 pthread.27.1 cmake-3.31.2v1 gmake-4.4.1 py3-build-1.2.2.post1p0 py3-installer-0.7.0p1 py3-setuptools-69.5.1p0v0 py3-wheel-0.45.1p0 python-3.12.8p0 (Junk lock released for localhost at 1735383345.13) Woken up graphics/farbfeld distfiles size=2797274 >>> Running patch in devel/py-unicorn at 1735383345.19 ===> devel/py-unicorn ===> Checking files for py3-unicorn-2.0.1.post1p1 `/ports/distfiles/unicorn-2.0.1.post1.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for py3-unicorn-2.0.1.post1p1 ===> Patching for py3-unicorn-2.0.1.post1p1 ===> Applying OpenBSD patch patch-src_qemu_tcg_ppc_tcg-target_inc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Workaround the lack of _CALL_SYSV with clang on powerpc | |Index: src/qemu/tcg/ppc/tcg-target.inc.c |--- src/qemu/tcg/ppc/tcg-target.inc.c.orig |+++ src/qemu/tcg/ppc/tcg-target.inc.c -------------------------- Patching file src/qemu/tcg/ppc/tcg-target.inc.c using Plan A... Hunk #1 succeeded at 25. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in devel/py-unicorn at 1735383350.92 ===> devel/py-unicorn ===> Generating configure for py3-unicorn-2.0.1.post1p1 ===> Configuring for py3-unicorn-2.0.1.post1p1 >>> Running build in devel/py-unicorn at 1735383352.06 ===> devel/py-unicorn ===> Building for py3-unicorn-2.0.1.post1p1 * Getting build dependencies for wheel... * Building wheel... CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- The C compiler identification is Clang 16.0.6 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /pobj/py-unicorn-2.0.1.post1/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done Install prefix /usr/local binary directory /usr/local/bin library directory /usr/local/lib libexec directory /usr/local/libexec include directory /usr/local/include config directory /usr/local/etc local state directory /usr/local/var ELF interp prefix /usr/gnemul/qemu-%M Build directory /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/build_python Source path /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu GIT binary git GIT submodules C compiler /pobj/py-unicorn-2.0.1.post1/bin/cc Host C compiler cc C++ compiler c++ Objective-C compiler clang ARFLAGS rv CFLAGS -g -O2 -pipe QEMU_CFLAGS -fPIE -DPIE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99 -DUNICORN_HAS_X86 -DUNICORN_HAS_ARM -DUNICORN_HAS_ARM64 -DUNICORN_HAS_M68K -DUNICORN_HAS_MIPS -DUNICORN_HAS_MIPSEL -DUNICORN_HAS_MIPS64 -DUNICORN_HAS_MIPS64EL -DUNICORN_HAS_SPARC -DUNICORN_HAS_PPC -DUNICORN_HAS_RISCV -DUNICORN_HAS_S390X -DUNICORN_HAS_TRICORE -fPIC -Wno-string-plus-int -Wno-typedef-redefinition -Wno-initializer-overrides -Wexpansion-to-defined -Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-definition -Wtype-limits -fstack-protector-strong QEMU_LDFLAGS -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -DUNICORN_HAS_X86 -DUNICORN_HAS_ARM -DUNICORN_HAS_ARM64 -DUNICORN_HAS_M68K -DUNICORN_HAS_MIPS -DUNICORN_HAS_MIPSEL -DUNICORN_HAS_MIPS64 -DUNICORN_HAS_MIPS64EL -DUNICORN_HAS_SPARC -DUNICORN_HAS_PPC -DUNICORN_HAS_RISCV -DUNICORN_HAS_S390X -DUNICORN_HAS_TRICORE -fPIC -fstack-protector-strong -Wl,-z,wxneeded make gmake install install host CPU mips host big endian yes target list x86_64-softmmu arm-softmmu aarch64-softmmu m68k-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu sparc-softmmu sparc64-softmmu ppc-softmmu ppc64-softmmu riscv32-softmmu riscv64-softmmu s390x-softmmu tricore-softmmu strip binaries yes static build no mingw32 support no PIE yes TCG support yes malloc trim support no membarrier no madvise yes posix_madvise yes posix_memalign yes debug stack usage no tcmalloc support no jemalloc support no avx2 optimization avx512f optimization no -- Configuring done (92.8s) -- Generating done (12.4s) -- Build files have been written to: /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/build_python [ 1%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/qemu-thread-posix.c.o [ 1%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/cacheinfo.c.o [ 1%] Building C object CMakeFiles/unicorn-common.dir/qemu/crypto/aes.c.o [ 1%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/oslib-posix.c.o [ 1%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/pagesize.c.o [ 1%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/qht.c.o [ 2%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/range.c.o [ 2%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/qemu-timer-common.c.o [ 2%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/qemu-timer.c.o [ 2%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/qdist.c.o [ 2%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/host-utils.c.o [ 2%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/osdep.c.o [ 3%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/guest-random.c.o [ 3%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/getauxval.c.o [ 3%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/crc32c.c.o [ 3%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/bitops.c.o [ 3%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/bitmap.c.o [ 3%] Building C object CMakeFiles/unicorn-common.dir/glib_compat/gslice.c.o [ 3%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/cutils.c.o [ 4%] Building C object CMakeFiles/unicorn-common.dir/glib_compat/gpattern.c.o [ 4%] Building C object CMakeFiles/unicorn-common.dir/glib_compat/glist.c.o [ 4%] Building C object CMakeFiles/unicorn-common.dir/glib_compat/gmem.c.o [ 4%] Building C object CMakeFiles/unicorn-common.dir/glib_compat/grand.c.o [ 4%] Building C object CMakeFiles/unicorn-common.dir/glib_compat/gtree.c.o [ 5%] Building C object CMakeFiles/unicorn-common.dir/glib_compat/gtestutils.c.o [ 5%] Building C object CMakeFiles/unicorn-common.dir/glib_compat/glib_compat.c.o [ 5%] Building C object CMakeFiles/unicorn-common.dir/glib_compat/garray.c.o [ 5%] Building C object CMakeFiles/unicorn-common.dir/list.c.o [ 5%] Linking C static library libunicorn-common.a [ 5%] Built target unicorn-common [ 5%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/target/tricore/unicorn.c.o [ 5%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/target/tricore/helper.c.o [ 5%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/target/tricore/op_helper.c.o [ 5%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/target/tricore/translate.c.o [ 5%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/target/tricore/fpu_helper.c.o [ 6%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/target/tricore/cpu.c.o [ 6%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/accel/tcg/translator.c.o [ 6%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/accel/tcg/translate-all.c.o [ 6%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/accel/tcg/tcg-runtime-gvec.c.o [ 6%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/accel/tcg/tcg-runtime.c.o [ 6%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/accel/tcg/tcg-all.c.o [ 6%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/accel/tcg/cputlb.c.o [ 7%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/accel/tcg/cpu-exec-common.c.o [ 7%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/accel/tcg/cpu-exec.c.o In file included from /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/accel/tcg/cputlb.c:31: /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/include/qemu/atomic128.h:47:12: warning: large atomic operation may incur significant performance penalty; the access size (16 bytes) exceeds the max lock-free size (8 bytes) [-Watomic-alignment] return atomic_cmpxchg__nocheck(ptr, cmp, new); ^ /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/include/qemu/atomic.h:145:11: note: expanded from macro 'atomic_cmpxchg__nocheck' (void)__atomic_compare_exchange_n(ptr, &_old, new, false, \ ^ In file included from /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/accel/tcg/cputlb.c:31: /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/include/qemu/atomic128.h:102:12: warning: large atomic operation may incur significant performance penalty; the access size (16 bytes) exceeds the max lock-free size (8 bytes) [-Watomic-alignment] return atomic_read__nocheck(ptr); ^ /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/include/qemu/atomic.h:102:5: note: expanded from macro 'atomic_read__nocheck' __atomic_load_n(ptr, __ATOMIC_RELAXED) ^ In file included from /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/accel/tcg/cputlb.c:31: /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/include/qemu/atomic128.h:107:5: warning: large atomic operation may incur significant performance penalty; the access size (16 bytes) exceeds the max lock-free size (8 bytes) [-Watomic-alignment] atomic_set__nocheck(ptr, val); ^ /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/include/qemu/atomic.h:111:5: note: expanded from macro 'atomic_set__nocheck' __atomic_store_n(ptr, i, __ATOMIC_RELAXED) ^ [ 7%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/tcg/tcg-op-vec.c.o [ 7%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/tcg/tcg-op-gvec.c.o [ 7%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/tcg/tcg-op.c.o 3 warnings generated. [ 7%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/tcg/tcg.c.o In file included from /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/tcg/tcg.c:294: /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/tcg/mips/tcg-target.inc.c:1674:41: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [TCG_MO_LD_LD] = OPC_SYNC_RMB, ^~~~~~~~~~~~ /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/tcg/mips/tcg-target.inc.c:1673:41: note: previous initialization is here [0 ... TCG_MO_ALL] = OPC_SYNC_MB, ^~~~~~~~~~~ /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/tcg/mips/tcg-target.inc.c:1675:41: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [TCG_MO_ST_ST] = OPC_SYNC_WMB, ^~~~~~~~~~~~ /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/tcg/mips/tcg-target.inc.c:1673:41: note: previous initialization is here [0 ... TCG_MO_ALL] = OPC_SYNC_MB, ^~~~~~~~~~~ /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/tcg/mips/tcg-target.inc.c:1676:41: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [TCG_MO_LD_ST] = OPC_SYNC_RELEASE, ^~~~~~~~~~~~~~~~ /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/tcg/mips/tcg-target.inc.c:1673:41: note: previous initialization is here [0 ... TCG_MO_ALL] = OPC_SYNC_MB, ^~~~~~~~~~~ /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/tcg/mips/tcg-target.inc.c:1677:41: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [TCG_MO_LD_ST | TCG_MO_ST_ST] = OPC_SYNC_RELEASE, ^~~~~~~~~~~~~~~~ /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/tcg/mips/tcg-target.inc.c:1673:41: note: previous initialization is here [0 ... TCG_MO_ALL] = OPC_SYNC_MB, ^~~~~~~~~~~ /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/tcg/mips/tcg-target.inc.c:1678:41: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides] [TCG_MO_LD_ST | TCG_MO_LD_LD] = OPC_SYNC_ACQUIRE, ^~~~~~~~~~~~~~~~ /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/tcg/mips/tcg-target.inc.c:1673:41: note: previous initialization is here [0 ... TCG_MO_ALL] = OPC_SYNC_MB, ^~~~~~~~~~~ /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/qemu/tcg/mips/tcg-target.inc.c:2382:9: error: no member named 'uc_mcontext' in 'struct sigcontext' uc->uc_mcontext.pc += 4; ~~ ^ [ 8%] Building C object CMakeFiles/tricore-softmmu.dir/qemu/tcg/optimize.c.o 5 warnings and 1 error generated. *** Error 1 in . (CMakeFiles/tricore-softmmu.dir/build.make:191 'CMakeFiles/tricore-softmmu.dir/qemu/tcg/tcg.c.o': /pobj/py-unicorn-2.0.1.po...) *** Error 1 in target 'CMakeFiles/tricore-softmmu.dir/qemu/tcg/tcg.c.o' *** Error 2 in . (CMakeFiles/Makefile2:690 'CMakeFiles/tricore-softmmu.dir/all') *** Error 2 in /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.post1/src/build_python (Makefile:146 'all': /usr/bin/make -s -f CMakeFiles/Makefil...) Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in main() File "/usr/local/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel return _build_backend().build_wheel( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/setuptools/build_meta.py", line 410, in build_wheel return self._build_with_temp_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir self.run_setup() File "/usr/local/lib/python3.12/site-packages/setuptools/build_meta.py", line 487, in run_setup super().run_setup(setup_script=setup_script) File "/usr/local/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup exec(code, locals()) File "", line 232, in File "/usr/local/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 184, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 200, in run_commands dist.run_commands() File "/usr/local/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/local/lib/python3.12/site-packages/setuptools/dist.py", line 967, in run_command super().run_command(command) File "/usr/local/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/local/lib/python3.12/site-packages/wheel/_bdist_wheel.py", line 387, in run self.run_command("build") File "/usr/local/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command self.distribution.run_command(command) File "/usr/local/lib/python3.12/site-packages/setuptools/dist.py", line 967, in run_command super().run_command(command) File "/usr/local/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "", line 164, in run File "", line 144, in build_libraries File "/usr/local/lib/python3.12/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '--build', '.', '-j4']' returned non-zero exit status 2. ERROR Backend subprocess exited when trying to invoke build_wheel *** Error 1 in devel/py-unicorn (/ports/lang/python/python.port.mk:355 'do-build': @: ; if [ -e /pobj/py-unicorn-2.0.1.post1/unicorn-2.0.1.p...) *** Error 2 in devel/py-unicorn (/ports/infrastructure/mk/bsd.port.mk:3065 '/pobj/py-unicorn-2.0.1.post1/.build_done': @cd /ports/devel/py-u...) *** Error 2 in devel/py-unicorn (/ports/infrastructure/mk/bsd.port.mk:2712 'build': @lock=py3-unicorn-2.0.1.post1p1; export _LOCKS_HELD=" p...) ===> Exiting devel/py-unicorn with an error *** Error 1 in /ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval ${e...) >>> Ended at 1735383684.22 max_stuck=71.61/depends=12.60/show-prepare-results=9.58/patch=5.72/configure=1.15/build=332.20 Error: job failed with 512 on localhost at 1735383684