>>> Building on octeon under devel/py-unicorn,python3 BDEPENDS = [devel/py-build,python3;devel/py-wheel,python3;devel/py-installer,python3;lang/python/3.10;devel/gmake;devel/cmake;devel/py-setuptools,python3] DIST = [devel/py-unicorn,python3:unicorn-2.0.1.post1.tar.gz] FULLPKGNAME = py3-unicorn-2.0.1.post1 RDEPENDS = [lang/python/3.10] (Junk lock obtained for octeon at 1712901397.62) >>> Running depends in devel/py-unicorn,python3 at 1712901397.67 last junk was in databases/tdbc-odbc /usr/sbin/pkg_add -aI -Drepair cmake-3.28.3v1 py3-build-1.1.1 py3-installer-0.7.0 py3-setuptools-68.0.0v0 py3-wheel-0.43.0 python-3.10.13p2 was: /usr/sbin/pkg_add -aI -Drepair cmake-3.28.3v1 gmake-4.4.1 py3-build-1.1.1 py3-installer-0.7.0 py3-setuptools-68.0.0v0 py3-wheel-0.43.0 python-3.10.13p2 /usr/sbin/pkg_add -aI -Drepair cmake-3.28.3v1 py3-build-1.1.1 py3-installer-0.7.0 py3-setuptools-68.0.0v0 py3-wheel-0.43.0 python-3.10.13p2 >>> Running show-prepare-results in devel/py-unicorn,python3 at 1712901415.87 ===> devel/py-unicorn,python3 ===> Building from scratch py3-unicorn-2.0.1.post1 ===> py3-unicorn-2.0.1.post1 depends on: cmake-* -> cmake-3.28.3v1 ===> py3-unicorn-2.0.1.post1 depends on: python->=3.10,<3.11 -> python-3.10.13p2 ===> py3-unicorn-2.0.1.post1 depends on: py3-build-* -> py3-build-1.1.1 ===> py3-unicorn-2.0.1.post1 depends on: py3-installer-* -> py3-installer-0.7.0 ===> py3-unicorn-2.0.1.post1 depends on: py3-setuptools-* -> py3-setuptools-68.0.0v0 ===> py3-unicorn-2.0.1.post1 depends on: py3-wheel-* -> py3-wheel-0.43.0 ===> py3-unicorn-2.0.1.post1 depends on: gmake-* -> gmake-4.4.1 ===> Verifying specs: m pthread ===> found m.10.1 pthread.27.1 cmake-3.28.3v1 gmake-4.4.1 py3-build-1.1.1 py3-installer-0.7.0 py3-setuptools-68.0.0v0 py3-wheel-0.43.0 python-3.10.13p2 (Junk lock released for octeon at 1712901425.22) distfiles size=2797274 >>> Running build in devel/py-unicorn,python3 at 1712901425.29 ===> devel/py-unicorn,python3 ===> Checking files for py3-unicorn-2.0.1.post1 `/ports/distfiles/unicorn-2.0.1.post1.tar.gz' is up to date. >> (SHA256) unicorn-2.0.1.post1.tar.gz: OK ===> Extracting for py3-unicorn-2.0.1.post1 ===> Patching for py3-unicorn-2.0.1.post1 ===> 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++ ===> Generating configure for py3-unicorn-2.0.1.post1 ===> Configuring for py3-unicorn-2.0.1.post1 ===> Building for py3-unicorn-2.0.1.post1 * Getting build dependencies for wheel... * Building wheel... CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- 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-python3/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-python3/unicorn-2.0.1.post1/src/build_python Source path /pobj/py-unicorn-2.0.1.post1-python3/unicorn-2.0.1.post1/src/qemu GIT binary git GIT submodules C compiler /pobj/py-unicorn-2.0.1.post1-python3/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 (64.3s) -- Generating done (4.3s) -- Build files have been written to: /pobj/py-unicorn-2.0.1.post1-python3/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.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/qdist.c.o [ 2%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/osdep.c.o [ 2%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/host-utils.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/cutils.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/bitmap.c.o [ 3%] Building C object CMakeFiles/unicorn-common.dir/glib_compat/gslice.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/gmem.c.o [ 4%] Building C object CMakeFiles/unicorn-common.dir/qemu/util/bitops.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 [ 4%] Building C object CMakeFiles/unicorn-common.dir/glib_compat/glist.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/garray.c.o [ 5%] Building C object CMakeFiles/unicorn-common.dir/glib_compat/glib_compat.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-python3/unicorn-2.0.1.post1/src/qemu/accel/tcg/cputlb.c:31: /pobj/py-unicorn-2.0.1.post1-python3/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-python3/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-python3/unicorn-2.0.1.post1/src/qemu/accel/tcg/cputlb.c:31: /pobj/py-unicorn-2.0.1.post1-python3/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-python3/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-python3/unicorn-2.0.1.post1/src/qemu/accel/tcg/cputlb.c:31: /pobj/py-unicorn-2.0.1.post1-python3/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-python3/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-python3/unicorn-2.0.1.post1/src/qemu/tcg/tcg.c:294: /pobj/py-unicorn-2.0.1.post1-python3/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-python3/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-python3/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-python3/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-python3/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-python3/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-python3/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-python3/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-python3/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-python3/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-python3/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; ~~ ^ 5 warnings and 1 error generated. *** Error 1 in target 'CMakeFiles/tricore-softmmu.dir/qemu/tcg/tcg.c.o' *** Error 1 in . (CMakeFiles/tricore-softmmu.dir/build.make:188 'CMakeFiles/tricore-softmmu.dir/qemu/tcg/tcg.c.o': /pobj/py-unicorn-2.0.1.po...) *** Error 2 in . (CMakeFiles/Makefile2:565 'CMakeFiles/tricore-softmmu.dir/all') *** Error 2 in /pobj/py-unicorn-2.0.1.post1-python3/unicorn-2.0.1.post1/src/build_python (Makefile:146 'all': /usr/bin/make -s -f CMakeFiles...) Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/usr/local/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) File "/usr/local/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, File "/usr/local/lib/python3.10/site-packages/setuptools/build_meta.py", line 416, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "/usr/local/lib/python3.10/site-packages/setuptools/build_meta.py", line 401, in _build_with_temp_dir self.run_setup() File "/usr/local/lib/python3.10/site-packages/setuptools/build_meta.py", line 487, in run_setup super(_BuildMetaLegacyBackend, File "/usr/local/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "", line 232, in File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/usr/local/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command super().run_command(command) File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/usr/local/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 368, in run self.run_command("build") File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command self.distribution.run_command(command) File "/usr/local/lib/python3.10/site-packages/setuptools/dist.py", line 1234, in run_command super().run_command(command) File "/usr/local/lib/python3.10/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.10/subprocess.py", line 369, 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:368 'do-build': @: ; if [ -e /pobj/py-unicorn-2.0.1.post1-python3/unicorn...) *** Error 2 in devel/py-unicorn (/ports/infrastructure/mk/bsd.port.mk:3057 '/pobj/py-unicorn-2.0.1.post1-python3/.build_done': @cd /ports/de...) *** Error 2 in devel/py-unicorn (/ports/infrastructure/mk/bsd.port.mk:2704 'build': @lock=py3-unicorn-2.0.1.post1; export _LOCKS_HELD=" py3...) ===> Exiting devel/py-unicorn,python3 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 1712901681.70 max_stuck=39.01/depends=18.20/show-prepare-results=9.41/build=256.46 Error: job failed with 512 on octeon at 1712901681