>>> host-dtc 1.4.7 Downloading PATH="/home/naourr/work/instance-3/output/host/bin:/home/naourr/work/instance-3/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/.local/bin:/home/naourr/bin" BR2_DL_DIR=/home/naourr/work/instance-3/dl BUILD_DIR=/home/naourr/work/instance-3/output/build O=/home/naourr/work/instance-3/output flock /home/naourr/work/instance-3/dl/dtc/ support/download/dl-wrapper -c '1.4.7' -d '/home/naourr/work/instance-3/dl/dtc' -D '/home/naourr/work/instance-3/dl' -f 'dtc-1.4.7.tar.xz' -H 'package/dtc//dtc.hash' -n 'dtc-1.4.7' -N 'dtc' -o '/home/naourr/work/instance-3/dl/dtc/dtc-1.4.7.tar.xz' -u https+https://www.kernel.org/pub/software/utils/dtc -u http\|urlencode+http://sources.buildroot.net/dtc -u http\|urlencode+http://sources.buildroot.net -- --2018-07-26 02:38:12-- https://www.kernel.org/pub/software/utils/dtc/dtc-1.4.7.tar.xz Resolving www.kernel.org (www.kernel.org)... 147.75.44.153, 2604:1380:4090:1700::1 Connecting to www.kernel.org (www.kernel.org)|147.75.44.153|:443... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://mirrors.edge.kernel.org/pub/software/utils/dtc/dtc-1.4.7.tar.xz [following] --2018-07-26 02:38:13-- https://mirrors.edge.kernel.org/pub/software/utils/dtc/dtc-1.4.7.tar.xz Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... 147.75.101.1, 2604:1380:2001:3900::1 Connecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)|147.75.101.1|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 148940 (145K) [application/x-xz] Saving to: '/home/naourr/work/instance-3/output/build/.dtc-1.4.7.tar.xz.0LetSv/output' 0K .......... .......... .......... .......... .......... 34% 2.23M 0s 50K .......... .......... .......... .......... .......... 68% 2.48M 0s 100K .......... .......... .......... .......... ..... 100% 15.3M=0.04s 2018-07-26 02:38:13 (3.20 MB/s) - '/home/naourr/work/instance-3/output/build/.dtc-1.4.7.tar.xz.0LetSv/output' saved [148940/148940] dtc-1.4.7.tar.xz: OK (sha256: 6643e8f00ff86350f465bb54b2185058b5b1b7bac01a0842c81a52b86589cde7) >>> host-dtc 1.4.7 Extracting xzcat /home/naourr/work/instance-3/dl/dtc/dtc-1.4.7.tar.xz | /home/naourr/work/instance-3/output/host/bin/tar --strip-components=1 -C /home/naourr/work/instance-3/output/build/host-dtc-1.4.7 -xf - >>> host-dtc 1.4.7 Patching >>> host-dtc 1.4.7 Configuring >>> host-dtc 1.4.7 Building PATH="/home/naourr/work/instance-3/output/host/bin:/home/naourr/work/instance-3/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/.local/bin:/home/naourr/bin" PKG_CONFIG="/home/naourr/work/instance-3/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/naourr/work/instance-3/output/host/lib/pkgconfig:/home/naourr/work/instance-3/output/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/home/naourr/work/instance-3/output/host/include" CFLAGS="-O2 -I/home/naourr/work/instance-3/output/host/include" CXXFLAGS="-O2 -I/home/naourr/work/instance-3/output/host/include" LDFLAGS="-L/home/naourr/work/instance-3/output/host/lib -Wl,-rpath,/home/naourr/work/instance-3/output/host/lib" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j4 CFLAGS="-O2 -I/home/naourr/work/instance-3/output/host/include -fPIC" -C /home/naourr/work/instance-3/output/build/host-dtc-1.4.7 PREFIX=/home/naourr/work/instance-3/output/host make[1]: Entering directory '/home/naourr/work/instance-3/output/build/host-dtc-1.4.7' DEP tests/dumptrees.c DEP tests/trees.S DEP tests/testutils.c DEP tests/value-labels.c DEP tests/asm_tree_dump.c DEP tests/truncated_memrsv.c DEP tests/truncated_string.c DEP tests/truncated_property.c DEP tests/check_full.c DEP tests/check_header.c DEP tests/check_path.c DEP tests/overlay_bad_fixup.c DEP tests/overlay.c DEP tests/subnode_iterate.c DEP tests/property_iterate.c DEP tests/integer-expressions.c DEP tests/utilfdt_test.c DEP tests/path_offset_aliases.c DEP tests/add_subnode_with_nops.c DEP tests/dtbs_equal_unordered.c DEP tests/dtb_reverse.c DEP tests/dtbs_equal_ordered.c DEP tests/extra-terminating-null.c DEP tests/incbin.c DEP tests/boot-cpuid.c DEP tests/phandle_format.c DEP tests/path-references.c DEP tests/references.c DEP tests/string_escapes.c DEP tests/propname_escapes.c DEP tests/appendprop2.c DEP tests/appendprop1.c DEP tests/del_node.c DEP tests/del_property.c DEP tests/setprop.c DEP tests/set_name.c DEP tests/rw_tree1.c DEP tests/open_pack.c DEP tests/nopulate.c DEP tests/mangle-layout.c DEP tests/move_and_save.c DEP tests/sw_states.c DEP tests/sw_tree1.c DEP tests/nop_node.c DEP tests/nop_property.c DEP tests/setprop_inplace.c DEP tests/stringlist.c DEP tests/addr_size_cells2.c DEP tests/addr_size_cells.c DEP tests/notfound.c DEP tests/sized_cells.c DEP tests/char_literal.c DEP tests/get_alias.c DEP tests/node_offset_by_compatible.c DEP tests/node_check_compatible.c DEP tests/node_offset_by_phandle.c DEP tests/node_offset_by_prop_value.c DEP tests/parent_offset.c DEP tests/supernode_atdepth_offset.c DEP tests/get_path.c DEP tests/get_phandle.c DEP tests/getprop.c DEP tests/get_name.c DEP tests/path_offset.c DEP tests/subnode_offset.c DEP tests/find_property.c DEP tests/root_node.c DEP tests/get_mem_rsv.c DEP libfdt/fdt_overlay.c DEP libfdt/fdt_addresses.c DEP libfdt/fdt_empty_tree.c DEP libfdt/fdt_strerror.c DEP libfdt/fdt_rw.c DEP libfdt/fdt_sw.c DEP libfdt/fdt_wip.c DEP libfdt/fdt_ro.c DEP libfdt/fdt.c DEP util.c DEP fdtoverlay.c DEP fdtput.c DEP fdtget.c DEP fdtdump.c LEX convert-dtsv0-lexer.lex.c DEP srcpos.c BISON dtc-parser.tab.c LEX dtc-lexer.lex.c DEP treesource.c DEP livetree.c DEP fstree.c DEP flattree.c DEP dtc.c DEP data.c DEP checks.c DEP convert-dtsv0-lexer.lex.c DEP dtc-parser.tab.c DEP dtc-lexer.lex.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 fdtput.o CC fdtoverlay.o LD convert-dtsv0 make[2]: Entering directory '/home/naourr/work/instance-3/output/build/host-dtc-1.4.7' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. LD dtc LD fdtdump CHK version_gen.h PYMOD pylibfdt/_libfdt.so AR libfdt/libfdt.a LD libfdt/libfdt-1.4.7.so LD fdtput LD fdtget LD fdtoverlay pylibfdt/libfdt_wrap.c: In function 'SWIG_Python_FixMethods': pylibfdt/libfdt_wrap.c:9540:15: warning: 'strncpy' output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation] strncpy(buff, "swig_ptr: ", 10); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/naourr/work/instance-3/output/build/host-dtc-1.4.7' make[1]: Leaving directory '/home/naourr/work/instance-3/output/build/host-dtc-1.4.7' >>> host-dtc 1.4.7 Installing to host directory PATH="/home/naourr/work/instance-3/output/host/bin:/home/naourr/work/instance-3/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/.local/bin:/home/naourr/bin" PKG_CONFIG="/home/naourr/work/instance-3/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/naourr/work/instance-3/output/host/lib/pkgconfig:/home/naourr/work/instance-3/output/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/home/naourr/work/instance-3/output/host/include" CFLAGS="-O2 -I/home/naourr/work/instance-3/output/host/include" CXXFLAGS="-O2 -I/home/naourr/work/instance-3/output/host/include" LDFLAGS="-L/home/naourr/work/instance-3/output/host/lib -Wl,-rpath,/home/naourr/work/instance-3/output/host/lib" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j4 -C /home/naourr/work/instance-3/output/build/host-dtc-1.4.7 PREFIX=/home/naourr/work/instance-3/output/host install make[1]: Entering directory '/home/naourr/work/instance-3/output/build/host-dtc-1.4.7' CHK version_gen.h INSTALL-INC make[2]: Entering directory '/home/naourr/work/instance-3/output/build/host-dtc-1.4.7' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[2]: Entering directory '/home/naourr/work/instance-3/output/build/host-dtc-1.4.7' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. CHK version_gen.h CHK version_gen.h make[2]: Leaving directory '/home/naourr/work/instance-3/output/build/host-dtc-1.4.7' INSTALL-PYLIB INSTALL-BIN INSTALL-LIB pylibfdt/libfdt_wrap.c: In function 'SWIG_Python_NewShadowInstance': pylibfdt/libfdt_wrap.c:2483:65: error: declaration of 'swig_this' shadows a global declaration [-Werror=shadow] SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this) ~~~~~~~~~~^~~~~~~~~ pylibfdt/libfdt_wrap.c:2224:18: note: shadowed declaration is here static PyObject *swig_this = NULL; ^~~~~~~~~ pylibfdt/libfdt_wrap.c: In function 'SWIG_Python_SetSwigThis': pylibfdt/libfdt_wrap.c:2558:51: error: declaration of 'swig_this' shadows a global declaration [-Werror=shadow] SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) ~~~~~~~~~~^~~~~~~~~ pylibfdt/libfdt_wrap.c:2224:18: note: shadowed declaration is here static PyObject *swig_this = NULL; ^~~~~~~~~ pylibfdt/libfdt_wrap.c: In function 'SWIG_FromCharPtrAndSize': pylibfdt/libfdt_wrap.c:3371:29: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] SWIG_InternalNewPointerObj((char *)(carray), pchar_descriptor, 0) : SWIG_Py_Void(); ^ pylibfdt/libfdt_wrap.c:1166:86: note: in definition of macro 'SWIG_InternalNewPointerObj' #define SWIG_InternalNewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ pylibfdt/libfdt_wrap.c: In function '_wrap_new_fdt_header': pylibfdt/libfdt_wrap.c:3027:28: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] #define SWIG_as_voidptr(a) (void *)((const void *)(a)) ^ pylibfdt/libfdt_wrap.c:1163:89: note: in definition of macro 'SWIG_NewPointerObj' #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ pylibfdt/libfdt_wrap.c:4111:34: note: in expansion of macro 'SWIG_as_voidptr' resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fdt_header, SWIG_POINTER_NEW | 0 ); ^~~~~~~~~~~~~~~ pylibfdt/libfdt_wrap.c: In function '_wrap_new_fdt_reserve_entry': pylibfdt/libfdt_wrap.c:3027:28: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] #define SWIG_as_voidptr(a) (void *)((const void *)(a)) ^ pylibfdt/libfdt_wrap.c:1163:89: note: in definition of macro 'SWIG_NewPointerObj' #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ pylibfdt/libfdt_wrap.c:4268:34: note: in expansion of macro 'SWIG_as_voidptr' resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fdt_reserve_entry, SWIG_POINTER_NEW | 0 ); ^~~~~~~~~~~~~~~ pylibfdt/libfdt_wrap.c: In function '_wrap_new_fdt_node_header': pylibfdt/libfdt_wrap.c:3027:28: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] #define SWIG_as_voidptr(a) (void *)((const void *)(a)) ^ pylibfdt/libfdt_wrap.c:1163:89: note: in definition of macro 'SWIG_NewPointerObj' #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ pylibfdt/libfdt_wrap.c:4420:34: note: in expansion of macro 'SWIG_as_voidptr' resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fdt_node_header, SWIG_POINTER_NEW | 0 ); ^~~~~~~~~~~~~~~ pylibfdt/libfdt_wrap.c: In function '_wrap_new_fdt_property': pylibfdt/libfdt_wrap.c:3027:28: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] #define SWIG_as_voidptr(a) (void *)((const void *)(a)) ^ pylibfdt/libfdt_wrap.c:1163:89: note: in definition of macro 'SWIG_NewPointerObj' #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ pylibfdt/libfdt_wrap.c:4676:34: note: in expansion of macro 'SWIG_as_voidptr' resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fdt_property, SWIG_POINTER_NEW | 0 ); ^~~~~~~~~~~~~~~ pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_offset_ptr_w': pylibfdt/libfdt_wrap.c:3027:28: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] #define SWIG_as_voidptr(a) (void *)((const void *)(a)) ^ pylibfdt/libfdt_wrap.c:1163:89: note: in definition of macro 'SWIG_NewPointerObj' #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ pylibfdt/libfdt_wrap.c:5150:34: note: in expansion of macro 'SWIG_as_voidptr' resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); ^~~~~~~~~~~~~~~ pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_string': pylibfdt/libfdt_wrap.c:5869:12: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] result = (char *)fdt_get_string((void const *)arg1,arg2,arg3); ^ pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_string': pylibfdt/libfdt_wrap.c:5909:12: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] result = (char *)fdt_string((void const *)arg1,arg2); ^ pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_name': pylibfdt/libfdt_wrap.c:6142:12: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] result = (char *)fdt_get_name((void const *)arg1,arg2,arg3); ^ pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_property_by_offset': pylibfdt/libfdt_wrap.c:6254:12: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] result = (struct fdt_property *)fdt_get_property_by_offset((void const *)arg1,arg2,arg3); ^ pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_property': pylibfdt/libfdt_wrap.c:6318:12: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] result = (struct fdt_property *)fdt_get_property((void const *)arg1,arg2,(char const *)arg3,arg4); ^ pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_getprop': pylibfdt/libfdt_wrap.c:6450:12: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] result = (void *)fdt_getprop((void const *)arg1,arg2,(char const *)arg3,arg4); ^ pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_getprop_w': pylibfdt/libfdt_wrap.c:3027:28: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] #define SWIG_as_voidptr(a) (void *)((const void *)(a)) ^ pylibfdt/libfdt_wrap.c:1163:89: note: in definition of macro 'SWIG_NewPointerObj' #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(NULL, ptr, type, flags) ^~~ pylibfdt/libfdt_wrap.c:6512:34: note: in expansion of macro 'SWIG_as_voidptr' resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_void, 0 | 0 ); ^~~~~~~~~~~~~~~ pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_get_alias': pylibfdt/libfdt_wrap.c:6588:12: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] result = (char *)fdt_get_alias((void const *)arg1,(char const *)arg2); ^ pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_stringlist_get': pylibfdt/libfdt_wrap.c:7165:12: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] result = (char *)fdt_stringlist_get((void const *)arg1,arg2,(char const *)arg3,arg4,arg5); ^ pylibfdt/libfdt_wrap.c: In function '_wrap_fdt_strerror': pylibfdt/libfdt_wrap.c:8763:12: error: cast discards 'const' qualifier from pointer target type [-Werror=cast-qual] result = (char *)fdt_strerror(arg1); ^ pylibfdt/libfdt_wrap.c: At top level: pylibfdt/libfdt_wrap.c:3018:24: error: no previous prototype for 'init_libfdt' [-Werror=missing-prototypes] # define SWIG_init init_libfdt ^~~~~~~~~~~ pylibfdt/libfdt_wrap.c:9569:1: note: in expansion of macro 'SWIG_init' SWIG_init(void) { ^~~~~~~~~ pylibfdt/libfdt_wrap.c: In function 'SWIG_Python_FixMethods': pylibfdt/libfdt_wrap.c:9540:15: error: 'strncpy' output truncated before terminating nul copying 10 bytes from a string of the same length [-Werror=stringop-truncation] strncpy(buff, "swig_ptr: ", 10); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors error: command '/usr/bin/gcc' failed with exit status 1 make[2]: *** [pylibfdt/Makefile.pylibfdt:20: install_pylibfdt] Error 1 make[2]: Leaving directory '/home/naourr/work/instance-3/output/build/host-dtc-1.4.7' make[1]: *** [Makefile:222: maybe_install_pylibfdt] Error 2 make[1]: Leaving directory '/home/naourr/work/instance-3/output/build/host-dtc-1.4.7' make: *** [package/pkg-generic.mk:242: /home/naourr/work/instance-3/output/build/host-dtc-1.4.7/.stamp_host_installed] Error 2 make: Leaving directory '/home/naourr/work/instance-3/buildroot'