Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/unzoo.spec'], chrootPath='/var/lib/mock/f30-build-34421-18845/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/unzoo.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 Wrote: /builddir/build/SRPMS/unzoo-4.4-23.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/unzoo.spec'], chrootPath='/var/lib/mock/f30-build-34421-18845/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/unzoo.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.epkViE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf unzoo-4.4 + /usr/bin/mkdir -p unzoo-4.4 + cd unzoo-4.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a /builddir/build/SOURCES/unzoo.c . + cat /builddir/build/SOURCES/unzoo.c + cut -c5- + sed -e '/SYNTAX/,/\*\//!d' + echo 'Patch #0 (unzoo-convert-strcpy_strcat-to-strncpy_strncat.patch):' Patch #0 (unzoo-convert-strcpy_strcat-to-strncpy_strncat.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .strncpy --fuzz=0 patching file unzoo.c Patch #1 (unzoo-directory-points-backward.patch): + echo 'Patch #1 (unzoo-directory-points-backward.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .revdir --fuzz=0 patching file unzoo.c Hunk #1 succeeded at 2405 (offset 7 lines). Hunk #2 succeeded at 2563 (offset 8 lines). Patch #2 (unzoo-warning-fixes.patch): + echo 'Patch #2 (unzoo-warning-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .warnings --fuzz=0 patching file unzoo.c Hunk #3 succeeded at 1474 (offset 4 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9sfC4X + umask 022 + cd /builddir/build/BUILD + cd unzoo-4.4 + gcc -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 -o unzoo -DSYS_IS_UNIX unzoo.c BUILDSTDERR: unzoo.c:954:39: warning: trigraph ??' ignored, use -trigraphs to enable [-Wtrigraphs] BUILDSTDERR: fndrInfo.ioFlFndrInfo.fdCreator = '????'; BUILDSTDERR: BUILDSTDERR: unzoo.c: In function 'MakeDirs': BUILDSTDERR: unzoo.c:1236:40: warning: argument to 'sizeof' in 'strncat' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] BUILDSTDERR: strncat( patl, dirl, sizeof( dirl ) ); BUILDSTDERR: ^ BUILDSTDERR: unzoo.c:1239:40: warning: argument to 'sizeof' in 'strncat' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] BUILDSTDERR: strncat( patl, naml, sizeof(naml) ); BUILDSTDERR: ^ BUILDSTDERR: unzoo.c: In function 'IsMatchName': BUILDSTDERR: unzoo.c:1281:40: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: else if ( *pat=='?' && ! IsSpec[*str] ) { pat++; str++; } BUILDSTDERR: ^ BUILDSTDERR: unzoo.c:1284:40: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: else if ( tmp != 0 && ! IsSpec[*tmp] ) { pat = pos; str = ++tmp; } BUILDSTDERR: ^ BUILDSTDERR: unzoo.c: In function 'EntrReadArch': BUILDSTDERR: unzoo.c:1603:48: warning: argument to 'sizeof' in 'strncat' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] BUILDSTDERR: strncat( Entry.patl, Entry.naml, sizeof( Entry.naml ) ); BUILDSTDERR: ^ BUILDSTDERR: unzoo.c: In function 'ExtrArch': BUILDSTDERR: unzoo.c:2604:46: warning: argument to 'sizeof' in 'strncat' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] BUILDSTDERR: strncat( patl, Entry.patl, sizeof( Entry.patl ) ); BUILDSTDERR: ^ BUILDSTDERR: unzoo.c: In function 'MakeDirs': BUILDSTDERR: unzoo.c:592:41: warning: '%s' directive writing up to 1023 bytes into a region of size 245 [-Wformat-overflow=] BUILDSTDERR: #define MAKE_DIRE(patl) (sprintf(Cmd,"/bin/mkdir %s",(patl)),!system(Cmd)) BUILDSTDERR: ^~~~~~~~~~~~~~~ ~~~~~~ BUILDSTDERR: unzoo.c:1242:9: note: in expansion of macro 'MAKE_DIRE' BUILDSTDERR: MAKE_DIRE( patl ); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from unzoo.c:249: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 1035 bytes into a destination of size 256 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ve1SQC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/unzoo-4.4-23.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/unzoo-4.4-23.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/unzoo-4.4-23.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/unzoo-4.4-23.fc30.riscv64 + cd unzoo-4.4 + rm -rf /builddir/build/BUILDROOT/unzoo-4.4-23.fc30.riscv64 + install -Dpm 755 unzoo /builddir/build/BUILDROOT/unzoo-4.4-23.fc30.riscv64/usr/bin/unzoo + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.4-23.fc30 --unique-debug-suffix -4.4-23.fc30.riscv64 --unique-debug-src-base unzoo-4.4-23.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/unzoo-4.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/unzoo-4.4-23.fc30.riscv64/usr/bin/unzoo extracting debug info from /builddir/build/BUILDROOT/unzoo-4.4-23.fc30.riscv64/usr/bin/unzoo /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 228 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /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 Processing files: unzoo-4.4-23.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0Sp6n8 + umask 022 + cd /builddir/build/BUILD + cd unzoo-4.4 + DOCDIR=/builddir/build/BUILDROOT/unzoo-4.4-23.fc30.riscv64/usr/share/doc/unzoo + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/unzoo-4.4-23.fc30.riscv64/usr/share/doc/unzoo + cp -pr unzoo.txt /builddir/build/BUILDROOT/unzoo-4.4-23.fc30.riscv64/usr/share/doc/unzoo + exit 0 Provides: unzoo = 4.4-23.fc30 unzoo(riscv-64) = 4.4-23.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: 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) rtld(GNU_HASH) Processing files: unzoo-debugsource-4.4-23.fc30.riscv64 Provides: unzoo-debugsource = 4.4-23.fc30 unzoo-debugsource(riscv-64) = 4.4-23.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: unzoo-debuginfo-4.4-23.fc30.riscv64 Provides: debuginfo(build-id) = 171afd29f263cf92620fe96683bdc209c2c39091 unzoo-debuginfo = 4.4-23.fc30 unzoo-debuginfo(riscv-64) = 4.4-23.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: unzoo-debugsource(riscv-64) = 4.4-23.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/unzoo-4.4-23.fc30.riscv64 Wrote: /builddir/build/RPMS/unzoo-4.4-23.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/unzoo-debugsource-4.4-23.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/unzoo-debuginfo-4.4-23.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9O3OyF + umask 022 + cd /builddir/build/BUILD + cd unzoo-4.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/unzoo-4.4-23.fc30.riscv64 + exit 0 Child return code was: 0