Running phase: unpackPhase unpacking source archive /nix/store/0cnbrvg2cxg9g951yklf4rgrb6lwxrsw-xburst-tools-c71ce8e source root is xburst-tools-c71ce8e Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configure.ac:37: installing 'm4/compile' configure.ac:7: installing 'm4/install-sh' configure.ac:7: installing 'm4/missing' jzboot/src/Makefile.am: installing 'm4/depcomp' patching script interpreter paths in ./configure ./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/sh" configure flags: --disable-dependency-tracking --prefix=/nix/store/wsgs6d06cggkkbawfwyaw8y6a1w1f2d2-xburst-tools-2011-12-26 --enable-firmware CROSS_COMPILE=mipsel-unknown-linux-uclibc- checking for a BSD-compatible install... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /nix/store/fr9yr63a1267cr0r86w18c77mh3xavcc-coreutils-9.6/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for mipsel-unknown-linux-uclibc-gcc... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for main in -lc... yes checking for main in -lm... yes checking for main in -lgcc... yes checking for main in -lconfuse... yes checking for main in -lusb... yes checking pkg-config is at least version 0.9.0... yes checking for libusb-1.0 > 1.0... yes checking for main in -lreadline... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /nix/store/yz6nq9v29l3g990w8zlqsnzlzbicd3b3-gnugrep-3.11/bin/grep checking for egrep... /nix/store/yz6nq9v29l3g990w8zlqsnzlzbicd3b3-gnugrep-3.11/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for inline... inline checking for size_t... yes checking for uint8_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for memset... yes checking for strerror... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating usbboot/Makefile config.status: creating usbboot/src/Makefile config.status: creating xbboot/Makefile config.status: creating xbboot/host-app/Makefile config.status: creating jzboot/Makefile config.status: creating jzboot/src/Makefile config.status: creating xburst-tools-config.h config.status: executing depfiles commands Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash make all-recursive make[1]: Entering directory '/build/xburst-tools-c71ce8e' Making all in usbboot make[2]: Entering directory '/build/xburst-tools-c71ce8e/usbboot' Making all in src make[3]: Entering directory '/build/xburst-tools-c71ce8e/usbboot/src' gcc -DHAVE_CONFIG_H -I. -I../.. -pedantic -Wall -W -DCFGDIR=\"/nix/store/wsgs6d06cggkkbawfwyaw8y6a1w1f2d2-xburst-tools-2011-12-26/etc/xburst-tools/\" -DDATADIR=\"/nix/store/wsgs6d06cggkkbawfwyaw8y6a1w1f2d2-xburst-tools-2011-12-26/share/xburst-tools/\" -g -O2 -I/nix/store/mlxiz12dbi670w81l2d3bpj0r2csnglh-libusb-1.0.27-dev/include/libusb-1.0 -c -o cmd.o cmd.c cmd.c: In function 'load_file': cmd.c:70:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-sign-Wpointer-sign8;;] 70 | ingenic_dev->file_buff = code_buf; | ^ cmd.c:82:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sign-compare-Wsign-compare8;;] 82 | if (status < ingenic_dev->file_len) { | ^ cmd.c: In function 'init_cfg': cmd.c:141:31: error: assignment to 'char *' from incompatible pointer type 'struct hand *' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 141 | ingenic_dev.file_buff = &hand; | ^ cmd.c:147:13: error: implicit declaration of function 'usb_ingenic_configration' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 147 | if (usb_ingenic_configration(&ingenic_dev, DS_hand) != 1) | ^~~~~~~~~~~~~~~~~~~~~~~~ cmd.c: In function 'nand_program_check': cmd.c:257:31: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-sign-Wpointer-sign8;;] 257 | ingenic_dev.file_buff = nand_in->buf; | ^ cmd.c: In function 'nand_program_file': cmd.c:468:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sign-compare-Wsign-compare8;;] 468 | if (status < code_len) { | ^ cmd.c:494:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sign-compare-Wsign-compare8;;] 494 | if (status < code_len) { | ^ cmd.c:405:38: warning: variable 'page_num' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 405 | unsigned int start_page = 0, page_num, code_len, offset, transfer_size; | ^~~~~~~~ cmd.c: In function 'nand_program_file_planes': cmd.c:514:46: warning: unused parameter 'nand_in' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-parameter-Wunused-parameter8;;] 514 | int nand_program_file_planes(struct nand_in *nand_in, char *fname) | ~~~~~~~~~~~~~~~~^~~~~~~ cmd.c:514:61: warning: unused parameter 'fname' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-parameter-Wunused-parameter8;;] 514 | int nand_program_file_planes(struct nand_in *nand_in, char *fname) | ~~~~~~^~~~~ cmd.c: In function 'nand_prog': cmd.c:573:1: warning: label 'err' defined but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-label-Wunused-label8;;] 573 | err: | ^~~ cmd.c: In function 'nand_read': cmd.c:625:22: warning: unused variable 'i' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-variable-Wunused-variable8;;] 625 | unsigned int i, j, cpu; | ^ cmd.c: In function 'debug_memory': cmd.c:745:50: error: passing argument 2 of 'usb_read_data_from_ingenic' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 745 | usb_read_data_from_ingenic(&ingenic_dev, buffer, 8); | ^~~~~~ | | | unsigned int * In file included from cmd.c:31: ingenic_usb.h:67:79: note: expected 'unsigned char *' but argument is of type 'unsigned int *' 67 | int usb_read_data_from_ingenic(struct ingenic_dev *ingenic_dev,unsigned char *buff, unsigned int len); | ~~~~~~~~~~~~~~~^~~~ cmd.c:707:22: warning: unused parameter 'obj' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-parameter-Wunused-parameter8;;] 707 | int debug_memory(int obj, unsigned int start, unsigned int size) | ~~~~^~~ cmd.c: In function 'debug_gpio': cmd.c:755:20: warning: unused parameter 'obj' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-parameter-Wunused-parameter8;;] 755 | int debug_gpio(int obj, unsigned char ops, unsigned char pin) | ~~~~^~~ cmd.c: In function 'debug_go': cmd.c:815:13: error: implicit declaration of function 'usb_ingenic_start'; did you mean 'usb_ingenic_reset'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 815 | if (usb_ingenic_start(&ingenic_dev, VR_PROGRAM_START2, addr) < 1) | ^~~~~~~~~~~~~~~~~ | usb_ingenic_reset cmd.c: In function 'sdram_load': cmd.c:834:31: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pointer-sign-Wpointer-sign8;;] 834 | ingenic_dev.file_buff = sdram_in->buf; | ^ cmd.c:839:9: error: implicit declaration of function 'usb_ingenic_sdram_ops'; did you mean 'usb_ingenic_nand_ops'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 839 | usb_ingenic_sdram_ops(&ingenic_dev, sdram_in); | ^~~~~~~~~~~~~~~~~~~~~ | usb_ingenic_nand_ops cmd.c: In function 'sdram_load_file': cmd.c:897:28: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-sign-compare-Wsign-compare8;;] 897 | if (status < j) { | ^ cmd.c:851:31: warning: variable 'offset' set but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-but-set-variable-Wunused-but-set-variable8;;] 851 | unsigned int flen,m,j,offset,k; | ^~~~~~ make[3]: *** [Makefile:409: cmd.o] Error 1 make[3]: Leaving directory '/build/xburst-tools-c71ce8e/usbboot/src' make[2]: *** [Makefile:322: all-recursive] Error 1 make[2]: Leaving directory '/build/xburst-tools-c71ce8e/usbboot' make[1]: *** [Makefile:367: all-recursive] Error 1 make[1]: Leaving directory '/build/xburst-tools-c71ce8e' make: *** [Makefile:308: all] Error 2