>>> dtc: Building main/dtc 1.7.0-r0 (using abuild 3.10.0-r4) started Fri, 14 Apr 2023 10:20:28 +0000 >>> dtc: Checking sanity of /home/buildozer/aports/main/dtc/APKBUILD... >>> dtc: Analyzing dependencies... >>> dtc: Installing for build: build-base bison flex py3-setuptools python3-dev swig (1/19) Installing m4 (1.4.19-r3) (2/19) Installing bison (3.8.2-r1) (3/19) Installing flex (2.6.4-r5) (4/19) Installing libbz2 (1.0.8-r5) (5/19) Installing gdbm (1.23-r1) (6/19) Installing mpdecimal (2.5.1-r2) (7/19) Installing libpanelw (6.4_p20230401-r3) (8/19) Installing readline (8.2.1-r1) (9/19) Installing sqlite-libs (3.41.2-r2) (10/19) Installing python3 (3.11.3-r1) (11/19) Installing py3-parsing (3.0.9-r1) (12/19) Installing py3-packaging (23.1-r0) (13/19) Installing py3-setuptools (67.6.1-r0) (14/19) Installing python3-dev (3.11.3-r1) (15/19) Installing gc (8.2.2-r2) (16/19) Installing guile-libs (3.0.8-r4) (17/19) Installing guile (3.0.8-r4) (18/19) Installing swig (4.1.1-r3) (19/19) Installing .makedepends-dtc (20230414.102030) Executing busybox-1.36.0-r7.trigger OK: 1283 MiB in 122 packages >>> dtc: Cleaning up srcdir >>> dtc: Cleaning up pkgdir >>> dtc: Fetching https://distfiles.alpinelinux.org/distfiles/edge/dtc-1.7.0.tar.xz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 161k 100 161k 0 0 407k 0 --:--:-- --:--:-- --:--:-- 441k >>> dtc: Fetching https://distfiles.alpinelinux.org/distfiles/edge/dtc-1.7.0.tar.xz >>> dtc: Checking sha512sums... dtc-1.7.0.tar.xz: OK install-pylibfdt-to-destdir.patch: OK pyscm.patch: OK >>> dtc: Unpacking /var/cache/distfiles/dtc-1.7.0.tar.xz... >>> dtc: install-pylibfdt-to-destdir.patch patching file pylibfdt/Makefile.pylibfdt Hunk #1 succeeded at 21 (offset -1 lines). >>> dtc: pyscm.patch patching file setup.py DEP checks.c DEP data.c DEP dtc.c DEP flattree.c DEP fstree.c DEP livetree.c DEP srcpos.c DEP treesource.c DEP util.c LEX dtc-lexer.lex.c BISON dtc-parser.tab.c LEX convert-dtsv0-lexer.lex.c DEP fdtdump.c DEP fdtget.c DEP fdtput.c DEP fdtoverlay.c DEP libfdt/fdt.c DEP libfdt/fdt_ro.c DEP libfdt/fdt_wip.c DEP libfdt/fdt_sw.c DEP libfdt/fdt_rw.c DEP libfdt/fdt_strerror.c DEP libfdt/fdt_empty_tree.c DEP libfdt/fdt_addresses.c DEP libfdt/fdt_check.c DEP libfdt/fdt_overlay.c DEP tests/get_mem_rsv.c DEP tests/root_node.c DEP tests/find_property.c DEP tests/subnode_offset.c DEP tests/path_offset.c DEP tests/get_name.c DEP tests/getprop.c DEP tests/get_prop_offset.c DEP tests/get_phandle.c DEP tests/get_path.c DEP tests/supernode_atdepth_offset.c DEP tests/parent_offset.c DEP tests/node_offset_by_prop_value.c DEP tests/node_offset_by_phandle.c DEP tests/node_check_compatible.c DEP tests/node_offset_by_compatible.c DEP tests/get_alias.c DEP tests/get_next_tag_invalid_prop_len.c DEP tests/char_literal.c DEP tests/sized_cells.c DEP tests/notfound.c DEP tests/addr_size_cells.c DEP tests/addr_size_cells2.c DEP tests/appendprop_addrrange.c DEP tests/stringlist.c DEP tests/setprop_inplace.c DEP tests/nop_property.c DEP tests/nop_node.c DEP tests/sw_tree1.c DEP tests/sw_states.c DEP tests/move_and_save.c DEP tests/mangle-layout.c DEP tests/nopulate.c DEP tests/open_pack.c DEP tests/rw_tree1.c DEP tests/rw_oom.c DEP tests/set_name.c DEP tests/setprop.c DEP tests/del_property.c DEP tests/del_node.c DEP tests/appendprop1.c DEP tests/appendprop2.c DEP tests/propname_escapes.c DEP tests/string_escapes.c DEP tests/references.c DEP tests/path-references.c DEP tests/phandle_format.c DEP tests/boot-cpuid.c DEP tests/incbin.c DEP tests/relref_merge.c DEP tests/extra-terminating-null.c DEP tests/dtbs_equal_ordered.c DEP tests/dtb_reverse.c DEP tests/dtbs_equal_unordered.c DEP tests/add_subnode_with_nops.c DEP tests/path_offset_aliases.c DEP tests/utilfdt_test.c DEP tests/integer-expressions.c DEP tests/property_iterate.c DEP tests/subnode_iterate.c DEP tests/overlay.c DEP tests/overlay_bad_fixup.c DEP tests/check_path.c DEP tests/check_header.c DEP tests/check_full.c DEP tests/fs_tree1.c DEP tests/truncated_property.c DEP tests/truncated_string.c DEP tests/truncated_memrsv.c DEP tests/asm_tree_dump.c DEP tests/value-labels.c DEP tests/testutils.c DEP tests/trees.S DEP tests/dumptrees.c DEP dtc-lexer.lex.c DEP convert-dtsv0-lexer.lex.c DEP dtc-parser.tab.c CHK version_gen.h UPD version_gen.h DEP util.c CHK version_gen.h CC srcpos.o CC util.o CC convert-dtsv0-lexer.lex.o CC dtc.o CC checks.o CC data.o CC flattree.o CC fstree.o CC livetree.o CC treesource.o CC dtc-lexer.lex.o CC dtc-parser.tab.o CC fdtdump.o CC fdtget.o CC libfdt/fdt.o CC libfdt/fdt_ro.o CC libfdt/fdt_wip.o CC libfdt/fdt_sw.o CC libfdt/fdt_rw.o CC libfdt/fdt_strerror.o CC libfdt/fdt_empty_tree.o CC libfdt/fdt_addresses.o CC libfdt/fdt_overlay.o CC libfdt/fdt_check.o CC fdtput.o CC fdtoverlay.o make[1]: Entering directory '/home/buildozer/aports/main/dtc/src/dtc-1.7.0' CHK version_gen.h CC libfdt/fdt.o CC libfdt/fdt_ro.o CC libfdt/fdt_wip.o CC libfdt/fdt_sw.o CC libfdt/fdt_rw.o CC libfdt/fdt_strerror.o CC libfdt/fdt_empty_tree.o CC libfdt/fdt_overlay.o CC libfdt/fdt_addresses.o CC libfdt/fdt_check.o LD fdtdump LD libfdt/libfdt-1.7.0.so AR libfdt/libfdt.a LD convert-dtsv0 LD fdtget LD fdtput LD fdtoverlay AR libfdt/libfdt.a PYMOD pylibfdt/_libfdt.so LD dtc In file included from /usr/include/python3.11/Python.h:91, from /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:168: /usr/include/python3.11/modsupport.h:37:24: warning: redundant redeclaration of '_Py_BuildValue_SizeT' [-Wredundant-decls] 37 | PyAPI_FUNC(PyObject *) _Py_BuildValue_SizeT(const char *, ...); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/modsupport.h:20:41: note: previous declaration of '_Py_BuildValue_SizeT' with type 'PyObject *(const char *, ...)' {aka 'struct _object *(const char *, ...)'} 20 | #define Py_BuildValue _Py_BuildValue_SizeT | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/modsupport.h:36:24: note: in expansion of macro 'Py_BuildValue' 36 | PyAPI_FUNC(PyObject *) Py_BuildValue(const char *, ...); | ^~~~~~~~~~~~~ In file included from /usr/include/python3.11/Python.h:100: /usr/include/python3.11/abstract.h:198:24: warning: redundant redeclaration of '_PyObject_CallFunction_SizeT' [-Wredundant-decls] 198 | PyAPI_FUNC(PyObject *) _PyObject_CallFunction_SizeT(PyObject *callable, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/abstract.h:139:33: note: previous declaration of '_PyObject_CallFunction_SizeT' with type 'PyObject *(PyObject *, const char *, ...)' {aka 'struct _object *(struct _object *, const char *, ...)'} 139 | # define PyObject_CallFunction _PyObject_CallFunction_SizeT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/abstract.h:182:24: note: in expansion of macro 'PyObject_CallFunction' 182 | PyAPI_FUNC(PyObject *) PyObject_CallFunction(PyObject *callable, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/abstract.h:202:24: warning: redundant redeclaration of '_PyObject_CallMethod_SizeT' [-Wredundant-decls] 202 | PyAPI_FUNC(PyObject *) _PyObject_CallMethod_SizeT(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/abstract.h:140:31: note: previous declaration of '_PyObject_CallMethod_SizeT' with type 'PyObject *(PyObject *, const char *, const char *, ...)' {aka 'struct _object *(struct _object *, const char *, const char *, ...)'} 140 | # define PyObject_CallMethod _PyObject_CallMethod_SizeT | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/abstract.h:194:24: note: in expansion of macro 'PyObject_CallMethod' 194 | PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.11/abstract.h:866: /usr/include/python3.11/cpython/abstract.h:129:24: warning: redundant redeclaration of '_PyObject_CallMethodId_SizeT' [-Wredundant-decls] 129 | PyAPI_FUNC(PyObject *) _PyObject_CallMethodId_SizeT(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/abstract.h:8:34: note: previous declaration of '_PyObject_CallMethodId_SizeT' with type 'PyObject *(PyObject *, _Py_Identifier *, const char *, ...)' {aka 'struct _object *(struct _object *, _Py_Identifier *, const char *, ...)'} 8 | # define _PyObject_CallMethodId _PyObject_CallMethodId_SizeT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/abstract.h:125:24: note: in expansion of macro '_PyObject_CallMethodId' 125 | PyAPI_FUNC(PyObject *) _PyObject_CallMethodId(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function 'SWIG_Python_str_AsChar': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:809:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 809 | return (char *)PyUnicode_AsUTF8(str); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function 'SWIG_FromCharPtrAndSize': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3229:36: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3229 | SWIG_InternalNewPointerObj((char *)(carray), pchar_descriptor, 0) : SWIG_Py_Void(); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:1087:89: note: in definition of macro 'SWIG_InternalNewPointerObj' 1087 | #define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) | ^~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_new_fdt_header': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3023:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3023 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:1084:89: note: in definition of macro 'SWIG_NewPointerObj' 1084 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) | ^~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:4071:34: note: in expansion of macro 'SWIG_as_voidptr' 4071 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fdt_header, SWIG_POINTER_NEW | 0 ); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_new_fdt_reserve_entry': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3023:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3023 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:1084:89: note: in definition of macro 'SWIG_NewPointerObj' 1084 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) | ^~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:4233:34: note: in expansion of macro 'SWIG_as_voidptr' 4233 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fdt_reserve_entry, SWIG_POINTER_NEW | 0 ); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_new_fdt_node_header': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3023:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3023 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:1084:89: note: in definition of macro 'SWIG_NewPointerObj' 1084 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) | ^~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:4354:34: note: in expansion of macro 'SWIG_as_voidptr' 4354 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fdt_node_header, SWIG_POINTER_NEW | 0 ); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_new_fdt_property': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3023:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3023 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:1084:89: note: in definition of macro 'SWIG_NewPointerObj' 1084 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) | ^~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:4579:34: note: in expansion of macro 'SWIG_as_voidptr' 4579 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fdt_property, SWIG_POINTER_NEW | 0 ); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_offset_ptr_w': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3023:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3023 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:1084:89: note: in definition of macro 'SWIG_NewPointerObj' 1084 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) | ^~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:5108:34: note: in expansion of macro 'SWIG_as_voidptr' 5108 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_string': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:5899:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 5899 | result = (char *)fdt_get_string((void const *)arg1,arg2,arg3); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_string': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:5938:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 5938 | result = (char *)fdt_string((void const *)arg1,arg2); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_name': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:6234:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 6234 | result = (char *)fdt_get_name((void const *)arg1,arg2,arg3); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_property_by_offset': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:6343:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 6343 | result = (struct fdt_property *)fdt_get_property_by_offset((void const *)arg1,arg2,arg3); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_property': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:6458:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 6458 | result = (struct fdt_property *)fdt_get_property((void const *)arg1,arg2,(char const *)arg3,arg4); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_getprop': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:6586:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 6586 | result = (void *)fdt_getprop((void const *)arg1,arg2,(char const *)arg3,arg4); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_getprop_w': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3023:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3023 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:1084:89: note: in definition of macro 'SWIG_NewPointerObj' 1084 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) | ^~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:6652:34: note: in expansion of macro 'SWIG_as_voidptr' 6652 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_alias': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:6726:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 6726 | result = (char *)fdt_get_alias((void const *)arg1,(char const *)arg2); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_stringlist_get': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:7224:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 7224 | result = (char *)fdt_stringlist_get((void const *)arg1,arg2,(char const *)arg3,arg4,arg5); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_overlay_target_offset': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:8942:86: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual] 8942 | result = (int)fdt_overlay_target_offset((void const *)arg1,(void const *)arg2,arg3,(char const **)arg4); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_strerror': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:8965:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 8965 | result = (char *)fdt_strerror(arg1); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: At top level: /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3015:24: warning: no previous prototype for 'PyInit__libfdt' [-Wmissing-prototypes] 3015 | # define SWIG_init PyInit__libfdt | ^~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:9563:1: note: in expansion of macro 'SWIG_init' 9563 | SWIG_init(void) { | ^~~~~~~~~ make[1]: Leaving directory '/home/buildozer/aports/main/dtc/src/dtc-1.7.0' >>> dtc: Entering fakeroot... CHK version_gen.h LD libfdt/libfdt-1.7.0.so LD fdtget LD fdtput LD fdtoverlay make[1]: Entering directory '/home/buildozer/aports/main/dtc/src/dtc-1.7.0' CHK version_gen.h PYMOD pylibfdt/_libfdt.so make[1]: Leaving directory '/home/buildozer/aports/main/dtc/src/dtc-1.7.0' INSTALL-BIN INSTALL-LIB INSTALL-INC make[1]: Entering directory '/home/buildozer/aports/main/dtc/src/dtc-1.7.0' CHK version_gen.h PYMOD pylibfdt/_libfdt.so INSTALL-PYLIB /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( In file included from /usr/include/python3.11/Python.h:91, from /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:168: /usr/include/python3.11/modsupport.h:37:24: warning: redundant redeclaration of '_Py_BuildValue_SizeT' [-Wredundant-decls] 37 | PyAPI_FUNC(PyObject *) _Py_BuildValue_SizeT(const char *, ...); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/modsupport.h:20:41: note: previous declaration of '_Py_BuildValue_SizeT' with type 'PyObject *(const char *, ...)' {aka 'struct _object *(const char *, ...)'} 20 | #define Py_BuildValue _Py_BuildValue_SizeT | ^~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/modsupport.h:36:24: note: in expansion of macro 'Py_BuildValue' 36 | PyAPI_FUNC(PyObject *) Py_BuildValue(const char *, ...); | ^~~~~~~~~~~~~ In file included from /usr/include/python3.11/Python.h:100: /usr/include/python3.11/abstract.h:198:24: warning: redundant redeclaration of '_PyObject_CallFunction_SizeT' [-Wredundant-decls] 198 | PyAPI_FUNC(PyObject *) _PyObject_CallFunction_SizeT(PyObject *callable, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/abstract.h:139:33: note: previous declaration of '_PyObject_CallFunction_SizeT' with type 'PyObject *(PyObject *, const char *, ...)' {aka 'struct _object *(struct _object *, const char *, ...)'} 139 | # define PyObject_CallFunction _PyObject_CallFunction_SizeT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/abstract.h:182:24: note: in expansion of macro 'PyObject_CallFunction' 182 | PyAPI_FUNC(PyObject *) PyObject_CallFunction(PyObject *callable, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/abstract.h:202:24: warning: redundant redeclaration of '_PyObject_CallMethod_SizeT' [-Wredundant-decls] 202 | PyAPI_FUNC(PyObject *) _PyObject_CallMethod_SizeT(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/abstract.h:140:31: note: previous declaration of '_PyObject_CallMethod_SizeT' with type 'PyObject *(PyObject *, const char *, const char *, ...)' {aka 'struct _object *(struct _object *, const char *, const char *, ...)'} 140 | # define PyObject_CallMethod _PyObject_CallMethod_SizeT | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/abstract.h:194:24: note: in expansion of macro 'PyObject_CallMethod' 194 | PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.11/abstract.h:866: /usr/include/python3.11/cpython/abstract.h:129:24: warning: redundant redeclaration of '_PyObject_CallMethodId_SizeT' [-Wredundant-decls] 129 | PyAPI_FUNC(PyObject *) _PyObject_CallMethodId_SizeT(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/abstract.h:8:34: note: previous declaration of '_PyObject_CallMethodId_SizeT' with type 'PyObject *(PyObject *, _Py_Identifier *, const char *, ...)' {aka 'struct _object *(struct _object *, _Py_Identifier *, const char *, ...)'} 8 | # define _PyObject_CallMethodId _PyObject_CallMethodId_SizeT | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.11/cpython/abstract.h:125:24: note: in expansion of macro '_PyObject_CallMethodId' 125 | PyAPI_FUNC(PyObject *) _PyObject_CallMethodId(PyObject *obj, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function 'SWIG_Python_str_AsChar': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:809:10: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 809 | return (char *)PyUnicode_AsUTF8(str); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function 'SWIG_FromCharPtrAndSize': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3229:36: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3229 | SWIG_InternalNewPointerObj((char *)(carray), pchar_descriptor, 0) : SWIG_Py_Void(); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:1087:89: note: in definition of macro 'SWIG_InternalNewPointerObj' 1087 | #define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) | ^~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_new_fdt_header': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3023:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3023 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:1084:89: note: in definition of macro 'SWIG_NewPointerObj' 1084 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) | ^~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:4071:34: note: in expansion of macro 'SWIG_as_voidptr' 4071 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fdt_header, SWIG_POINTER_NEW | 0 ); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_new_fdt_reserve_entry': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3023:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3023 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:1084:89: note: in definition of macro 'SWIG_NewPointerObj' 1084 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) | ^~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:4233:34: note: in expansion of macro 'SWIG_as_voidptr' 4233 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fdt_reserve_entry, SWIG_POINTER_NEW | 0 ); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_new_fdt_node_header': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3023:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3023 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:1084:89: note: in definition of macro 'SWIG_NewPointerObj' 1084 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) | ^~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:4354:34: note: in expansion of macro 'SWIG_as_voidptr' 4354 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fdt_node_header, SWIG_POINTER_NEW | 0 ); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_new_fdt_property': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3023:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3023 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:1084:89: note: in definition of macro 'SWIG_NewPointerObj' 1084 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) | ^~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:4579:34: note: in expansion of macro 'SWIG_as_voidptr' 4579 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fdt_property, SWIG_POINTER_NEW | 0 ); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_offset_ptr_w': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3023:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3023 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:1084:89: note: in definition of macro 'SWIG_NewPointerObj' 1084 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) | ^~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:5108:34: note: in expansion of macro 'SWIG_as_voidptr' 5108 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_string': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:5899:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 5899 | result = (char *)fdt_get_string((void const *)arg1,arg2,arg3); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_string': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:5938:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 5938 | result = (char *)fdt_string((void const *)arg1,arg2); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_name': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:6234:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 6234 | result = (char *)fdt_get_name((void const *)arg1,arg2,arg3); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_property_by_offset': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:6343:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 6343 | result = (struct fdt_property *)fdt_get_property_by_offset((void const *)arg1,arg2,arg3); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_property': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:6458:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 6458 | result = (struct fdt_property *)fdt_get_property((void const *)arg1,arg2,(char const *)arg3,arg4); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_getprop': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:6586:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 6586 | result = (void *)fdt_getprop((void const *)arg1,arg2,(char const *)arg3,arg4); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_getprop_w': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3023:28: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 3023 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:1084:89: note: in definition of macro 'SWIG_NewPointerObj' 1084 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) | ^~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:6652:34: note: in expansion of macro 'SWIG_as_voidptr' 6652 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); | ^~~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_alias': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:6726:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 6726 | result = (char *)fdt_get_alias((void const *)arg1,(char const *)arg2); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_stringlist_get': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:7224:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 7224 | result = (char *)fdt_stringlist_get((void const *)arg1,arg2,(char const *)arg3,arg4,arg5); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_overlay_target_offset': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:8942:86: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual] 8942 | result = (int)fdt_overlay_target_offset((void const *)arg1,(void const *)arg2,arg3,(char const **)arg4); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_strerror': /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:8965:12: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] 8965 | result = (char *)fdt_strerror(arg1); | ^ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c: At top level: /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:3015:24: warning: no previous prototype for 'PyInit__libfdt' [-Wmissing-prototypes] 3015 | # define SWIG_init PyInit__libfdt | ^~~~~~~~~~~~~~ /home/buildozer/aports/main/dtc/src/dtc-1.7.0/./pylibfdt/libfdt_wrap.c:9563:1: note: in expansion of macro 'SWIG_init' 9563 | SWIG_init(void) { | ^~~~~~~~~ make[1]: Leaving directory '/home/buildozer/aports/main/dtc/src/dtc-1.7.0' >>> dtc-dev*: Running split function dev... >>> dtc-dev*: Preparing subpackage dtc-dev... >>> dtc-dev*: Stripping binaries >>> dtc-dev*: Running postcheck for dtc-dev >>> libfdt*: Running split function libfdt... '/home/buildozer/aports/main/dtc/pkg/dtc/usr/lib/libfdt-1.7.0.so' -> '/home/buildozer/aports/main/dtc/pkg/libfdt/usr/lib/libfdt-1.7.0.so' '/home/buildozer/aports/main/dtc/pkg/dtc/usr/lib/libfdt.so.1' -> '/home/buildozer/aports/main/dtc/pkg/libfdt/usr/lib/libfdt.so.1' >>> libfdt*: Preparing subpackage libfdt... >>> libfdt*: Stripping binaries >>> libfdt*: Running postcheck for libfdt >>> py3-libfdt*: Running split function py3_libfdt... '/home/buildozer/aports/main/dtc/pkg/dtc/usr/lib/python3.11' -> '/home/buildozer/aports/main/dtc/pkg/py3-libfdt/usr/lib/python3.11' >>> py3-libfdt*: Preparing subpackage py3-libfdt... >>> py3-libfdt*: Stripping binaries >>> py3-libfdt*: Running postcheck for py3-libfdt >>> dtc*: Running postcheck for dtc >>> dtc*: Preparing package dtc... >>> dtc*: Stripping binaries >>> dtc-dev*: Scanning shared objects >>> dtc*: Scanning shared objects >>> libfdt*: Scanning shared objects >>> py3-libfdt*: Scanning shared objects >>> dtc-dev*: Tracing dependencies... dtc=1.7.0-r0 libfdt=1.7.0-r0 >>> dtc-dev*: Package size: 100.0 KB >>> dtc-dev*: Compressing data... >>> dtc-dev*: Create checksum... >>> dtc-dev*: Create dtc-dev-1.7.0-r0.apk >>> dtc*: Tracing dependencies... so:libc.musl-riscv64.so.1 so:libfdt.so.1 >>> dtc*: Package size: 208.0 KB >>> dtc*: Compressing data... >>> dtc*: Create checksum... >>> dtc*: Create dtc-1.7.0-r0.apk >>> libfdt*: Tracing dependencies... so:libc.musl-riscv64.so.1 >>> libfdt*: Package size: 44.0 KB >>> libfdt*: Compressing data... >>> libfdt*: Create checksum... >>> libfdt*: Create libfdt-1.7.0-r0.apk >>> py3-libfdt*: Tracing dependencies... python3 so:libc.musl-riscv64.so.1 >>> py3-libfdt*: Package size: 288.0 KB >>> py3-libfdt*: Compressing data... >>> py3-libfdt*: Create checksum... >>> py3-libfdt*: Create py3-libfdt-1.7.0-r0.apk >>> dtc: Build complete at Fri, 14 Apr 2023 10:21:38 +0000 elapsed time 0h 1m 10s >>> dtc: Cleaning up srcdir >>> dtc: Cleaning up pkgdir >>> dtc: Uninstalling dependencies... (1/19) Purging .makedepends-dtc (20230414.102030) (2/19) Purging bison (3.8.2-r1) (3/19) Purging flex (2.6.4-r5) (4/19) Purging m4 (1.4.19-r3) (5/19) Purging py3-setuptools (67.6.1-r0) (6/19) Purging py3-packaging (23.1-r0) (7/19) Purging py3-parsing (3.0.9-r1) (8/19) Purging python3-dev (3.11.3-r1) (9/19) Purging python3 (3.11.3-r1) (10/19) Purging swig (4.1.1-r3) (11/19) Purging guile (3.0.8-r4) (12/19) Purging gdbm (1.23-r1) (13/19) Purging guile-libs (3.0.8-r4) (14/19) Purging libbz2 (1.0.8-r5) (15/19) Purging libpanelw (6.4_p20230401-r3) (16/19) Purging mpdecimal (2.5.1-r2) (17/19) Purging readline (8.2.1-r1) (18/19) Purging sqlite-libs (3.41.2-r2) (19/19) Purging gc (8.2.2-r2) Executing busybox-1.36.0-r7.trigger OK: 1000 MiB in 103 packages >>> dtc: Updating the main/riscv64 repository index... >>> dtc: Signing the index...