Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sunxi-tools.spec'], chrootPath='/var/lib/mock/f31-build-53992-27922/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sunxi-tools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549152000 Wrote: /builddir/build/SRPMS/sunxi-tools-1.4.2-8.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sunxi-tools.spec'], chrootPath='/var/lib/mock/f31-build-53992-27922/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sunxi-tools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549152000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1ahwte + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sunxi-tools-1.4.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.4.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sunxi-tools-1.4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Bz3mMe + umask 022 + cd /builddir/build/BUILD + cd sunxi-tools-1.4.2 + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Iinclude -D_POSIX_C_SOURCE=200112L -std=c99' BUILDSTDERR: ./autoversion.sh: line 9: git: command not found BUILDSTDERR: Unable to determine current version (using "v1.4.2" as fallback) BUILDSTDERR: fexc.c: In function 'main': BUILDSTDERR: fexc.c:312:15: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 312 | filename[1] = argv[optind+1]; /* out */ BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: fexc.c:313:2: note: here BUILDSTDERR: 313 | case 1: BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from nand-part.c:49: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from '_get_mbr' at nand-part.c:93:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pio.c: In function 'main': BUILDSTDERR: pio.c:355:4: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: 355 | usage(0); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: pio.c:356:3: note: here BUILDSTDERR: 356 | case 'm': BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from nand-part.c:49: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from '_get_mbr' at nand-part.c:93:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Iinclude -D_POSIX_C_SOURCE=200112L -std=c99 -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/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Iinclude -D_POSIX_C_SOURCE=200112L -std=c99 -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/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Iinclude -D_POSIX_C_SOURCE=200112L -std=c99 `pkg-config --cflags libusb-1.0` -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/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Iinclude -D_POSIX_C_SOURCE=200112L -std=c99 -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/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Iinclude -D_POSIX_C_SOURCE=200112L -std=c99 -c -o nand-part-a10.o nand-part.c -D A10 cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Iinclude -D_POSIX_C_SOURCE=200112L -std=c99 -o sunxi-pio pio.c cc -std=c99 -Wall -Wextra -Wno-unused-result -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE -D_DEFAULT_SOURCE -Iinclude/ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Iinclude -D_POSIX_C_SOURCE=200112L -std=c99 -c -o nand-part-a20.o nand-part.c -D A20 cc -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 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SKrHfg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64 + cd sunxi-tools-1.4.2 + install -d /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin + install sunxi-fel fel-gpio fex2bin sunxi-nand-part sunxi-fexc /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin + install sunxi-bootinfo /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin/sunxi-bootinfo + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.4.2-8.fc31 --unique-debug-suffix -1.4.2-8.fc31.riscv64 --unique-debug-src-base sunxi-tools-1.4.2-8.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sunxi-tools-1.4.2 BUILDSTDERR: 292 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin/fex2bin explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin/sunxi-bootinfo explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin/sunxi-fel explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin/sunxi-fexc extracting debug info from /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin/fex2bin extracting debug info from /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin/sunxi-fel extracting debug info from /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin/sunxi-bootinfo extracting debug info from /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin/sunxi-fexc explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin/sunxi-nand-part extracting debug info from /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin/sunxi-nand-part original debug info size: 496kB, size after compression: 468kB /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. mangling shebang in /usr/bin/fel-gpio from /bin/sh -e to #!/usr/bin/sh -e Processing files: sunxi-tools-1.4.2-8.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vGeIWc + umask 022 + cd /builddir/build/BUILD + cd sunxi-tools-1.4.2 + DOCDIR=/builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/share/doc/sunxi-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/share/doc/sunxi-tools + cp -pr README.md /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/share/doc/sunxi-tools + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.LIjN0f + umask 022 + cd /builddir/build/BUILD + cd sunxi-tools-1.4.2 + LICENSEDIR=/builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/share/licenses/sunxi-tools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/share/licenses/sunxi-tools + cp -pr LICENSE.md /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/share/licenses/sunxi-tools + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 BUILDSTDERR: warning: Duplicate build-ids /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin/fex2bin and /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/bin/sunxi-fexc Provides: sunxi-tools = 1.4.2-8.fc31 sunxi-tools(riscv-64) = 1.4.2-8.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libusb-1.0.so.0()(64bit) rtld(GNU_HASH) Processing files: sunxi-tools-debugsource-1.4.2-8.fc31.riscv64 Provides: sunxi-tools-debugsource = 1.4.2-8.fc31 sunxi-tools-debugsource(riscv-64) = 1.4.2-8.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sunxi-tools-debuginfo-1.4.2-8.fc31.riscv64 BUILDSTDERR: warning: Duplicate build-ids /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/lib/debug/usr/bin/fex2bin-1.4.2-8.fc31.riscv64.debug and /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64/usr/lib/debug/usr/bin/sunxi-fexc-1.4.2-8.fc31.riscv64.debug Provides: debuginfo(build-id) = 37d67481a49ac3653be254fab218bb3b1fe423ea debuginfo(build-id) = 6879984b178d0f44ee1b3c0b59e3463f9ace6584 debuginfo(build-id) = d24c1a448b2d948a433354752f6ae0db03f8cbda debuginfo(build-id) = fc4b5a8250428e70f4c68c59f6e5263d727f19d5 sunxi-tools-debuginfo = 1.4.2-8.fc31 sunxi-tools-debuginfo(riscv-64) = 1.4.2-8.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sunxi-tools-debugsource(riscv-64) = 1.4.2-8.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64 Wrote: /builddir/build/RPMS/sunxi-tools-1.4.2-8.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/sunxi-tools-debugsource-1.4.2-8.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/sunxi-tools-debuginfo-1.4.2-8.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.F71Ppc + umask 022 + cd /builddir/build/BUILD + cd sunxi-tools-1.4.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sunxi-tools-1.4.2-8.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0