==> Synchronizing chroot copy [/home/leming/armv8/root] -> [leming]...done
==> Making package: sunxi-tools 1.4.2-4 (Wed Jul  3 16:23:20 2024)
==> Retrieving sources...
  -> Found sunxi-tools-1.4.2.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    sunxi-tools-1.4.2.tar.gz ... Passed
==> Making package: sunxi-tools 1.4.2-4 (Wed Jul  3 16:23:27 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found sunxi-tools-1.4.2.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting sunxi-tools-1.4.2.tar.gz with bsdtar
==> Starting build()...
./autoversion.sh: line 9: git: command not found
Unable to determine current version (using "v1.4.2" as fallback)

cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -o sunxi-fexc fexc.c script.c script_uboot.c script_bin.c script_fex.c 
cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -o sunxi-bootinfo bootinfo.c 
cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection `pkg-config --cflags libusb-1.0` -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -o sunxi-fel fel.c progress.c soc_info.c  `pkg-config --libs libusb-1.0`
cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -c -o nand-part-main.o nand-part-main.c
cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -o sunxi-pio pio.c 
fexc.c: In function ‘main’:
fexc.c:312:29: warning: this statement may fall through []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough-Wimplicit-fallthrough=]8;;]
  312 |                 filename[1] = argv[optind+1]; /* out */
      |                 ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
fexc.c:313:9: note: here
  313 |         case 1:
      |         ^~~~
cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -c -o nand-part-a10.o nand-part.c -D A10
pio.c: In function ‘main’:
pio.c:355:25: warning: this statement may fall through []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wimplicit-fallthrough-Wimplicit-fallthrough=]8;;]
  355 |                         usage(0);
      |                         ^~~~~~~~
pio.c:356:17: note: here
  356 |                 case 'm':
      |                 ^~~~
nand-part.c: In function '_get_mbr':
nand-part.c:93:4: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -c -o nand-part-a20.o nand-part.c -D A20
nand-part.c: In function '_get_mbr':
nand-part.c:93:4: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation]
cc -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -o sunxi-nand-part nand-part-main.o nand-part-a10.o nand-part-a20.o 
fel.c: In function ‘aw_read_fel_status’:
fel.c:234:9: warning: buf’ may be used uninitialized []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wmaybe-uninitialized-Wmaybe-uninitialized]8;;]
  234 |         aw_usb_read(usb, &buf, sizeof(buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fel.c:202:6: note: by argument 2 of type ‘const void *’ to ‘aw_usb_read’ declared here
  202 | void aw_usb_read(libusb_device_handle *usb, const void *data, size_t len)
      |      ^~~~~~~~~~~
fel.c:233:14: note: buf’ declared here
  233 |         char buf[8];
      |              ^~~
ln -nsf sunxi-fexc bin2fex
ln -nsf sunxi-fexc fex2bin
cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -o phoenix_info phoenix_info.c 
cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -march=armv8-a -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -o sunxi-nand-image-builder nand-image-builder.c 
==> Entering fakeroot environment...
==> Starting package()...
install -d /build/sunxi-tools/pkg/sunxi-tools/usr/bin
+ for t in sunxi-fexc sunxi-bootinfo sunxi-fel sunxi-nand-part sunxi-pio
+ install -m0755 sunxi-fexc /build/sunxi-tools/pkg/sunxi-tools/usr/bin/sunxi-fexc
+ for t in sunxi-fexc sunxi-bootinfo sunxi-fel sunxi-nand-part sunxi-pio
+ install -m0755 sunxi-bootinfo /build/sunxi-tools/pkg/sunxi-tools/usr/bin/sunxi-bootinfo
+ for t in sunxi-fexc sunxi-bootinfo sunxi-fel sunxi-nand-part sunxi-pio
+ install -m0755 sunxi-fel /build/sunxi-tools/pkg/sunxi-tools/usr/bin/sunxi-fel
+ for t in sunxi-fexc sunxi-bootinfo sunxi-fel sunxi-nand-part sunxi-pio
+ install -m0755 sunxi-nand-part /build/sunxi-tools/pkg/sunxi-tools/usr/bin/sunxi-nand-part
+ for t in sunxi-fexc sunxi-bootinfo sunxi-fel sunxi-nand-part sunxi-pio
+ install -m0755 sunxi-pio /build/sunxi-tools/pkg/sunxi-tools/usr/bin/sunxi-pio
+ for l in bin2fex fex2bin
+ ln -nfs sunxi-fexc /build/sunxi-tools/pkg/sunxi-tools/usr/bin/bin2fex
+ for l in bin2fex fex2bin
+ ln -nfs sunxi-fexc /build/sunxi-tools/pkg/sunxi-tools/usr/bin/fex2bin
install -d /build/sunxi-tools/pkg/sunxi-tools/usr/bin
+ for t in phoenix_info sunxi-nand-image-builder
+ install -m0755 phoenix_info /build/sunxi-tools/pkg/sunxi-tools/usr/bin/phoenix_info
+ for t in phoenix_info sunxi-nand-image-builder
+ install -m0755 sunxi-nand-image-builder /build/sunxi-tools/pkg/sunxi-tools/usr/bin/sunxi-nand-image-builder
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "sunxi-tools"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: sunxi-tools 1.4.2-4 (Wed Jul  3 16:23:34 2024)
==> Cleaning up...