checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /usr/bin/gcc supports -fno-rtti -fno-exceptions... no checking for /usr/bin/gcc option to produce PIC... -fPIC -DPIC checking if /usr/bin/gcc PIC flag -fPIC -DPIC works... yes checking if /usr/bin/gcc static flag -static works... yes checking if /usr/bin/gcc supports -c -o file.o... yes checking if /usr/bin/gcc supports -c -o file.o... (cached) yes checking whether the /usr/bin/gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... /usr/bin/g++ -E checking for ld used by /usr/bin/g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for /usr/bin/g++ option to produce PIC... -fPIC -DPIC checking if /usr/bin/g++ PIC flag -fPIC -DPIC works... yes checking if /usr/bin/g++ static flag -static works... yes checking if /usr/bin/g++ supports -c -o file.o... yes checking if /usr/bin/g++ supports -c -o file.o... (cached) yes checking whether the /usr/bin/g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for windres... no checking for inline... inline checking operating system... Linux checking for library containing clock_gettime... none required checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking for sys/socket.h... yes checking for linux/netlink.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/timerfd.h usability... yes checking sys/timerfd.h presence... yes checking for sys/timerfd.h... yes checking whether TFD_NONBLOCK is declared... yes checking whether TFD_CLOEXEC is declared... yes checking whether to use timerfd for timing... yes checking for pipe2... yes checking for struct timespec... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sigaction... yes checking whether CC supports -std=gnu99... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libusb-1.0.pc config.status: creating Makefile config.status: creating libusb/Makefile config.status: creating examples/Makefile config.status: creating tests/Makefile config.status: creating doc/Makefile config.status: creating doc/doxygen.cfg config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop, --disable-nls >>> host-libusb 1.0.23 Building PATH="/home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PKG_CONFIG="/home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/pkgconfig:/home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/pkgconfig" /usr/bin/make -j5 -C /home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23/ make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23' /usr/bin/make all-recursive make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23' Making all in libusb make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23/libusb' CC libusb_1_0_la-descriptor.lo CC libusb_1_0_la-hotplug.lo CC libusb_1_0_la-io.lo CC libusb_1_0_la-core.lo CC libusb_1_0_la-strerror.lo In file included from core.c:44:0: core.c: In function 'libusb_get_device_list': core.c:815:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] usbi_dbg(""); ^ libusbi.h:238:71: note: in definition of macro '_usbi_log' #define _usbi_log(ctx, level, ...) usbi_log(ctx, level, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~ core.c:815:2: note: in expansion of macro 'usbi_dbg' usbi_dbg(""); ^~~~~~~~ CC libusb_1_0_la-sync.lo core.c: In function 'libusb_close': core.c:1495:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] usbi_dbg(""); ^ libusbi.h:238:71: note: in definition of macro '_usbi_log' #define _usbi_log(ctx, level, ...) usbi_log(ctx, level, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~ core.c:1495:2: note: in expansion of macro 'usbi_dbg' usbi_dbg(""); ^~~~~~~~ core.c: In function 'libusb_get_configuration': core.c:1578:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] usbi_dbg(""); ^ libusbi.h:238:71: note: in definition of macro '_usbi_log' #define _usbi_log(ctx, level, ...) usbi_log(ctx, level, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~ core.c:1578:2: note: in expansion of macro 'usbi_dbg' usbi_dbg(""); ^~~~~~~~ core.c: In function 'libusb_reset_device': core.c:1846:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] usbi_dbg(""); ^ libusbi.h:238:71: note: in definition of macro '_usbi_log' #define _usbi_log(ctx, level, ...) usbi_log(ctx, level, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~ core.c:1846:2: note: in expansion of macro 'usbi_dbg' usbi_dbg(""); ^~~~~~~~ core.c: In function 'libusb_exit': core.c:2370:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] usbi_dbg(""); ^ libusbi.h:238:71: note: in definition of macro '_usbi_log' #define _usbi_log(ctx, level, ...) usbi_log(ctx, level, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~ core.c:2370:2: note: in expansion of macro 'usbi_dbg' usbi_dbg(""); ^~~~~~~~ In file included from descriptor.c:29:0: descriptor.c: In function 'libusb_get_device_descriptor': descriptor.c:546:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] usbi_dbg(""); ^ libusbi.h:238:71: note: in definition of macro '_usbi_log' #define _usbi_log(ctx, level, ...) usbi_log(ctx, level, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~ descriptor.c:546:2: note: in expansion of macro 'usbi_dbg' usbi_dbg(""); ^~~~~~~~ In file included from io.c:40:0: io.c: In function 'disarm_timerfd': io.c:1333:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] usbi_dbg(""); ^ libusbi.h:238:71: note: in definition of macro '_usbi_log' #define _usbi_log(ctx, level, ...) usbi_log(ctx, level, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~ io.c:1333:2: note: in expansion of macro 'usbi_dbg' usbi_dbg(""); ^~~~~~~~ io.c: In function 'libusb_interrupt_event_handler': io.c:1915:11: warning: zero-length gnu_printf format string [-Wformat-zero-length] usbi_dbg(""); ^ libusbi.h:238:71: note: in definition of macro '_usbi_log' #define _usbi_log(ctx, level, ...) usbi_log(ctx, level, __FUNCTION__, __VA_ARGS__) ^~~~~~~~~~~ io.c:1915:2: note: in expansion of macro 'usbi_dbg' usbi_dbg(""); ^~~~~~~~ CC os/libusb_1_0_la-poll_posix.lo CC os/libusb_1_0_la-threads_posix.lo CC os/libusb_1_0_la-linux_usbfs.lo CC os/libusb_1_0_la-linux_netlink.lo CCLD libusb-1.0.la make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23/libusb' Making all in doc make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23/doc' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23' make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23' make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23' make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23' >>> host-libusb 1.0.23 Installing to host directory PATH="/home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PKG_CONFIG="/home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/pkgconfig:/home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/pkgconfig" /usr/bin/make -j5 install -C /home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23/ make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23' Making install in libusb make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23/libusb' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23/libusb' /bin/mkdir -p '/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib' /bin/mkdir -p '/home/giuliobenetti/autobuild/run/instance-1/output-1/host/include/libusb-1.0' /bin/bash ../libtool --mode=install /usr/bin/install -c libusb-1.0.la '/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib' /usr/bin/install -c -m 644 libusb.h '/home/giuliobenetti/autobuild/run/instance-1/output-1/host/include/libusb-1.0' libtool: install: /usr/bin/install -c .libs/libusb-1.0.so.0.2.0 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/libusb-1.0.so.0.2.0 libtool: install: (cd /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib && { ln -s -f libusb-1.0.so.0.2.0 libusb-1.0.so.0 || { rm -f libusb-1.0.so.0 && ln -s libusb-1.0.so.0.2.0 libusb-1.0.so.0; }; }) libtool: install: (cd /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib && { ln -s -f libusb-1.0.so.0.2.0 libusb-1.0.so || { rm -f libusb-1.0.so && ln -s libusb-1.0.so.0.2.0 libusb-1.0.so; }; }) libtool: install: /usr/bin/install -c .libs/libusb-1.0.lai /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/libusb-1.0.la libtool: finish: PATH="/home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin" ldconfig -n /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib ---------------------------------------------------------------------- Libraries have been installed in: /home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23/libusb' make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23/libusb' Making install in doc make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23/doc' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23/doc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23/doc' make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23/doc' make[2]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23' make[3]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/pkgconfig' /usr/bin/install -c -m 644 libusb-1.0.pc '/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/pkgconfig' make[3]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23' make[2]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23' make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-libusb-1.0.23' >>> host-sunxi-tools 1.4.1 Downloading --2020-02-02 10:04:55-- https://github.com/linux-sunxi/sunxi-tools/archive/v1.4.1/sunxi-tools-1.4.1.tar.gz Resolving github.com (github.com)... 140.82.118.3 Connecting to github.com (github.com)|140.82.118.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/linux-sunxi/sunxi-tools/tar.gz/v1.4.1 [following] --2020-02-02 10:04:55-- https://codeload.github.com/linux-sunxi/sunxi-tools/tar.gz/v1.4.1 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/.sunxi-tools-1.4.1.tar.gz.MiSZ79/output' 0K .......... .......... .......... .......... .......... 226K 50K .......... .......... ....... 4.32M=0.2s 2020-02-02 10:04:56 (339 KB/s) - '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/.sunxi-tools-1.4.1.tar.gz.MiSZ79/output' saved [78878] sunxi-tools-1.4.1.tar.gz: OK (sha256: da5d762608517b4b2e9bd392bd9a63afae3973d9c8264cbcfb757ddac8120d1b) >>> host-sunxi-tools 1.4.1 Extracting gzip -d -c /home/giuliobenetti/autobuild/run/instance-1/dl/sunxi-tools/sunxi-tools-1.4.1.tar.gz | tar --strip-components=1 -C /home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-sunxi-tools-1.4.1 -xf - >>> host-sunxi-tools 1.4.1 Patching Applying 0001-meminfo-Access-to-io-memory-via-pointers.patch using patch: patching file meminfo.c >>> host-sunxi-tools 1.4.1 Configuring >>> host-sunxi-tools 1.4.1 Building PATH="/home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PKG_CONFIG="/home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/pkgconfig:/home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/pkgconfig" /usr/bin/make -j5 CROSS_COMPILE="" CC="/usr/bin/gcc" PREFIX=/home/giuliobenetti/autobuild/run/instance-1/output-1/host EXTRA_CFLAGS="-O2 -I/home/giuliobenetti/autobuild/run/instance-1/output-1/host/include" LDFLAGS="-L/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib -Wl,-rpath,/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib" -C /home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-sunxi-tools-1.4.1 tools misc make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-sunxi-tools-1.4.1' fatal: not a git repository (or any of the parent directories): .git Unable to determine current version (using "v1.4.1" as fallback) /usr/bin/gcc -g -O0 -Wall -Wextra -O2 -I/home/giuliobenetti/autobuild/run/instance-1/output-1/host/include -std=c99 -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -L/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib -Wl,-rpath,/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib -o sunxi-fexc fexc.c script.c script_uboot.c script_bin.c script_fex.c /usr/bin/gcc -g -O0 -Wall -Wextra -O2 -I/home/giuliobenetti/autobuild/run/instance-1/output-1/host/include -std=c99 -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -L/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib -Wl,-rpath,/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib -o sunxi-bootinfo bootinfo.c /usr/bin/gcc -g -O0 -Wall -Wextra -O2 -I/home/giuliobenetti/autobuild/run/instance-1/output-1/host/include -std=c99 -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ `pkg-config --cflags libusb-1.0` -L/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib -Wl,-rpath,/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib -o sunxi-fel fel.c progress.c `pkg-config --libs libusb-1.0` /usr/bin/gcc -g -O0 -Wall -Wextra -O2 -I/home/giuliobenetti/autobuild/run/instance-1/output-1/host/include -std=c99 -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -c -o nand-part-main.o nand-part-main.c /usr/bin/gcc -g -O0 -Wall -Wextra -O2 -I/home/giuliobenetti/autobuild/run/instance-1/output-1/host/include -std=c99 -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -L/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib -Wl,-rpath,/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib -o phoenix_info phoenix_info.c phoenix_info.c: In function 'main': phoenix_info.c:147:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&ptable, 1, 0x400, in); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fexc.c: In function 'main': fexc.c:312:15: warning: this statement may fall through [-Wimplicit-fallthrough=] filename[1] = argv[optind+1]; /* out */ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ fexc.c:313:2: note: here case 1: ^~~~ /usr/bin/gcc -g -O0 -Wall -Wextra -O2 -I/home/giuliobenetti/autobuild/run/instance-1/output-1/host/include -std=c99 -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -c -o nand-part-a10.o nand-part.c -D A10 /usr/bin/gcc -g -O0 -Wall -Wextra -O2 -I/home/giuliobenetti/autobuild/run/instance-1/output-1/host/include -std=c99 -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -L/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib -Wl,-rpath,/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib -o sunxi-nand-image-builder nand-image-builder.c nand-part.c: In function 'writembrs': nand-part.c:240:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(0, &yn, 1); ^~~~~~~~~~~~~~~ nand-part.c:251:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,mbr,MBR_SIZE); ^~~~~~~~~~~~~~~~~~~~~~ nand-image-builder.c: In function 'write_page': nand-image-builder.c:801:4: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer + offs, 1, cnt, rnd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nand-image-builder.c:836:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer + cnt, 1, pad, rnd); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -g -O0 -Wall -Wextra -O2 -I/home/giuliobenetti/autobuild/run/instance-1/output-1/host/include -std=c99 -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -c -o nand-part-a20.o nand-part.c -D A20 nand-part.c: In function 'writembrs': nand-part.c:240:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(0, &yn, 1); ^~~~~~~~~~~~~~~ nand-part.c:251:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd,mbr,MBR_SIZE); ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -L/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib -Wl,-rpath,/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib -o sunxi-nand-part nand-part-main.o nand-part-a10.o nand-part-a20.o ln -nsf sunxi-fexc bin2fex ln -nsf sunxi-fexc fex2bin make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-sunxi-tools-1.4.1' >>> host-sunxi-tools 1.4.1 Installing to host directory PATH="/home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin:/home/giuliobenetti/autobuild/run/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PKG_CONFIG="/home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib/pkgconfig:/home/giuliobenetti/autobuild/run/instance-1/output-1/host/share/pkgconfig" /usr/bin/make -j5 CROSS_COMPILE="" CC="/usr/bin/gcc" PREFIX=/home/giuliobenetti/autobuild/run/instance-1/output-1/host EXTRA_CFLAGS="-O2 -I/home/giuliobenetti/autobuild/run/instance-1/output-1/host/include" LDFLAGS="-L/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib -Wl,-rpath,/home/giuliobenetti/autobuild/run/instance-1/output-1/host/lib" -C /home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-sunxi-tools-1.4.1 install-tools install-misc make[1]: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-sunxi-tools-1.4.1' install -d /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin install -d /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin + install -m0755 sunxi-fexc /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/sunxi-fexc + install -m0755 phoenix_info /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/phoenix_info + install -m0755 sunxi-bootinfo /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/sunxi-bootinfo + install -m0755 sunxi-nand-image-builder /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/sunxi-nand-image-builder + install -m0755 sunxi-fel /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/sunxi-fel + install -m0755 sunxi-nand-part /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/sunxi-nand-part + ln -nfs sunxi-fexc /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/bin2fex + ln -nfs sunxi-fexc /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/fex2bin make[1]: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/host-sunxi-tools-1.4.1' >>> tini 0.18.0 Downloading --2020-02-02 10:04:59-- https://github.com/krallin/tini/archive/v0.18.0/tini-0.18.0.tar.gz Resolving github.com (github.com)... 140.82.118.3 Connecting to github.com (github.com)|140.82.118.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/krallin/tini/tar.gz/v0.18.0 [following] --2020-02-02 10:05:00-- https://codeload.github.com/krallin/tini/tar.gz/v0.18.0 Resolving codeload.github.com (codeload.github.com)... 140.82.114.10 Connecting to codeload.github.com (codeload.github.com)|140.82.114.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/.tini-0.18.0.tar.gz.fw14za/output' 0K .......... .......... .......... . 282K=0.1s 2020-02-02 10:05:00 (282 KB/s) - '/home/giuliobenetti/autobuild/run/instance-1/output-1/build/.tini-0.18.0.tar.gz.fw14za/output' saved [32152] tini-0.18.0.tar.gz: OK (sha256: 1097675352d6317b547e73f9dc7c6839fd0bb0d96dafc2e5c95506bb324049a2) >>> tini 0.18.0 Extracting gzip -d -c /home/giuliobenetti/autobuild/run/instance-1/dl/tini/tini-0.18.0.tar.gz | tar --strip-components=1 -C /home/giuliobenetti/autobuild/run/instance-1/output-1/build/tini-0.18.0 -xf - >>> tini 0.18.0 Patching >>> tini 0.18.0 Configuring printf "#pragma once\n" > /home/giuliobenetti/autobuild/run/instance-1/output-1/build/tini-0.18.0/src/tiniConfig.h >>> tini 0.18.0 Building mkdir -p /home/giuliobenetti/autobuild/run/instance-1/output-1/build/tini-0.18.0/bin /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/arm-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -static -DTINI_VERSION=\"0.18.0\" -DTINI_GIT=\"\" -o /home/giuliobenetti/autobuild/run/instance-1/output-1/build/tini-0.18.0/bin/tini /home/giuliobenetti/autobuild/run/instance-1/output-1/build/tini-0.18.0/src/tini.c >>> tini 0.18.0 Installing to target /usr/bin/install -D -m 0755 /home/giuliobenetti/autobuild/run/instance-1/output-1/build/tini-0.18.0/bin/tini /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/bin/tini >>> Finalizing host directory >>> Finalizing target directory # Check files that are touched by more than one package mkdir -p /home/giuliobenetti/autobuild/run/instance-1/output-1/target/etc echo "buildroot" > /home/giuliobenetti/autobuild/run/instance-1/output-1/target/etc/hostname /bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /home/giuliobenetti/autobuild/run/instance-1/output-1/target/etc/hosts mkdir -p /home/giuliobenetti/autobuild/run/instance-1/output-1/target/etc echo "Welcome to Buildroot" > /home/giuliobenetti/autobuild/run/instance-1/output-1/target/etc/issue /bin/sed -i -e s,^root:[^:]*:,root::, /home/giuliobenetti/autobuild/run/instance-1/output-1/target/etc/shadow rm -f /home/giuliobenetti/autobuild/run/instance-1/output-1/target/bin/sh rm -f /home/giuliobenetti/autobuild/run/instance-1/output-1/build/locales.nopurge for i in C en_US locale-archive; do echo $i >> /home/giuliobenetti/autobuild/run/instance-1/output-1/build/locales.nopurge; done for dir in /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share/locale; do for langdir in $dir/*; do if [ -e "${langdir}" ]; then grep -qx "${langdir##*/}" /home/giuliobenetti/autobuild/run/instance-1/output-1/build/locales.nopurge || rm -rf $langdir; fi done; done if [ -d /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share/X11/locale ]; then for lang in C en_US; do if [ -f /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share/X11/locale/$lang/XLC_LOCALE ]; then echo "$lang/XLC_LOCALE: $lang"; fi done > /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share/X11/locale/locale.dir; fi rm -rf /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/include /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share/aclocal \ /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/lib/pkgconfig /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share/pkgconfig \ /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/lib/cmake /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share/cmake find /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /home/giuliobenetti/autobuild/run/instance-1/output-1/target/lib/ /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/lib/ /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' \) -print0 | xargs -0 rm -f find: '/home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/libexec/': No such file or directory rm -rf /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share/gdb rm -rf /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share/bash-completion rm -rf /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share/zsh rm -rf /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/man /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share/man rm -rf /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/info /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share/info rm -rf /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/doc /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share/doc rm -rf /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share/gtk-doc rmdir /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/share 2>/dev/null || true find /home/giuliobenetti/autobuild/run/instance-1/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note 2>/dev/null || true find /home/giuliobenetti/autobuild/run/instance-1/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /home/giuliobenetti/autobuild/run/instance-1/output-1/host/bin/arm-linux-strip --remove-section=.comment --remove-section=.note --strip-debug 2>/dev/null || true test -f /home/giuliobenetti/autobuild/run/instance-1/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /home/giuliobenetti/autobuild/run/instance-1/output-1/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /home/giuliobenetti/autobuild/run/instance-1/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2020.02-git-01082-g307fd6f517"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2020.02-git"; \ echo "PRETTY_NAME=\"Buildroot 2020.02-git\"" \ ) > /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /home/giuliobenetti/autobuild/run/instance-1/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/home/giuliobenetti/autobuild/run/instance-1/output-1/per-package /home/giuliobenetti/autobuild/run/instance-1/buildroot/support/scripts/fix-rpath target touch /home/giuliobenetti/autobuild/run/instance-1/output-1/target/usr make: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/buildroot' make: Entering directory '/home/giuliobenetti/autobuild/run/instance-1/buildroot' >>> Buildroot 2020.02-git-01082-g307fd6f517 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-external Collecting legal info >>> host-skeleton Collecting legal info >>> skeleton Collecting legal info >>> skeleton-init-none Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain-external-custom Collecting legal info >>> toolchain Collecting legal info >>> dante 1.4.2 Collecting legal info LICENSE: OK (sha256: 954ab6dbcf994711e28e603d8657d6eceef333cd6f9ca6705f0e9d118ab7d69a) >>> host-autoconf 2.69 Collecting legal info COPYINGv3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.EXCEPTION: OK (sha256: 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2) >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) libltdl/COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-m4 1.4.18 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-automake 1.15.1 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> expat 2.2.9 Collecting legal info COPYING: OK (sha256: 46336ab2fec900803e2f1a4253e325ac01d998efb09bc6906651f7259e636f76) >>> host-pkgconf 1.6.1 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> jpeg Collecting legal info >>> libjpeg 9d Collecting legal info README: OK (sha256: 3dc4e4a145c907a96bd6a0e40be3f722fecf061951909143cdff5365cba9c78c) >>> libcgicc 3.2.19 Collecting legal info COPYING.LIB: OK (sha256: a2e480f5e8afd7c587a3c0ac2ed3b73ed4b10fa3a553dea26e7b661c7cedda72) COPYING.DOC: OK (sha256: 0fd15977dc962abf3eced509b1cf5356f9784939742d67a635671141023a11da) >>> libdaemon 0.14 Collecting legal info LICENSE: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861) >>> libmnl 1.0.4 Collecting legal info COPYING: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> libnetfilter_cttimeout 1.0.0 Collecting legal info COPYING: OK (sha256: 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad) >>> libpcap 1.9.1 Collecting legal info LICENSE: OK (sha256: 8a54594d257e14a5260ac770f1633516cb51e3fc28c40136ce2697014eda7afd) >>> host-bison 3.4.2 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> host-gettext Collecting legal info >>> host-gettext-tiny adaa9c64921e80f2b8dd3610ffb508618b9204f3 Collecting legal info LICENSE: OK (sha256: b57aa4fdc1c614c28d41c1e2d5c4090935964c5f86291ba7d1c99ffd1d698b34) extra/COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> libpng 1.6.37 Collecting legal info LICENSE: OK (sha256: bf5e22b9dce8464064ae17a48ea1133c3369ac9e1d80ef9e320e5219aa14ea9b) >>> zlib Collecting legal info >>> libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> libtomcrypt 1.18.2 Collecting legal info LICENSE: OK (sha256: 8f196cb13afd271f5e267fd29543fc454596382ad580e7592709492843996ac8) >>> libtommath 1.1.0 Collecting legal info LICENSE: OK (sha256: 2fa64b163659f41965c9815882a8296d3d03ff546b76153e11445f9bdecf955a) >>> linuxptp 2.0 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> netsurf 3.9 Collecting legal info netsurf/COPYING: OK (sha256: 55c4a7ae3953d720a462e69d1f128a20004933d12538be5314a33f8821675378) >>> host-gperf 3.1 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> host-libpng 1.6.37 Collecting legal info LICENSE: OK (sha256: bf5e22b9dce8464064ae17a48ea1133c3369ac9e1d80ef9e320e5219aa14ea9b) >>> host-zlib Collecting legal info >>> host-libzlib 1.2.11 Collecting legal info README: OK (sha256: 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15) >>> host-vim 8.1.1929 Collecting legal info ERROR: No hash found for README.txt >>> host-ncurses 6.1 Collecting legal info COPYING: OK (sha256: 86106f0da1cf5ccfa0f0651665dd1b4515e8edad1c7972780155770548b317d9) >>> sdl 1.2.15 Collecting legal info COPYING: OK (sha256: bb117c0fbd7f57f64170b690285d7df07c2371b578e3b3cd3aa2e1155ef461a0) >>> newt 0.52.21 Collecting legal info COPYING: OK (sha256: b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c) >>> popt 1.16 Collecting legal info COPYING: OK (sha256: 518d4f2a05064cb9a8ec0ea02e86408af4feed6916f78ef42171465db8b383c5) >>> slang 2.3.2 Collecting legal info COPYING: OK (sha256: ff05a90962e7773f8bdc47b2a9585130526039102759b524c1dffbd57cfe469b) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> ptpd2 2.3.1 Collecting legal info ERROR: No hash found for COPYRIGHT >>> putty 0.73 Collecting legal info LICENCE: OK (sha256: b517b4a9504ba0f651d5e590245197b88d9a81d073905cc798cc9464c5ca7ba8) >>> host-python 2.7.17 Collecting legal info LICENSE: OK (sha256: a77d71d6be6f9032e6b6e5d2cf6da68f9eeab9036edfbc043633c8979cd5e82c) >>> host-expat 2.2.9 Collecting legal info COPYING: OK (sha256: 46336ab2fec900803e2f1a4253e325ac01d998efb09bc6906651f7259e636f76) >>> host-sunxi-tools 1.4.1 Collecting legal info ERROR: No hash found for LICENSE.md >>> host-libusb 1.0.23 Collecting legal info COPYING: OK (sha256: 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a) >>> tini 0.18.0 Collecting legal info LICENSE: OK (sha256: e5f46bca81266bdd511cf08018d66866870531794569c04f9b45f50dd23c28b0) WARNING: the Buildroot source code has not been saved WARNING: toolchain-external-custom: cannot save license (TOOLCHAIN_EXTERNAL_CUSTOM_LICENSE_FILES not defined) Legal info produced in /home/giuliobenetti/autobuild/run/instance-1/output-1/legal-info make: Leaving directory '/home/giuliobenetti/autobuild/run/instance-1/buildroot'