===> Building for u-boot-visionfive2-2024.04 cd /Users/pbulk/build/sysutils/u-boot-visionfive2/work/u-boot-2024.04 && /usr/bin/env OPENSBI=/Users/pbulk/build/sysutils/u-boot-visionfive2/work/u-boot-2024.04/fw_dynamic.bin USETOOLS=no GOTMPDIR=/Users/pbulk/build PTHREAD_CFLAGS=\ -D_REENTRANT PTHREAD_LDFLAGS= PTHREAD_LIBS=-lpthread PTHREADBASE= CROSS_COMPILE=/opt/pkg/cross-riscv64-none-elf/bin/riscv64-none-elf- MACOSX_DEPLOYMENT_TARGET=12.3 PYTHON=/opt/pkg/bin/python3.12 PYTHON3=/opt/pkg/bin/python3.12 PYTHONCONFIG=/opt/pkg/bin/python3.12-config PYTHONLIBPATH=-L/opt/pkg/lib CC=clang CFLAGS=-pipe\ -Os\ -I/opt/pkg/include\ -I/opt/pkg/include/python3.12 CPPFLAGS=-I/opt/pkg/include\ -I/opt/pkg/include/python3.12 CXX=clang++ CXXFLAGS=-pipe\ -Os\ -I/opt/pkg/include\ -I/opt/pkg/include/python3.12 COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib LINKER_RPATH_FLAG=-L PATH=/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.cwrapper/bin:/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.buildlink/bin:/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/opt/pkg/etc HOME=/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.cwrapper/config CPP=clang\ -E LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=Mach-O USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ \ -o\ pbulk\ -g\ staff\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ staff\ -m\ 775 INSTALL_INFO= MAKEINFO=/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.tools/bin/makeinfo FLEX=/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.tools/bin/flex BISON=/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.tools/bin/bison ITSTOOL=/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.tools/bin/gdbus-codegen PKG_CONFIG=/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.buildlink/lib/pkgconfig:/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.cwrapper/config /opt/pkg/bin/gmake -j1 all scripts/kconfig/conf --syncconfig Kconfig UPD include/config.h CFG u-boot.cfg GEN include/autoconf.mk GEN include/autoconf.mk.dep CFG spl/u-boot.cfg GEN spl/include/autoconf.mk UPD include/config/uboot.release UPD include/generated/version_autogenerated.h UPD include/generated/timestamp_autogenerated.h UPD include/generated/dt.h ENVC include/generated/env.txt ENVP include/generated/env.in ENVT include/generated/environment.h CC lib/asm-offsets.s UPD include/generated/generic-asm-offsets.h CC arch/riscv/lib/asm-offsets.s UPD include/generated/asm-offsets.h SHIPPED scripts/dtc/pylibfdt/libfdt.i PYMOD rebuild Undefined symbols for architecture x86_64: "_PyArg_UnpackTuple", referenced from: _SwigPyObject_own in libfdt_wrap.o "_PyBool_FromLong", referenced from: _SwigPyObject_richcompare in libfdt_wrap.o _SwigPyObject_own in libfdt_wrap.o "_PyByteArray_AsString", referenced from: __wrap_fdt_magic in libfdt_wrap.o __wrap_fdt_totalsize in libfdt_wrap.o __wrap_fdt_off_dt_struct in libfdt_wrap.o __wrap_fdt_off_dt_strings in libfdt_wrap.o __wrap_fdt_off_mem_rsvmap in libfdt_wrap.o __wrap_fdt_version in libfdt_wrap.o __wrap_fdt_last_comp_version in libfdt_wrap.o ... "_PyByteArray_FromStringAndSize", referenced from: __wrap_fdt_get_property_by_offset in libfdt_wrap.o __wrap_fdt_get_property in libfdt_wrap.o __wrap_fdt_get_property_w in libfdt_wrap.o "_PyByteArray_Type", referenced from: __wrap_fdt_magic in libfdt_wrap.o __wrap_fdt_totalsize in libfdt_wrap.o __wrap_fdt_off_dt_struct in libfdt_wrap.o __wrap_fdt_off_dt_strings in libfdt_wrap.o __wrap_fdt_off_mem_rsvmap in libfdt_wrap.o __wrap_fdt_version in libfdt_wrap.o __wrap_fdt_last_comp_version in libfdt_wrap.o ... "_PyBytes_AsString", referenced from: __wrap_fdt_property_stub in libfdt_wrap.o __wrap_fdt_setprop in libfdt_wrap.o __wrap_fdt_appendprop in libfdt_wrap.o "_PyBytes_AsStringAndSize", referenced from: _SWIG_AsCharPtrAndSize in libfdt_wrap.o "_PyCapsule_GetPointer", referenced from: _SWIG_Python_DestroyModule in libfdt_wrap.o "_PyCapsule_Import", referenced from: _PyInit__libfdt in libfdt_wrap.o "_PyCapsule_New", referenced from: _PyInit__libfdt in libfdt_wrap.o "_PyDict_SetItemString", referenced from: _PyInit__libfdt in libfdt_wrap.o _SWIG_Python_SetConstant in libfdt_wrap.o "_PyErr_Clear", referenced from: _PyInit__libfdt in libfdt_wrap.o _SWIG_Python_ConvertPtrAndOwn in libfdt_wrap.o _SWIG_Python_GetSwigThis in libfdt_wrap.o _SWIG_AsVal_unsigned_SS_long in libfdt_wrap.o _SwigPyClientData_New in libfdt_wrap.o _SWIG_AsVal_int in libfdt_wrap.o _SWIG_AsVal_unsigned_SS_long_SS_long in libfdt_wrap.o ... "_PyErr_Fetch", referenced from: _SwigPyObject_dealloc in libfdt_wrap.o "_PyErr_Occurred", referenced from: _PyInit__libfdt in libfdt_wrap.o _SWIG_Python_ConvertPtrAndOwn in libfdt_wrap.o _SWIG_Python_GetSwigThis in libfdt_wrap.o _SWIG_AsVal_unsigned_SS_long in libfdt_wrap.o _SwigPyClientData_New in libfdt_wrap.o _SWIG_AsVal_int in libfdt_wrap.o _SWIG_AsVal_unsigned_SS_long_SS_long in libfdt_wrap.o ... "_PyErr_Restore", referenced from: _SwigPyObject_dealloc in libfdt_wrap.o "_PyErr_SetString", referenced from: __wrap_fdt_header_magic_set in libfdt_wrap.o __wrap_fdt_header_magic_get in libfdt_wrap.o __wrap_fdt_header_totalsize_set in libfdt_wrap.o __wrap_fdt_header_totalsize_get in libfdt_wrap.o __wrap_fdt_header_off_dt_struct_set in libfdt_wrap.o __wrap_fdt_header_off_dt_struct_get in libfdt_wrap.o __wrap_fdt_header_off_dt_strings_set in libfdt_wrap.o ... "_PyErr_WriteUnraisable", referenced from: _SwigPyObject_dealloc in libfdt_wrap.o "_PyExc_AttributeError", referenced from: l_switch.table.SWIG_Python_ErrorType in libfdt_wrap.o "_PyExc_IOError", referenced from: l_switch.table.SWIG_Python_ErrorType in libfdt_wrap.o "_PyExc_IndexError", referenced from: l_switch.table.SWIG_Python_ErrorType in libfdt_wrap.o "_PyExc_MemoryError", referenced from: l_switch.table.SWIG_Python_ErrorType in libfdt_wrap.o "_PyExc_OverflowError", referenced from: l_switch.table.SWIG_Python_ErrorType in libfdt_wrap.o "_PyExc_RuntimeError", referenced from: _SWIG_Python_ErrorType in libfdt_wrap.o l_switch.table.SWIG_Python_ErrorType in libfdt_wrap.o "_PyExc_SyntaxError", referenced from: l_switch.table.SWIG_Python_ErrorType in libfdt_wrap.o "_PyExc_SystemError", referenced from: l_switch.table.SWIG_Python_ErrorType in libfdt_wrap.o "_PyExc_TypeError", referenced from: __wrap_fdt_magic in libfdt_wrap.o __wrap_fdt_totalsize in libfdt_wrap.o __wrap_fdt_off_dt_struct in libfdt_wrap.o __wrap_fdt_off_dt_strings in libfdt_wrap.o __wrap_fdt_off_mem_rsvmap in libfdt_wrap.o __wrap_fdt_version in libfdt_wrap.o __wrap_fdt_last_comp_version in libfdt_wrap.o ... "_PyExc_ValueError", referenced from: __wrap_fdt_reserve_entry_address_set in libfdt_wrap.o __wrap_fdt_reserve_entry_size_set in libfdt_wrap.o l_switch.table.SWIG_Python_ErrorType in libfdt_wrap.o "_PyExc_ZeroDivisionError", referenced from: l_switch.table.SWIG_Python_ErrorType in libfdt_wrap.o "_PyImport_AddModule", referenced from: _PyInit__libfdt in libfdt_wrap.o "_PyInstanceMethod_New", referenced from: _SWIG_PyInstanceMethod_New in libfdt_wrap.o "_PyList_Append", referenced from: _SWIG_Python_AppendOutput in libfdt_wrap.o "_PyList_New", referenced from: _SWIG_Python_AppendOutput in libfdt_wrap.o "_PyList_SetItem", referenced from: _SWIG_Python_AppendOutput in libfdt_wrap.o "_PyLong_AsLong", referenced from: __wrap_fdt_next_node in libfdt_wrap.o _SWIG_AsVal_int in libfdt_wrap.o "_PyLong_AsUnsignedLong", referenced from: _SWIG_AsVal_unsigned_SS_long in libfdt_wrap.o "_PyLong_AsUnsignedLongLong", referenced from: _SWIG_AsVal_unsigned_SS_long_SS_long in libfdt_wrap.o "_PyLong_FromLong", referenced from: _PyInit__libfdt in libfdt_wrap.o __wrap_fdt_property_string in libfdt_wrap.o __wrap_fdt_property_cell in libfdt_wrap.o __wrap_fdt_property_stub in libfdt_wrap.o __wrap_fdt_next_node in libfdt_wrap.o __wrap_fdt_first_subnode in libfdt_wrap.o __wrap_fdt_next_subnode in libfdt_wrap.o ... "_PyLong_FromSize_t", referenced from: __wrap_fdt_header_magic_get in libfdt_wrap.o __wrap_fdt_header_totalsize_get in libfdt_wrap.o __wrap_fdt_header_off_dt_struct_get in libfdt_wrap.o __wrap_fdt_header_off_dt_strings_get in libfdt_wrap.o __wrap_fdt_header_off_mem_rsvmap_get in libfdt_wrap.o __wrap_fdt_header_version_get in libfdt_wrap.o __wrap_fdt_header_last_comp_version_get in libfdt_wrap.o ... "_PyLong_FromUnsignedLong", referenced from: __wrap_fdt_header_size in libfdt_wrap.o __wrap_fdt_header_size_ in libfdt_wrap.o "_PyLong_FromUnsignedLongLong", referenced from: __wrap_fdt_get_mem_rsv in libfdt_wrap.o "_PyLong_FromVoidPtr", referenced from: _SwigPyObject_long in libfdt_wrap.o "_PyModule_AddObject", referenced from: _PyInit__libfdt in libfdt_wrap.o "_PyModule_Create2", referenced from: _PyInit__libfdt in libfdt_wrap.o "_PyModule_GetDict", referenced from: _PyInit__libfdt in libfdt_wrap.o "_PyObject_Call", referenced from: _SWIG_Python_NewPointerObj in libfdt_wrap.o "_PyObject_CallFunctionObjArgs", referenced from: _SWIG_Python_ConvertPtrAndOwn in libfdt_wrap.o _SwigPyObject_dealloc in libfdt_wrap.o "_PyObject_Free", referenced from: _PyInit__libfdt in libfdt_wrap.o _SwigPyObject_dealloc in libfdt_wrap.o _SwigPyPacked_dealloc in libfdt_wrap.o "_PyObject_GenericGetAttr", referenced from: l___const.SwigPyObject_TypeOnce.tmp in libfdt_wrap.o l___const.SwigPyPacked_TypeOnce.tmp in libfdt_wrap.o "_PyObject_GetAttr", referenced from: _SWIG_Python_GetSwigThis in libfdt_wrap.o "_PyObject_GetAttrString", referenced from: _SwigPyClientData_New in libfdt_wrap.o "_PyObject_IsInstance", referenced from: _SwigPyClientData_New in libfdt_wrap.o "_PyObject_IsTrue", referenced from: _SwigPyObject_own in libfdt_wrap.o "_PyObject_SetAttr", referenced from: _SWIG_Python_NewPointerObj in libfdt_wrap.o "_PyTuple_New", referenced from: _SwigPyClientData_New in libfdt_wrap.o "_PyTuple_SetItem", referenced from: _SwigPyClientData_New in libfdt_wrap.o "_PyType_IsSubtype", referenced from: __wrap_fdt_magic in libfdt_wrap.o __wrap_fdt_totalsize in libfdt_wrap.o __wrap_fdt_off_dt_struct in libfdt_wrap.o __wrap_fdt_off_dt_strings in libfdt_wrap.o __wrap_fdt_off_mem_rsvmap in libfdt_wrap.o __wrap_fdt_version in libfdt_wrap.o __wrap_fdt_last_comp_version in libfdt_wrap.o ... "_PyType_Ready", referenced from: _PyInit__libfdt in libfdt_wrap.o _SwigPyObject_type in libfdt_wrap.o _SwigPyPacked_dealloc in libfdt_wrap.o "_PyType_Type", referenced from: _SwigPyClientData_New in libfdt_wrap.o "_PyUnicode_AsUTF8String", referenced from: _SWIG_AsCharPtrAndSize in libfdt_wrap.o "_PyUnicode_Concat", referenced from: _SwigPyObject_repr in libfdt_wrap.o "_PyUnicode_DecodeUTF8", referenced from: __wrap_fdt_node_header_name_get in libfdt_wrap.o __wrap_fdt_property_data_get in libfdt_wrap.o __wrap_fdt_get_string in libfdt_wrap.o __wrap_fdt_string in libfdt_wrap.o __wrap_fdt_get_name in libfdt_wrap.o __wrap_fdt_get_alias in libfdt_wrap.o __wrap_fdt_stringlist_get in libfdt_wrap.o ... "_PyUnicode_FromFormat", referenced from: _SwigPyObject_repr in libfdt_wrap.o _SwigPyPacked_repr in libfdt_wrap.o _SwigPyPacked_str in libfdt_wrap.o "_PyUnicode_FromString", referenced from: __wrap_fdt_get_property_by_offset in libfdt_wrap.o __wrap_fdt_get_property in libfdt_wrap.o __wrap_fdt_get_property_w in libfdt_wrap.o _SWIG_Python_GetSwigThis in libfdt_wrap.o _SWIG_Python_NewPointerObj in libfdt_wrap.o _SWIG_Python_DestroyModule in libfdt_wrap.o _SwigPyPacked_str in libfdt_wrap.o ... "_Py_DecRef", referenced from: _SwigPyObject_repr in libfdt_wrap.o "__PyArg_ParseTuple_SizeT", referenced from: __wrap_fdt_header_magic_set in libfdt_wrap.o __wrap_fdt_header_magic_get in libfdt_wrap.o __wrap_fdt_header_totalsize_set in libfdt_wrap.o __wrap_fdt_header_totalsize_get in libfdt_wrap.o __wrap_fdt_header_off_dt_struct_set in libfdt_wrap.o __wrap_fdt_header_off_dt_struct_get in libfdt_wrap.o __wrap_fdt_header_off_dt_strings_set in libfdt_wrap.o ... "__PyObject_New", referenced from: _PyInit__libfdt in libfdt_wrap.o _SwigPyObject_New in libfdt_wrap.o _SWIG_Python_NewPointerObj in libfdt_wrap.o "__Py_BuildValue_SizeT", referenced from: __wrap_fdt_next_node in libfdt_wrap.o __wrap_fdt_getprop in libfdt_wrap.o "__Py_Dealloc", referenced from: _PyInit__libfdt in libfdt_wrap.o _SWIG_Python_SetConstant in libfdt_wrap.o _SWIG_Python_ConvertPtrAndOwn in libfdt_wrap.o _SWIG_Python_GetSwigThis in libfdt_wrap.o _SwigPyObject_dealloc in libfdt_wrap.o _SWIG_Python_NewPointerObj in libfdt_wrap.o _SWIG_AsCharPtrAndSize in libfdt_wrap.o ... "__Py_NoneStruct", referenced from: _PyInit__libfdt in libfdt_wrap.o __wrap_fdt_header_magic_set in libfdt_wrap.o __wrap_fdt_header_totalsize_set in libfdt_wrap.o __wrap_fdt_header_off_dt_struct_set in libfdt_wrap.o __wrap_fdt_header_off_dt_strings_set in libfdt_wrap.o __wrap_fdt_header_off_mem_rsvmap_set in libfdt_wrap.o __wrap_fdt_header_version_set in libfdt_wrap.o ... "__Py_NotImplementedStruct", referenced from: _SwigPyObject_richcompare in libfdt_wrap.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) error: command '/Users/pbulk/build/sysutils/u-boot-visionfive2/work/.cwrapper/bin/gcc' failed with exit code 1 gmake[2]: *** [scripts/dtc/pylibfdt/Makefile:33: rebuild] Error 1 gmake[1]: *** [scripts/Makefile.build:397: scripts/dtc/pylibfdt] Error 2 gmake: *** [Makefile:2015: scripts_dtc] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/sysutils/u-boot-visionfive2 *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/sysutils/u-boot-visionfive2